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

ActionField392

Beschrijving: Change status of ReservationLine to Created (status must be Reserved and ReservationType must be Manually). Custom: Nee

Propertiesbewerken

Property Type Accessor
ReservationLine ReservationLine Root

XMLbewerken

<Workflow Name="ActionField392" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of ReservationLine to Created (status must be Reserved and ReservationType must be Manually).</Description>
	<Properties>
		<Property	Name="ReservationLine"	Type="ReservationLine"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="Status validation" Condition="${ReservationLine.Status} == ReservationLineStatus.Reserved" MessageCode="0104">
			<Parameter	Name="ReservationLine"	Direction="In"		Value="${ReservationLine}" />
		</Validation>
		<Validation Name="TypeValidation" Condition="${ReservationLine.ReservationType} == Manually" MessageCode="0105">
			<Parameter	Name="ReservationLine"	Direction="In"		Value="${ReservationLine}" />
		</Validation>
		<Validation Name="ObjectTypeValidation" Condition="${ReservationLine.ReservableObject.Equipment} != Empty" MessageCode="0761">
			<Parameter	Name="ReservationLine"	Direction="In"		Value="${ReservationLine}" />
		</Validation>

		<Transaction>
			<ChangeStatus Name="StatusToDefinitive" DomainObject="${ReservationLine}" NewStatus="ReservationLineStatus.Created" />
		</Transaction>

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