Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield768
ActionField768
Beschrijving: Updates PmWorkOrder next maintenance date (ManualNextMaintDate) with the date entered via dialog by the user. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| PmWorkOrder | PmWorkOrder | Root |
XMLbewerken
<Workflow Name="ActionField768" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Updates PmWorkOrder next maintenance date (ManualNextMaintDate) with the date entered via dialog by the user.</Description>
<Properties>
<Property Name="PmWorkOrder" Type="PmWorkOrder" Accessor="Root" Direction="In" />
<Property Name="NewManualNextMaintDate" Type="Date?" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Dialog Name="AskForManualNextMaintenanceDateDialog" TitleCode="SELECTDATE">
<Container>
<Date Name="ManualNextMaintenanceDate" OutputProperty="${NewManualNextMaintDate}" LabelCode="DATE" MinValue="1650-01-01" MaxValue="2999-01-01" />
</Container>
</Dialog>
<When Name="CheckNewManualNextMaintenanceDate" Condition="${NewManualNextMaintDate} != Empty && ${PmWorkOrder.Equipment.LastPmMaintenanceDate} != Empty && ${NewManualNextMaintDate} <= ${PmWorkOrder.Equipment.LastPmMaintenanceDate}">
<ContinuationQuestion Name="AskToContinue" MessageCode="1587" Default="No">
<Parameter Name="Equipment" Direction="In" Value="${PmWorkOrder.Equipment}" />
</ContinuationQuestion>
</When>
<Transaction>
<WorkflowCall Name="PmWorkOrder_UpdatePmwManualNextMaintDate" WorkflowName="PmWorkOrder_UpdatePmwManualNextMaintDate">
<Parameter Name="ManualNextMaintDate" Direction="In" Value="${NewManualNextMaintDate}" />
<Parameter Name="PmWorkOrder" Direction="In" Value="${PmWorkOrder}" />
</WorkflowCall>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>