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

ActionField232

Beschrijving: Change status of Purchase via dialog. Custom: Nee

Propertiesbewerken

Property Type Accessor
Purchase Purchase Root

XMLbewerken

<Workflow Name="ActionField232" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of Purchase via dialog.</Description>
	<Properties>
		<Property	Name="Purchase"	Type="Purchase"	Accessor="Root"		Direction="In" />

		<Property	Name="Status"	Type="Status"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="StatusDialog" WorkflowName="Dialog_ChooseStatus">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${Purchase}" />
			<Parameter	Name="Status"		Direction="Out"							OutputProperty="${Status}" />
		</WorkflowCall>

		<UserContent Name="AfterDialog" />

		<Transaction>
			<ChangeStatus Name="ChangePurchaseStatus" DomainObject="${Purchase}" NewStatus="${Status}" />
		</Transaction>

		<UserContent Name="Post" />

		<Message Name="ChangedStatusMessage" MessageCode="0595">
			<Parameter	Name="Purchase"	Direction="In"		Value="${Purchase}" />
		</Message>
	</Execution>
</Workflow>