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

ActionField776

Beschrijving: Change status of PurchaseRequestLine to Delivered. Custom: Nee

Propertiesbewerken

Property Type Accessor
PurchaseRequestLine PurchaseRequestLine Root

XMLbewerken

<Workflow Name="ActionField776" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of PurchaseRequestLine to Delivered.</Description>
	<Properties>
		<Property	Name="PurchaseRequestLine"	Type="PurchaseRequestLine"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="Not already delivered" Condition="${PurchaseRequestLine.Status} != PurchaseRequestLineStatus.Delivered" MessageCode="1580">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${PurchaseRequestLine}" />
		</Validation>

		<ContinuationQuestion Name="Are you sure" MessageCode="1565">
			<Parameter	Name="PurchaseRequestLine"	Direction="In"		Value="${PurchaseRequestLine}" />
		</ContinuationQuestion>

		<Transaction>
			<ChangeStatus Name="Set Delivered" DomainObject="${PurchaseRequestLine}" NewStatus="PurchaseRequestLineStatus.Delivered" />
		</Transaction>

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