Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield246
ActionField246
Beschrijving: Copy InspectionPlan to JobPlan. InspectionPlan is selected via collectinput. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| JobPlan | JobPlan | Root |
| InspectionPlanSqlWhereClause | String | Optional |
| LabelCode | String | Optional |
XMLbewerken
<Workflow Name="ActionField246" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copy InspectionPlan to JobPlan. InspectionPlan is selected via collectinput.</Description>
<Properties>
<Property Name="JobPlan" Type="JobPlan" Accessor="Root" Direction="In" />
<Property Name="InspectionPlanSqlWhereClause" Type="String" Accessor="Optional" Direction="In" Comment="Select only InspectionPlan with this whereclause" />
<Property Name="LabelCode" Type="String" Accessor="Optional" Direction="In" Default="SELECTINSPECTIONPLAN_CONTEXTSTANDARD" Comment="Labelcode for the CollectInputFormula InspectionPlan" />
<Property Name="DeleteJobPlanInspectionLines" Type="RequestResult" Accessor="Internal" Default="Yes" />
<Property Name="InspectionPlan" Type="InspectionPlan" Accessor="Internal" />
<Property Name="JobPlanHasInspectionLines" Type="Boolean" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="Check jobplan has inspectionlines » Jobplan has inspectionlines" Condition="${JobPlan.InspectionLines} != Empty">
<Question Name="ummDELJOBINSPLINES" Type="YesNoCancel" MessageCode="0256" OutputProperty="${DeleteJobPlanInspectionLines}" />
</When>
<Dialog Name="InspectionPlan" TitleCode="${LabelCode}">
<Container>
<SelectionList Name="InspectionPlan" OutputProperty="${InspectionPlan}" ColumnName="IspId" ViewfieldConfiguration="Default" Required="True" SqlWhereClause="${InspectionPlanSqlWhereClause}" />
</Container>
</Dialog>
<Transaction>
<Command Name="Copy inspectionplan to jobplan" CommandName="JobPlan_CopyInspectionPlan">
<Parameter Name="Delete" Direction="In" Value="${DeleteJobPlanInspectionLines}" />
<Parameter Name="InspectionPlan" Direction="In" Value="${InspectionPlan}" />
<Parameter Name="JobPlan" Direction="In" Value="${JobPlan}" />
</Command>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>