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

ActionField432

Beschrijving: Create PmJobPurchaseRequestLine for this PmJob. Custom: Nee

Propertiesbewerken

Property Type Accessor
PmJob PmJob Root
Context Context Optional
FormName UltimoString Optional

XMLbewerken

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

		<Property	Name="Context"					Type="Context"					Accessor="Optional"	Direction="In"		Default="0"	Comment="Create PmJobPurchaseRequestLine with this context" />
		<Property	Name="FormName"					Type="UltimoString"				Accessor="Optional"	Direction="In"					Comment="Open this screen with the created PmJobPurchaseRequestLine" />

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

		<Validation Name="PmJob Status Validation" Condition="${PmJob.Status} == PmJobStatus.Created" MessageCode="0642">
			<Parameter	Name="PmJob"	Direction="In"		Value="${PmJob}" />
		</Validation>

		<Transaction>
			<Command Name="Create PurchaseRequestLine" CommandName="PmJobPurchaseRequestLine_Create">
				<Parameter	Name="Context"					Direction="In"		Value="${Context}" />
				<Parameter	Name="PmJob"					Direction="In"		Value="${PmJob}" />
				<Parameter	Name="PmJobPurchaseRequestLine"	Direction="Out"							OutputProperty="${PmJobPurchaseRequestLine}" />
			</Command>
		</Transaction>

		<UserContent Name="Post" />

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