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

ActionField594

Beschrijving: Create RequestForQuotation linked to PurchaseRequest. Custom: Nee

Propertiesbewerken

Property Type Accessor
PurchaseRequest PurchaseRequest Root
FormName UltimoString Optional

XMLbewerken

<Workflow Name="ActionField594" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create RequestForQuotation linked to PurchaseRequest.</Description>
	<Properties>
		<Property	Name="PurchaseRequest"		Type="PurchaseRequest"		Accessor="Root"		Direction="In" />

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

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

		<Transaction>
			<Insert Name="InsertRequestForQuotation" ObjectType="RequestForQuotation" OutputProperty="${RequestForQuotation}">
				<Parameter	Name="Context"			Direction="In"		Value="1" />
				<Parameter	Name="Status"			Direction="In"		Value="RequestForQuotationStatus.Concept" />
				<Parameter	Name="ConceptDate"		Direction="In"		Value="#{Environment.CurrentDateTime}" />
				<Parameter	Name="ConceptEmployee"	Direction="In"		Value="#{User.EmployeeId}" />
				<Parameter	Name="PurchaseRequest"	Direction="In"		Value="${PurchaseRequest}" />
				<Parameter	Name="Site"				Direction="In"		Value="${PurchaseRequest.Site}" />
			</Insert>
		</Transaction>

		<UserContent Name="Post" />

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