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

ActionField1077

Beschrijving: Create ObjectBatch(es) for PickListLines and update reserve Quantity. Custom: Nee

Propertiesbewerken

Property Type Accessor
PickListLine PickListLine Root

XMLbewerken

<Workflow Name="ActionField1077" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create ObjectBatch(es) for PickListLines and update reserve Quantity.</Description>
	<Properties>
		<Property	Name="PickListLine"			Type="PickListLine"	Accessor="Root"		Direction="In" />

		<Property	Name="OriginalQuantityOut"	Type="Decimal"		Accessor="Internal"						Default="${PickListLine.Quantity}" />
		<Property	Name="TotalQuantity"		Type="Decimal"		Accessor="Internal" />
		<Property	Name="UpdatedQuantity"		Type="Boolean"		Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="PickListLine_UpdateQuantity" WorkflowName="PickListLine_UpdateQuantity">
			<Parameter	Name="PickListLine"		Direction="In"		Value="${PickListLine}" />
			<Parameter	Name="TotalQuantity"	Direction="Out"								OutputProperty="${TotalQuantity}" />
			<Parameter	Name="UpdatedQuantity"	Direction="Out"								OutputProperty="${UpdatedQuantity}" />
		</WorkflowCall>

		<When Name="To little" Condition="${UpdatedQuantity} == True">
			<Message Name="Changed Quantity Out" MessageCode="2069">
				<Parameter	Name="Article"				Direction="In"		Value="${PickListLine.Article}" />
				<Parameter	Name="AvailableQuantity"	Direction="In"		Value="${TotalQuantity}" />
				<Parameter	Name="WantedQuantity"		Direction="In"		Value="${OriginalQuantityOut}" />
			</Message>
		</When>

		<UserContent Name="Post" />
	</Execution>
</Workflow>