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

ActionField361

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

Propertiesbewerken

Property Type Accessor
Invoice Invoice Root

XMLbewerken

<Workflow Name="ActionField361" 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 ApprovedNoPurchase (status must be CreatedNoPurchase).</Description>
	<Properties>
		<Property	Name="Invoice"	Type="Invoice"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

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

		<WorkflowCall Name="Invoice approve" WorkflowName="Invoice_Approve">
			<Parameter	Name="Invoice"	Direction="In"		Value="${Invoice}" />
		</WorkflowCall>

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