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

ActionField363

Beschrijving: Change status of Invoice(Lines) to CreditApprovedNoPurchase (status must be CreditCreatedNoPurchase). Custom: Nee

Propertiesbewerken

Property Type Accessor
Invoice Invoice Root

XMLbewerken

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

		<Validation Name="StatusValidation" Condition="${Invoice.Status} == InvoiceStatus.CreditCreatedNoPurchase" MessageCode="0410">
			<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>