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

ActionField1892

Beschrijving: Set Cost Center for Purchase Order to be the same as the Cost Center of the Applicant Custom: Nee

Propertiesbewerken

Property Type Accessor
Purchase Purchase Root

XMLbewerken

<Workflow Name="ActionField1892" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Set Cost Center for Purchase Order to be the same as the Cost Center of the Applicant</Description>
	<Properties>
		<Property	Name="Purchase"	Type="Purchase"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<When Name="Purchase has Applicant" Condition="${Purchase.RequestEmployee} != Empty">
				<Assign Name="Set Cost Center" Property="${Purchase.CostCenter}" Value="${Purchase.RequestEmployee.CostCenter}" />
			</When>
		</Transaction>

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