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

ActionField430

Beschrijving: Create PurchaseRequestLine for this Job. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
CalculateDeliveryDateMethod Int16 Optional
Context Context Optional
FormName UltimoString Optional
Status Status Optional

XMLbewerken

<Workflow Name="ActionField430" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create PurchaseRequestLine for this Job.</Description>
	<Properties>
		<Property	Name="Job"							Type="Job"					Accessor="Root"		Direction="In" />

		<Property	Name="CalculateDeliveryDateMethod"	Type="Int16"				Accessor="Optional"	Direction="In"		Default="2"										Comment="Create PurchaseRequestLine with this CalculateDeliveryDateMethod" />
		<Property	Name="Context"						Type="Context"				Accessor="Optional"	Direction="In"		Default="PurchaseRequestLineContext.Standard"	Comment="Create PurchaseRequestLine with this context" />
		<Property	Name="FormName"						Type="UltimoString"			Accessor="Optional"	Direction="In"														Comment="Open this screen with the created PurchaseRequestLine" />
		<Property	Name="Status"						Type="Status"				Accessor="Optional"	Direction="In"		Default="PurchaseRequestLineStatus.Requested"	Comment="Create PurchaseRequestLine with this status" />

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

		<When Name="Check UsePurchaseRequestWithHeader" Condition="#{UltimoSettings.UsePurchaseRequestWithHeader} == True">
			<Stop Name="Stop" Mode="EndCurrent" />
		</When>

		<WorkflowCall Name="Job_CreatePurchaseRequestLine" WorkflowName="Job_CreatePurchaseRequestLine">
			<Parameter	Name="CalculateDeliveryDateMethod"	Direction="In"		Value="${CalculateDeliveryDateMethod}" />
			<Parameter	Name="Context"						Direction="In"		Value="${Context}" />
			<Parameter	Name="Job"							Direction="In"		Value="${Job}" />
			<Parameter	Name="Status"						Direction="In"		Value="${Status}" />
			<Parameter	Name="PurchaseRequestLine"			Direction="Out"												OutputProperty="${PurchaseRequestLine}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<View Name="Open screen" ViewName="DataEntryScreen">
			<Parameter	Name="DomainObject"			Direction="In"		Value="${PurchaseRequestLine}" />
			<Parameter	Name="FocusEditableField"	Direction="In"		Value="True" />
			<Parameter	Name="ScreenName"			Direction="In"		Value="${FormName}" />
		</View>
	</Execution>
</Workflow>