Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield791
ActionField791
Beschrijving: Generate PickList(Lines) for PickListRun. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| PickListRun | PickListRun | Root |
XMLbewerken
<Workflow Name="ActionField791" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Generate PickList(Lines) for PickListRun.</Description>
<Properties>
<Property Name="PickListRun" Type="PickListRun" Accessor="Root" Direction="In" />
<Property Name="Count" Type="Int64" Accessor="Internal" Default="0" />
<Property Name="EndDate" Type="Date" Accessor="Internal" />
<Property Name="PickLists" Type="List[PickList]" Accessor="Internal" />
<Property Name="StartDate" Type="Date?" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="When stock registered per site" Condition="#{UltimoSettings.StockLevelPerSite} == True">
<Validation Name="ValidateSiteIdenticalAndNotEmpty" Condition="${PickListRun.Site} != Empty && ${PickListRun.Site} == ${PickListRun.Warehouse.Site}" MessageCode="2070">
<Parameter Name="PickListRun" Direction="In" Value="${PickListRun}" />
</Validation>
</When>
<WorkflowCall Name="PickList_CheckOpenPickListsOnOtherPickListRun" WorkflowName="PickList_CheckOpenPickListsOnOtherPickListRun">
<Parameter Name="PickListRun" Direction="In" Value="${PickListRun}" />
<Parameter Name="EndDate" Direction="Out" OutputProperty="${EndDate}" />
<Parameter Name="StartDate" Direction="Out" OutputProperty="${StartDate}" />
</WorkflowCall>
<WorkflowCall Name="PickListRun_GeneratePickLists" WorkflowName="PickListRun_GeneratePickLists">
<Parameter Name="PickListRun" Direction="In" Value="${PickListRun}" />
</WorkflowCall>
<Transaction>
<GetList Name="Get Created PickLists" Type="PickList" OutputProperty="${PickLists}" OrderBy="Id" OrderDirection="Ascending">
<Filters>
<PropertyFilter PropertyName="PickListRun" Operator="=" PropertyValue="${PickListRun}" />
</Filters>
</GetList>
</Transaction>
<UserContent Name="Post" />
<Choose Name="result">
<When Name="None created" Condition="${PickLists.Count} == 0">
<Message Name="None_created_message" MessageCode="1594" />
</When>
<Otherwise Name="Created picklists">
<Message Name="Created message" MessageCode="1595">
<Parameter Name="PickLists" Direction="In" Value="${PickLists}" />
</Message>
</Otherwise>
</Choose>
</Execution>
</Workflow>