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

ActionField362

Beschrijving: Change status of Invoice(Lines) to CreatedNoPurchase (status must be ApprovedNoPurchase). Custom: Nee

Propertiesbewerken

Property Type Accessor
Invoice Invoice Root

XMLbewerken

<Workflow Name="ActionField362" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of Invoice(Lines) to CreatedNoPurchase (status must be ApprovedNoPurchase).</Description>
	<Properties>
		<Property	Name="Invoice"	Type="Invoice"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Validation Name="StatusValidation" Condition="${Invoice.Status} == InvoiceStatus.ApprovedNoPurchase" MessageCode="0405">
				<Parameter	Name="Invoice"	Direction="In"		Value="${Invoice}" />
			</Validation>

			<ChangeStatus Name="ReOpen" DomainObject="${Invoice}" NewStatus="InvoiceStatus.CreatedNoPurchase" />
		</Transaction>

		<UserContent Name="Post" />

		<Message Name="MsgOk" MessageCode="0406">
			<Parameter	Name="Invoice"	Direction="In"		Value="${Invoice}" />
		</Message>
	</Execution>
</Workflow>