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

ActionField223

Beschrijving: Change status of credit Invoice to CreditCreated (status must be CreditApproved). Custom: Nee

Propertiesbewerken

Property Type Accessor
Invoice Invoice Root

XMLbewerken

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

		<Transaction>
			<Validation Name="InvoiceStatus OK?" Condition="${Invoice.Status} == InvoiceStatus.CreditApproved" MessageCode="0740">
				<Parameter	Name="Invoice"	Direction="In"		Value="${Invoice}"	Comment="ummCREDINVOICENOTCREAT" />
			</Validation>

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

		<UserContent Name="Post" />

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