Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1065
ActionField1065
Beschrijving: Create ObjectBatch(es) for WarehouseServeOutline (Correction) and copy raise percentages. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| WarehouseServeOutline | WarehouseServeOutline | Root |
XMLbewerken
<Workflow Name="ActionField1065" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create ObjectBatch(es) for WarehouseServeOutline (Correction) and copy raise percentages.</Description>
<Properties>
<Property Name="WarehouseServeOutline" Type="WarehouseServeOutline" Accessor="Root" Direction="In" />
<Property Name="ArticleSite" Type="ArticleSite" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Choose Name="check PurchasePricePerSite">
<When Name="PurchasePricePerSite is true" Condition="#{UltimoSettings.PurchasePricePerSite} == True">
<WorkflowCall Name="Article GetArticleSite" WorkflowName="Article_GetArticleSite">
<Parameter Name="Article" Direction="In" Value="${WarehouseServeOutline.Article}" />
<Parameter Name="Site" Direction="In" Value="${WarehouseServeOutline.Id.WarehouseServeOut.Site}" />
<Parameter Name="ArticleSite" Direction="Out" OutputProperty="${ArticleSite}" />
</WorkflowCall>
<Assign Name="Set RaisePercentage of warehouseserveoutline" Property="${WarehouseServeOutline.RaisePercentage}" Value="${ArticleSite.Raise.Percentage?}" />
<Choose Name="check Customer">
<When Name="customer not empty" Condition="${WarehouseServeOutline.Customer} != Empty">
<Assign Name="ChargeRaisePercentage set from external" Property="${WarehouseServeOutline.ChargeRaisePercentage}" Value="${ArticleSite.ChargeRaiseExternal.Percentage?}" />
</When>
<Otherwise Name="customer empty">
<Assign Name="ChargeRaisePercentage set from internal" Property="${WarehouseServeOutline.ChargeRaisePercentage}" Value="${ArticleSite.ChargeRaiseInternal.Percentage?}" />
</Otherwise>
</Choose>
</When>
<Otherwise Name="PurchasePricePerSite is False">
<Assign Name="Set RaisePercentage of warehouseserveoutline" Property="${WarehouseServeOutline.RaisePercentage}" Value="${WarehouseServeOutline.Article.Raise.Percentage?}" />
<Choose Name="check Customer">
<When Name="customer not empty" Condition="${WarehouseServeOutline.Customer} != Empty">
<Assign Name="ChargeRaisePercentage set from external" Property="${WarehouseServeOutline.ChargeRaisePercentage}" Value="${WarehouseServeOutline.Article.ChargeRaiseExternal.Percentage?}" />
</When>
<Otherwise Name="customer empty">
<Assign Name="ChargeRaisePercentage set from internal" Property="${WarehouseServeOutline.ChargeRaisePercentage}" Value="${WarehouseServeOutline.Article.ChargeRaiseInternal.Percentage?}" />
</Otherwise>
</Choose>
</Otherwise>
</Choose>
<WorkflowCall Name="WarehouseServeOutline_CleanUp" WorkflowName="WarehouseServeOutline_CleanUp">
<Parameter Name="WarehouseServeOutline" Direction="In" Value="${WarehouseServeOutline}" />
</WorkflowCall>
<WorkflowCall Name="WarehouseServeOutline_DeleteObjectBatches" WorkflowName="WarehouseServeOutline_DeleteObjectBatches">
<Parameter Name="WarehouseServeOutline" Direction="In" Value="${WarehouseServeOutline}" />
</WorkflowCall>
<WorkflowCall Name="WarehouseServeOutline_CreateObjectBatchForCorrection" WorkflowName="WarehouseServeOutline_CreateObjectBatchForCorrection">
<Parameter Name="WarehouseServeOutline" Direction="In" Value="${WarehouseServeOutline}" />
</WorkflowCall>
<WorkflowCall Name="WarehouseServeOutline_SetDefaultWarehouseLocation" WorkflowName="WarehouseServeOutline_SetDefaultWarehouseLocation">
<Parameter Name="WarehouseServeOutline" Direction="In" Value="${WarehouseServeOutline}" />
</WorkflowCall>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>