Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield269
ActionField269
Beschrijving: Delete EmployeeLabour, and open Employee screen. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| EmployeeLabour | EmployeeLabour | Root |
| FormName | UltimoString | Optional |
XMLbewerken
<Workflow Name="ActionField269" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Delete EmployeeLabour, and open Employee screen.</Description>
<Properties>
<Property Name="EmployeeLabour" Type="EmployeeLabour" Accessor="Root" Direction="In" />
<Property Name="FormName" Type="UltimoString" Accessor="Optional" Direction="In" Default="EMP02" Comment="Open this screen with the Employee" />
<Property Name="Employee" Type="Employee" Accessor="Internal" Default="${EmployeeLabour.Id.Employee}" />
<Property Name="EmployeeLabourWeek" Type="WeekOfYear" Accessor="Internal" Default="${EmployeeLabour.Id.Week}" />
<Property Name="RowsRemaining" Type="Boolean" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="UserIsSuperCheck » UserIsSuperIsTrue" Condition="#{User.IsSuper} != True">
<Validation Name="UserValidation" Condition="${EmployeeLabour.Id.Employee.Id} == #{User.EmployeeId}" MessageCode="0416">
<Parameter Name="EmployeeLabour" Direction="In" Value="${EmployeeLabour}" />
</Validation>
</When>
<Transaction>
<DeleteObject Name="Delete employee labour" DomainObject="${EmployeeLabour}" />
</Transaction>
<Message Name="ummEMPLABOURDELETED" MessageCode="0596">
<Parameter Name="Employee" Direction="In" Value="${Employee}" />
<Parameter Name="EmployeeLabourWeek" Direction="In" Value="${EmployeeLabourWeek}" />
</Message>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${Employee}" />
<Parameter Name="ScreenName" Direction="In" Value="${FormName}" />
</View>
</Execution>
</Workflow>