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

ActionField420

Beschrijving: Create CreateInvoiceLine (with status CreatedNoPurchase or CreditCreatedNoPurchase) for Invoice. Custom: Nee

Propertiesbewerken

Property Type Accessor
Invoice Invoice Root
FormName UltimoString Optional

XMLbewerken

<Workflow Name="ActionField420" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create CreateInvoiceLine (with status CreatedNoPurchase or CreditCreatedNoPurchase) for Invoice.</Description>
	<Properties>
		<Property	Name="Invoice"			Type="Invoice"		Accessor="Root"		Direction="In" />

		<Property	Name="FormName"			Type="UltimoString"	Accessor="Optional"	Direction="In"		Comment="Open this screen with the created InvoiceLine" />

		<Property	Name="NewInvoiceLine"	Type="InvoiceLine"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<WorkflowCall Name="Create InvoiceLine" WorkflowName="Invoice_CreateInvoiceLineNoPurchase">
				<Parameter	Name="Invoice"		Direction="In"		Value="${Invoice}" />
				<Parameter	Name="InvoiceLine"	Direction="Out"							OutputProperty="${NewInvoiceLine}" />
			</WorkflowCall>
		</Transaction>

		<UserContent Name="Post" />

		<View Name="OpenScreen" ViewName="DataEntryScreen">
			<Parameter	Name="DomainObject"			Direction="In"		Value="${NewInvoiceLine}" />
			<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${NewInvoiceLine.Description} == Empty" />
			<Parameter	Name="ScreenName"			Direction="In"		Value="${FormName}" />
		</View>
	</Execution>
</Workflow>