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

ActionField1873

Beschrijving: Set the Department and CostCenter on the PmWorkOrder from the Process Function linked to the PmWorkOrder. Custom: Nee

Propertiesbewerken

Property Type Accessor
PmWorkOrder PmWorkOrder Root

XMLbewerken

<Workflow Name="ActionField1873" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Set the Department and CostCenter on the PmWorkOrder from the Process Function linked to the PmWorkOrder.</Description>
	<Properties>
		<Property	Name="PmWorkOrder"	Type="PmWorkOrder"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<When Name="Set the Department and CostCenter on the PmWorkOrder from the linked ProcessFunction" Condition="#{UltimoSettings.CostCenterFindMethod} == CostCenterProcessFunctionAfterEquipment || #{UltimoSettings.CostCenterFindMethod} == CostCenterProcessFunctionAfterWorkOrderEquipment || #{UltimoSettings.DepartmentFindMethod} == DepartmentProcessFunctionAfterEquipment || #{UltimoSettings.DepartmentFindMethod} == DepartmentProcessFunctionAfterWorkOrderEquipment">
				<Command Name="PmWorkOrder_FindDepartmentCostCenter" CommandName="PmWorkOrder_FindDepartmentCostCenter">
					<Parameter	Name="PmWorkOrder"	Direction="In"		Value="${PmWorkOrder}" />
				</Command>
			</When>
		</Transaction>

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