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

ActionField167

Beschrijving: Check if Employee is authorized to open EmployeeLabour screen. Custom: Nee

Propertiesbewerken

Property Type Accessor
EmployeeLabour EmployeeLabour Root

XMLbewerken

<Workflow Name="ActionField167" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Check if Employee is authorized to open EmployeeLabour screen.</Description>
	<Properties>
		<Property	Name="EmployeeLabour"	Type="EmployeeLabour"	Accessor="Root"		Direction="In" />

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

		<Transaction>
			<Command Name="EmployeeLabourIsAuthorized" CommandName="EmployeeLabour_Authorized">
				<Parameter	Name="EmployeeLabour"	Direction="In"		Value="${EmployeeLabour}" />
				<Parameter	Name="Authorized"		Direction="Out"									OutputProperty="${Authorized}" />
			</Command>
		</Transaction>

		<Validation Name="AuthorizedIsFalse" Condition="${Authorized} == True" MessageCode="0318">
			<Parameter	Name="CurrentUser"		Direction="In"		Value="#{User}" />
			<Parameter	Name="EmployeeLabour"	Direction="In"		Value="${EmployeeLabour}" />
		</Validation>

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