Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1789
ActionField1789
Beschrijving: Creates/updates a ToolsPrice record for selected tool. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Tool | Tool | Root |
XMLbewerken
<Workflow Name="ActionField1789" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Creates/updates a ToolsPrice record for selected tool.</Description>
<Properties>
<Property Name="Tool" Type="Tool" Accessor="Root" Direction="In" />
<Property Name="Tariff" Type="CompanyMoney" Accessor="Internal" />
<Property Name="ToolsPrice" Type="ToolsPrice" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetItem Name="ToolsPrice" Type="ToolsPrice" OutputProperty="${ToolsPrice}">
<Filters>
<PropertyFilter PropertyName="Tools" Operator="=" PropertyValue="${Tool}" />
<PropertyFilter PropertyName="SystemCompany" Operator="=" PropertyValue="#{Company}" />
</Filters>
</GetItem>
</Transaction>
<When Name="ToolsPrice found" Condition="${ToolsPrice} != Empty">
<Assign Name="Set Tariff" Property="${Tariff}" Value="${ToolsPrice.Tariff}" />
</When>
<Dialog Name="ToolsTariff" TitleCode="CHANGE_HOURLY_RATE">
<Container>
<Number Name="Tariff" Value="${Tariff}" OutputProperty="${Tariff}" ColumnName="TlsPTariff" />
</Container>
</Dialog>
<Transaction>
<When Name="ToolsPrice not found" Condition="${ToolsPrice} == Empty">
<Insert Name="Insert ToolsPrice" ObjectType="ToolsPrice" OutputProperty="${ToolsPrice}">
<Parameter Name="Context" Direction="In" Value="ToolsPriceContext.Standard" />
<Parameter Name="Status" Direction="In" Value="ToolsPriceStatus.None" />
<Parameter Name="Tools" Direction="In" Value="${Tool}" />
</Insert>
</When>
<Assign Name="Set ToolsPrice.Tariff" Property="${ToolsPrice.Tariff}" Value="${Tariff}" />
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>