Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1025
ActionField1025
Beschrijving: Copy values of (ArticleVendor/ArticleSiteVendor) to all PriceMutationLines (only fields: OldArticleDiscount, OldArticlePrice, PurchaseUnitQuantity and Vendor) depending on priceMutationLine.Id.Article. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| PriceMutation | PriceMutation | Root |
XMLbewerken
<Workflow Name="ActionField1025" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copy values of (ArticleVendor/ArticleSiteVendor) to all PriceMutationLines (only fields: OldArticleDiscount, OldArticlePrice, PurchaseUnitQuantity and Vendor) depending on priceMutationLine.Id.Article.</Description>
<Properties>
<Property Name="PriceMutation" Type="PriceMutation" Accessor="Root" Direction="In" />
<Property Name="PriceMutationLines" Type="List[PriceMutationLine]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetList Name="Get all priceMutationLines" Type="PriceMutationLine" OutputProperty="${PriceMutationLines}" OrderBy="Id.PriceMutation.Id" OrderDirection="Ascending">
<Filters>
<PropertyFilter PropertyName="Id.PriceMutation" Operator="=" PropertyValue="${PriceMutation}" />
</Filters>
</GetList>
</Transaction>
<ForEach Name="Loop priceMutationLines" In="${PriceMutationLines}" As="PriceMutationLine">
<WorkflowCall Name="Copy values from ArticleVendor" WorkflowName="PriceMutationLine_SetValues">
<Parameter Name="PriceMutationLine" Direction="In" Value="${PriceMutationLine}" />
</WorkflowCall>
</ForEach>
<UserContent Name="Post" />
</Execution>
</Workflow>