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

ActionField073

Beschrijving: Change status on InvoiceLine (status must not be Invoiced). New status is asked using a dialog. Custom: Nee

Propertiesbewerken

Property Type Accessor
InvoiceLine InvoiceLine Root

XMLbewerken

<Workflow Name="ActionField073" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status on InvoiceLine (status must not be Invoiced). New status is asked using a dialog.</Description>
	<Properties>
		<Property	Name="InvoiceLine"			Type="InvoiceLine"	Accessor="Root"		Direction="In" />

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

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

		<WorkflowCall Name="Choose invoiceline status" WorkflowName="Dialog_ChooseStatus">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${InvoiceLine}" />
			<Parameter	Name="Status"		Direction="Out"								OutputProperty="${InvoiceLineStatus}" />
		</WorkflowCall>

		<UserContent Name="AfterDialog" />

		<Transaction>
			<ChangeStatus Name="Change InvoiceLineStatus" DomainObject="${InvoiceLine}" NewStatus="${InvoiceLineStatus}" />
		</Transaction>

		<UserContent Name="Post" />

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