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

ActionField240

Beschrijving: Approve all JobMaterial records with status Created linked to this Job. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root

XMLbewerken

<Workflow Name="ActionField240" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Approve all JobMaterial records with status Created linked to this Job.</Description>
	<Properties>
		<Property	Name="Job"						Type="Job"		Accessor="Root"		Direction="In" />

		<Property	Name="CountApprovedJobMaterial"	Type="Int64"	Accessor="Internal"						Default="0" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Job_ApproveJobMaterials" WorkflowName="Job_ApproveJobMaterials">
			<Parameter	Name="Job"						Direction="In"		Value="${Job}" />
			<Parameter	Name="CountApprovedJobMaterial"	Direction="Out"						OutputProperty="${CountApprovedJobMaterial}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<Message Name="JobMaterialsApproved" MessageCode="0198">
			<Parameter	Name="CountApprovedJobMaterial"	Direction="In"		Value="${CountApprovedJobMaterial}" />
			<Parameter	Name="JobMaterial"				Direction="In"		Value="=#elementat(${Job.Materials}, 0)" />
		</Message>
	</Execution>
</Workflow>