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

ActionField1791

Beschrijving: Fill PmJobTool.Tariff from ToolsPrice.Tariff. Custom: Nee

Propertiesbewerken

Property Type Accessor
PmJobTool PmJobTool Root

XMLbewerken

<Workflow Name="ActionField1791" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Fill PmJobTool.Tariff from ToolsPrice.Tariff.</Description>
	<Properties>
		<Property	Name="PmJobTool"	Type="PmJobTool"	Accessor="Root"		Direction="In" />

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

		<Transaction>
			<GetItem Name="ToolsPrice" Type="ToolsPrice" OutputProperty="${ToolsPrice}">
				<Filters>
					<PropertyFilter	PropertyName="Tools"			Operator="="		PropertyValue="${PmJobTool.Tool}" />
					<PropertyFilter	PropertyName="SystemCompany"	Operator="="		PropertyValue="#{Company}" />
				</Filters>
			</GetItem>
		</Transaction>

		<Transaction>
			<When Name="ToolsPrice found" Condition="${ToolsPrice} != Empty">
				<Assign Name="Set PmJobTool.Tariff" Property="${PmJobTool.Tariff}" Value="${ToolsPrice.Tariff}" />
			</When>
		</Transaction>

		<UserContent Name="Post" />
	</Execution>
</Workflow>