Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield312
ActionField312
Beschrijving: Create a LabourWeek(EmployeeLabour) for the Employee (where weeknumber is last week in EmployeeLabour + 1). Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Employee | Employee | Root |
XMLbewerken
<Workflow Name="ActionField312" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create a LabourWeek(EmployeeLabour) for the Employee (where weeknumber is last week in EmployeeLabour + 1).</Description>
<Properties>
<Property Name="Employee" Type="Employee" Accessor="Root" Direction="In" />
<Property Name="CreateMethod" Type="EmployeeLabourWeekCreateMethod" Accessor="Internal" Default="Standard" />
<Property Name="DomainGlobals" Type="DomainGlobals" Accessor="Internal" Default="#{UltimoSettings.Id}" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="Check company employee" Condition="${Employee.SystemCompany} == #{Company}" MessageCode="3017">
<Parameter Name="Employee" Direction="In" Value="${Employee}" />
</Validation>
<Transaction>
<Command Name="Determine Week To Create" CommandName="Employee_DetermineWeekToCreate">
<Parameter Name="Employee" Direction="InOut" Value="${Employee}" OutputProperty="${Employee}" />
</Command>
<Validation Name="Check LastClosedWeek" Condition="${DomainGlobals.LastClosedWeek} < ${Employee.CurrentWeek}" MessageCode="0383">
<Parameter Name="Employee" Direction="In" Value="${Employee}" />
</Validation>
<WorkflowCall Name="Create Labour Week" WorkflowName="Employee_CreateLabourWeek">
<Parameter Name="CreateMethod" Direction="In" Value="${CreateMethod}" />
<Parameter Name="Employee" Direction="In" Value="${Employee}" />
</WorkflowCall>
</Transaction>
<Message Name="ummEMPWEEKCREATED" MessageCode="0385">
<Parameter Name="Employee" Direction="In" Value="${Employee}" />
</Message>
<UserContent Name="Post" />
</Execution>
</Workflow>