Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield951

ActionField951

Beschrijving: Insert new RentableObjectPart with a BuildingFloor (chosen via selectionlist) for a Space (RentableObjectSpace). Custom: Nee

Propertiesbewerken

Property Type Accessor
RentableObjectSpace Space Root

XMLbewerken

<Workflow Name="ActionField951" 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 BuildingFloor (chosen via selectionlist) for a Space (RentableObjectSpace).</Description>
	<Properties>
		<Property	Name="RentableObjectSpace"	Type="Space"				Accessor="Root"		Direction="In" />

		<Property	Name="BuildingFloorChosen"	Type="BuildingFloor"		Accessor="Internal" />
		<Property	Name="BuildingObject"		Type="Int32"				Accessor="Internal"						Default="0" />
		<Property	Name="RentableObjectPart"	Type="RentableObjectPart"	Accessor="Internal" />
		<Property	Name="WhereClause"			Type="UltimoString"			Accessor="Internal"						Default="BldfContext=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="BuildingFloor" />
			<Parameter	Name="SelectionListConfiguration"	Direction="In"		Value="Default" />
			<Parameter	Name="SqlWhereClause"				Direction="In"		Value="${WhereClause}" />
			<Parameter	Name="DomainObject"					Direction="Out"								OutputProperty="${BuildingFloorChosen}" />
		</SystemDialog>

		<Transaction>
			<Insert Name="Insert RentableObjectPart" ObjectType="RentableObjectPart" OutputProperty="${RentableObjectPart}">
				<Parameter	Name="Building"				Direction="In"		Value="${BuildingFloorChosen.Id.BuildingPart.Id.Building}" />
				<Parameter	Name="BuildingFloor"		Direction="In"		Value="${BuildingFloorChosen}" />
				<Parameter	Name="BuildingPart"			Direction="In"		Value="${BuildingFloorChosen.Id.BuildingPart}" />
				<Parameter	Name="RentableObjectSpace"	Direction="In"		Value="${RentableObjectSpace}" />
			</Insert>
		</Transaction>

		<UserContent Name="Post" />
	</Execution>
</Workflow>