Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield786
ActionField786
Beschrijving: Insert new ObjectRealEstateValueDecision with a BuildingFloor (selected via selectionlist) for RealEstateValueDecision. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| RealEstateValueDecision | RealEstateValueDecision | Root |
XMLbewerken
<Workflow Name="ActionField786" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Insert new ObjectRealEstateValueDecision with a BuildingFloor (selected via selectionlist) for RealEstateValueDecision.</Description>
<Properties>
<Property Name="RealEstateValueDecision" Type="RealEstateValueDecision" Accessor="Root" Direction="In" />
<Property Name="BuildingFloorChosen" Type="BuildingFloor" Accessor="Internal" />
<Property Name="BuildingObject" Type="Int32" Accessor="Internal" Default="0" />
<Property Name="ExistObjectRealEstateValueDecision" Type="ObjectRealEstateValueDecision" Accessor="Internal" />
<Property Name="ObjectRealEstateValueDecision" Type="ObjectRealEstateValueDecision" Accessor="Internal" />
<Property Name="WhereClause" Type="String" Accessor="Internal" Default="Empty" Comment="where BldfBldId not in ('0001','0002')" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<When Name="Add Where" Condition="${WhereClause} != Empty">
<Assign Name="Add Where" Property="${WhereClause}" Value="=#concat('BldfBldId not in (', ${WhereClause},')')" />
</When>
<Assign Name="Add context" Property="${WhereClause}" Value="BldfContext = 1" />
</Transaction>
<SystemDialog Name="SelectDomainObject" DialogName="SelectDomainObject">
<Parameter Name="EntityName" Direction="In" Value="BuildingFloor" />
<Parameter Name="SelectionListConfiguration" Direction="In" Value="Default" />
<Parameter Name="SqlWhereClause" Direction="In" Value="${WhereClause}" />
<Parameter Name="DomainObject" Direction="Out" OutputProperty="${BuildingFloorChosen}" />
</SystemDialog>
<Transaction>
<Command Name="Check ObjectRealEstateValueDecision exist" CommandName="ObjectRealEstateValueDecision_Check">
<Parameter Name="DomainObject" Direction="In" Value="${BuildingFloorChosen}" />
<Parameter Name="RealEstateValueDecision" Direction="In" Value="${RealEstateValueDecision}" />
<Parameter Name="BuildingObject" Direction="Out" OutputProperty="${BuildingObject}" />
<Parameter Name="ObjectRealEstateValueDecision" Direction="Out" OutputProperty="${ExistObjectRealEstateValueDecision}" />
</Command>
<When Name="ObjectRealEstateValueDecisionExist" Condition="${ExistObjectRealEstateValueDecision} != Empty">
<Validation Name="ValidateObjectRealEstateValueDecisionsByBuildingFloor" Condition="${BuildingObject} > 0" MessageCode="1605">
<Parameter Name="BuildingFloor" Direction="In" Value="${BuildingFloorChosen}" />
<Parameter Name="ObjectRealEstateValueDecision" Direction="In" Value="${ExistObjectRealEstateValueDecision}" />
<Parameter Name="RealEstateValueDecision" Direction="In" Value="${RealEstateValueDecision}" />
</Validation>
<Validation Name="ValidateObjectRealEstateValueDecisionsByBuilding" Condition="${BuildingObject} < 1" MessageCode="1606">
<Parameter Name="BuildingFloor" Direction="In" Value="${BuildingFloorChosen}" />
<Parameter Name="BuildingObject" Direction="In" Value="${BuildingObject}" />
<Parameter Name="ObjectRealEstateValueDecision" Direction="In" Value="${ExistObjectRealEstateValueDecision}" />
<Parameter Name="RealEstateValueDecision" Direction="In" Value="${RealEstateValueDecision}" />
</Validation>
</When>
<Insert Name="Insert ObjectRealEstateValueDecision" ObjectType="ObjectRealEstateValueDecision" OutputProperty="${ObjectRealEstateValueDecision}">
<Parameter Name="BuildingFloor" Direction="In" Value="${BuildingFloorChosen}" />
<Parameter Name="RealEstateValueDecision" Direction="In" Value="${RealEstateValueDecision}" />
</Insert>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>