Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield181
ActionField181
Beschrijving: Copy information from Space (with context 1=Space) to another Space. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ToSpace | Space | Root |
| CopyFinishing | Boolean | Optional |
| CopyInventory | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField181" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copy information from Space (with context 1=Space) to another Space.</Description>
<Properties>
<Property Name="ToSpace" Type="Space" Accessor="Root" Direction="In" />
<Property Name="CopyFinishing" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Copy Space Finishing too" />
<Property Name="CopyInventory" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Copy Space Inventories too" />
<Property Name="FromSpace" Type="Space" Accessor="Internal" Comment="Property from dialog" />
<Property Name="SpaceCopyAction" Type="SpaceCopyAction" Accessor="Internal" Default="CopyNone" />
<Property Name="SqlWhereClause" Type="String" Accessor="Internal" Default="SpcContext = 1" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Choose Name="SpaceCopyActionIsNone">
<When Name="CopyInventoryAndFinishing" Condition="${CopyInventory} == True && ${CopyFinishing} == True">
<Assign Name="InventoryAndFinishing" Property="${SpaceCopyAction}" Value="CopyInventoryAndFinishing" />
</When>
<When Name="CopyInventory" Condition="${CopyInventory} == True">
<Assign Name="Inventory" Property="${SpaceCopyAction}" Value="CopyInventory" />
</When>
<When Name="CopyFinishing" Condition="${CopyFinishing} == True">
<Assign Name="Finishing" Property="${SpaceCopyAction}" Value="CopyFinishing" />
</When>
<Otherwise Name="CopyNone">
<Stop Name="Stop" Mode="EndAll" />
</Otherwise>
</Choose>
<Dialog Name="FromSpaceDialog" TitleCode="SELECTSPACE">
<Container>
<SelectionList Name="FromSpace" OutputProperty="${FromSpace}" ColumnName="SpcId" ViewfieldConfiguration="Default" Required="True" SqlWhereClause="${SqlWhereClause}" />
</Container>
</Dialog>
<Transaction>
<Command Name="Copy Space" CommandName="Space_Copy">
<Parameter Name="FromSpace" Direction="In" Value="${FromSpace}" />
<Parameter Name="SpaceCopyAction" Direction="In" Value="${SpaceCopyAction}" />
<Parameter Name="ToSpace" Direction="In" Value="${ToSpace}" />
</Command>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>