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

ActionField259

Beschrijving: Change status of JobExternal (status must not be Invoiced). New status is asked using a dialog. Custom: Nee

Propertiesbewerken

Property Type Accessor
JobExternal JobExternal Root

XMLbewerken

<Workflow Name="ActionField259" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of JobExternal (status must not be Invoiced). New status is asked using a dialog.</Description>
	<Properties>
		<Property	Name="JobExternal"			Type="JobExternal"	Accessor="Root"		Direction="In" />

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

		<Validation Name="Status OK?" Condition="${JobExternal.Status} != JobExternalStatus.Invoiced" MessageCode="0893" />

		<WorkflowCall Name="Choose jobexternal status" WorkflowName="Dialog_ChooseStatus">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${JobExternal}" />
			<Parameter	Name="Status"		Direction="Out"								OutputProperty="${JobExternalStatus}" />
		</WorkflowCall>

		<UserContent Name="AfterDialog" />

		<Transaction>
			<ChangeStatus Name="Change JobExternalStatus" DomainObject="${JobExternal}" NewStatus="${JobExternalStatus}" />
		</Transaction>

		<UserContent Name="Post" />

		<Message Name="ummINVOICEOUTLINE_STATUSCHANGED" MessageCode="0894" />
	</Execution>
</Workflow>