Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield952
ActionField952
Beschrijving: Insert new RentableObjectPart with a Space (chosen via selectionlist) for a Space (RentableObjectSpace). Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| RentableObjectSpace | Space | Root |
XMLbewerken
<Workflow Name="ActionField952" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Insert new RentableObjectPart with a Space (chosen via selectionlist) for a Space (RentableObjectSpace).</Description>
<Properties>
<Property Name="RentableObjectSpace" Type="Space" Accessor="Root" Direction="In" />
<Property Name="BuildingObject" Type="Int32" Accessor="Internal" Default="0" />
<Property Name="RentableObjectPart" Type="RentableObjectPart" Accessor="Internal" />
<Property Name="SpaceChosen" Type="Space" Accessor="Internal" />
<Property Name="WhereClause" Type="UltimoString" Accessor="Internal" Default="SpcContext=1" Comment="context standard" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<When Name="Add Where" Condition="${WhereClause} != Empty">
<Assign Name="Add Where" Property="${WhereClause}" Value="${WhereClause}" />
</When>
</Transaction>
<SystemDialog Name="SelectDomainObject" DialogName="SelectDomainObject">
<Parameter Name="EntityName" Direction="In" Value="Space" />
<Parameter Name="SelectionListConfiguration" Direction="In" Value="Default" />
<Parameter Name="SqlWhereClause" Direction="In" Value="${WhereClause}" />
<Parameter Name="DomainObject" Direction="Out" OutputProperty="${SpaceChosen}" />
</SystemDialog>
<Transaction>
<Insert Name="Insert RentableObjectPart" ObjectType="RentableObjectPart" OutputProperty="${RentableObjectPart}">
<Parameter Name="Building" Direction="In" Value="${SpaceChosen.BuildingFloor.Id.BuildingPart.Id.Building}" />
<Parameter Name="BuildingFloor" Direction="In" Value="${SpaceChosen.BuildingFloor}" />
<Parameter Name="BuildingPart" Direction="In" Value="${SpaceChosen.BuildingFloor.Id.BuildingPart}" />
<Parameter Name="RentableObjectSpace" Direction="In" Value="${RentableObjectSpace}" />
<Parameter Name="Space" Direction="In" Value="${SpaceChosen}" />
</Insert>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>