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

ActionField775

Beschrijving: Change status of PurchaseRequest to Delivered. When Settings.PurchaseRequest.CloseOnDelivered is true, change status to Closed. Custom: Nee

Propertiesbewerken

Property Type Accessor
PurchaseRequest PurchaseRequest Root

XMLbewerken

<Workflow Name="ActionField775" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of PurchaseRequest to Delivered. When Settings.PurchaseRequest.CloseOnDelivered is true, change status to Closed.</Description>
	<Properties>
		<Property	Name="PurchaseRequest"	Type="PurchaseRequest"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

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

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

		<WorkflowCall Name="PurchaseRequest_Deliver" WorkflowName="PurchaseRequest_Deliver">
			<Parameter	Name="PurchaseRequest"	Direction="In"		Value="${PurchaseRequest}" />
		</WorkflowCall>

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