Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1074
ActionField1074
Beschrijving: Copy raise percentages and create ObjectBatch(es) for JobMaterial. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| JobMaterial | JobMaterial | Root |
| RecalculateInvoiceCostOnPrecalculation | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField1074" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copy raise percentages and create ObjectBatch(es) for JobMaterial.</Description>
<Properties>
<Property Name="JobMaterial" Type="JobMaterial" Accessor="Root" Direction="In" />
<Property Name="RecalculateInvoiceCostOnPrecalculation" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="This property indicates (when true) that invoicing costs should be calculated again" />
<Property Name="ArticleSite" Type="ArticleSite" Accessor="Internal" />
<Property Name="ArticleWarehouse" Type="ArticleWarehouse" Accessor="Internal" />
<Property Name="ArticleWarehouseLocations" Type="List[ArticleWarehouseLocation]" Accessor="Internal" />
<Property Name="ArticleWarehouses" Type="List[ArticleWarehouse]" Accessor="Internal" />
<Property Name="FoundWarehouseLocation" Type="WarehouseLocation" Accessor="Internal" />
<Property Name="ObjectBatchesToDelete" Type="List[ObjectBatch]" Accessor="Internal" />
<Property Name="OriginalJobMaterialWarehouse" Type="Warehouse" Accessor="Internal" Default="${JobMaterial.Warehouse}" />
<Property Name="PurchasePrice" Type="CompanyMoney" Accessor="Internal" Default="CompanyMoney.Zero" />
<Property Name="WhereClause" Type="UltimoString" Accessor="Internal" Default="ArtsArtId = '${JobMaterial.Article.Id?}'" />
</Properties>
<Settings>
<SettingsGroup Name="ObjectBatch">
<Setting Name="UpdateDomainObjectQuantityAfterDelete" Type="Boolean" Value="False" />
</SettingsGroup>
</Settings>
<Execution>
<UserContent Name="Pre" />
<Comment><![CDATA[ this actionfield fires when changing the article on the jobmaterial: a recalculation of planned and invoice costs is required.
The planned quantity nor the invoice quantity should be modified ]]></Comment>
<WorkflowCall Name="JobMaterial_SetDefaults" WorkflowName="JobMaterial_SetDefaults">
<Parameter Name="JobMaterial" Direction="In" Value="${JobMaterial}" />
<Parameter Name="RecalculateInvoiceCostOnPrecalculation" Direction="In" Value="${RecalculateInvoiceCostOnPrecalculation}" />
<Parameter Name="ArticleSite" Direction="InOut" Value="${ArticleSite}" OutputProperty="${ArticleSite}" />
<Parameter Name="ArticleWarehouse" Direction="InOut" Value="${ArticleWarehouse}" OutputProperty="${ArticleWarehouse}" />
<Parameter Name="ArticleWarehouseLocations" Direction="InOut" Value="${ArticleWarehouseLocations}" OutputProperty="${ArticleWarehouseLocations}" />
<Parameter Name="ArticleWarehouses" Direction="InOut" Value="${ArticleWarehouses}" OutputProperty="${ArticleWarehouses}" />
<Parameter Name="FoundWarehouseLocation" Direction="InOut" Value="${FoundWarehouseLocation}" OutputProperty="${FoundWarehouseLocation}" />
<Parameter Name="ObjectBatchesToDelete" Direction="InOut" Value="${ObjectBatchesToDelete}" OutputProperty="${ObjectBatchesToDelete}" />
<Parameter Name="OriginalJobMaterialWarehouse" Direction="InOut" Value="${OriginalJobMaterialWarehouse}" OutputProperty="${OriginalJobMaterialWarehouse}" />
<Parameter Name="PurchasePrice" Direction="InOut" Value="${PurchasePrice}" OutputProperty="${PurchasePrice}" />
<Parameter Name="WhereClause" Direction="InOut" Value="${WhereClause}" OutputProperty="${WhereClause}" />
</WorkflowCall>
<UserContent Name="Post" />
</Execution>
</Workflow>