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

ActionField564

Beschrijving: Change status of ReservationLine via dialog (status may not be Invoiced). Custom: Nee

Propertiesbewerken

Property Type Accessor
ReservationLine ReservationLine Root

XMLbewerken

<Workflow Name="ActionField564" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of ReservationLine via dialog (status may not be Invoiced).</Description>
	<Properties>
		<Property	Name="ReservationLine"			Type="ReservationLine"	Accessor="Root"		Direction="In" />

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

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

		<WorkflowCall Name="Choose reservationline status" WorkflowName="Dialog_ChooseStatus">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${ReservationLine}" />
			<Parameter	Name="Status"		Direction="Out"									OutputProperty="${ReservationLineStatus}" />
		</WorkflowCall>

		<UserContent Name="AfterDialog" />

		<Transaction>
			<ChangeStatus Name="Change ReservationLineStatus" DomainObject="${ReservationLine}" NewStatus="${ReservationLineStatus}" />
		</Transaction>

		<UserContent Name="Post" />

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