Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1069
ActionField1069
Beschrijving: Copy sum(QuantityIn) and sum(QuantityOut) from ObjectBatch naar JobMaterial. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ObjectBatch | ObjectBatch | Root |
XMLbewerken
<Workflow Name="ActionField1069" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copy sum(QuantityIn) and sum(QuantityOut) from ObjectBatch naar JobMaterial.</Description>
<Properties>
<Property Name="ObjectBatch" Type="ObjectBatch" Accessor="Root" Direction="In" />
<Property Name="BatchWarehouseLocation" Type="BatchWarehouseLocation" Accessor="Internal" />
<Property Name="ObjectBatchQuantityOutUpdated" Type="Boolean" Accessor="Internal" Default="False" />
<Property Name="OriginalQuantityOut" Type="Decimal" Accessor="Internal" Default="${ObjectBatch.QuantityOut}" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="ActionField1069_ObjectBatch_UpdateDomainObject" WorkflowName="ObjectBatch_UpdateDomainObject">
<Parameter Name="ObjectBatch" Direction="In" Value="${ObjectBatch}" />
<Parameter Name="BatchWarehouseLocation" Direction="Out" OutputProperty="${BatchWarehouseLocation}" />
<Parameter Name="ObjectBatchQuantityOutUpdated" Direction="Out" OutputProperty="${ObjectBatchQuantityOutUpdated}" />
<Parameter Name="OriginalQuantityOut" Direction="Out" OutputProperty="${OriginalQuantityOut}" />
</WorkflowCall>
<When Name="ObjectBatch QuantityOut Updated" Condition="${ObjectBatchQuantityOutUpdated} == True">
<Message Name="ObjectBatch QtyOut GreaterThen BatchWarehouseLocation Qty" MessageCode="2160">
<Parameter Name="BatchWarehouseLocation" Direction="In" Value="${BatchWarehouseLocation}" />
<Parameter Name="ObjectBatch" Direction="In" Value="${ObjectBatch}" />
<Parameter Name="OriginalQuantityOut" Direction="In" Value="${OriginalQuantityOut}" />
</Message>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>