Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield1067

ActionField1067

Beschrijving: Copy sum(QuantityIn) and sum(QuantityOut) from ObjectBatch naar WarehouseServeOutLine. Custom: Nee

Propertiesbewerken

Property Type Accessor
ObjectBatch ObjectBatch Root

XMLbewerken

<Workflow Name="ActionField1067" 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 WarehouseServeOutLine.</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="ActionField1067_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="2153">
				<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>