Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1061
ActionField1061
Beschrijving: When Article.RegisterStock is false, disable Article.InventoryMethod. Otherwise: copy Article.ArticleGroup.InventoryMethod into Article.InventoryMethod. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Article | Article | Root |
XMLbewerken
<Workflow Name="ActionField1061" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>When Article.RegisterStock is false, disable Article.InventoryMethod. Otherwise: copy Article.ArticleGroup.InventoryMethod into Article.InventoryMethod.</Description>
<Properties>
<Property Name="Article" Type="Article" Accessor="Root" Direction="In" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Choose Name="Check Article.RegisterStock">
<When Name="When false" Condition="${Article.RegisterStock} == False">
<Assign Name="Empty Article.InventoryMethod" Property="${Article.InventoryMethod}" Value="Empty" />
<Assign Name="set UseOwnInventoryMethod" Property="${Article.UseOwnInventoryMethod}" Value="False" />
</When>
<Otherwise Name="When true">
<Assign Name="Copy InventoryMethod from ArticleGroup" Property="${Article.InventoryMethod}" Value="${Article.ArticleGroup.InventoryMethod?}" />
</Otherwise>
</Choose>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>