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

ActionField094

Beschrijving: Create PurchaseLine with status Created. Custom: Nee

Propertiesbewerken

Property Type Accessor
Purchase Purchase Root
FormName UltimoString Optional

XMLbewerken

<Workflow Name="ActionField094" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create PurchaseLine with status Created.</Description>
	<Properties>
		<Property	Name="Purchase"		Type="Purchase"		Accessor="Root"		Direction="In" />

		<Property	Name="FormName"		Type="UltimoString"	Accessor="Optional"	Direction="In"		Default="pchl01"	Comment="Open this screen after the PurchaseLine is created" />

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

		<WorkflowCall Name="Purchase_CreatePurchaseLine" WorkflowName="Purchase_CreatePurchaseLine">
			<Parameter	Name="Purchase"		Direction="In"		Value="${Purchase}" />
			<Parameter	Name="PurchaseLine"	Direction="Out"							OutputProperty="${PurchaseLine}" />
		</WorkflowCall>

		<UserContent Name="Post" />

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