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

ActionField110

Beschrijving: Adjust the quantity expected to be received for all PurchaseLines of a Purchase (status must be Active or PartReceived). Custom: Nee

Propertiesbewerken

Property Type Accessor
Purchase Purchase Root

XMLbewerken

<Workflow Name="ActionField110" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Adjust the quantity expected to be received for all PurchaseLines of a Purchase (status must be Active or PartReceived).</Description>
	<Properties>
		<Property	Name="Purchase"	Type="Purchase"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="Status validation" Condition="${Purchase.Status} == PurchaseStatus.Active || ${Purchase.Status} == PurchaseStatus.PartReceived" MessageCode="0575">
			<Parameter	Name="Purchase"	Direction="In"		Value="${Purchase}" />
		</Validation>

		<Transaction>
			<WorkflowCall Name="Adjust purchase" WorkflowName="Purchase_Adjust">
				<Parameter	Name="Purchase"		Direction="In"		Value="${Purchase}" />
				<Parameter	Name="ReceiveAll"	Direction="In"		Value="False" />
			</WorkflowCall>
		</Transaction>

		<UserContent Name="Post" />

		<Message Name="purchase adjusted" MessageCode="0576">
			<Parameter	Name="Purchase"	Direction="In"		Value="${Purchase}" />
		</Message>
	</Execution>
</Workflow>