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

ActionField489

Beschrijving: Create InternalCharges from InternalChargeCreate (from contractLines). Custom: Nee

Propertiesbewerken

Property Type Accessor
InternalChargeCreate InternalChargeCreate Root
InternalChargeContext Context Optional
ServiceContractContext Context Optional

XMLbewerken

<Workflow Name="ActionField489" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create InternalCharges from InternalChargeCreate (from contractLines).</Description>
	<Properties>
		<Property	Name="InternalChargeCreate"		Type="InternalChargeCreate"	Accessor="Root"		Direction="In" />

		<Property	Name="InternalChargeContext"	Type="Context"				Accessor="Optional"	Direction="In"		Default="InternalChargeContext.RentableRealEstate"	Comment="Create InternalCharge with this context. Can be modified in Pre UserContent workflow." />
		<Property	Name="ServiceContractContext"	Type="Context"				Accessor="Optional"	Direction="In"		Default="ServiceContractContext.RentalContract"		Comment="Search for ServiceContracts with this context. Can be modified in Pre UserContent workflow." />

		<Property	Name="InternalCharges"			Type="List[InternalCharge]"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<WorkflowCall Name="InternalChargeCreate_DeleteInternalCharges" WorkflowName="InternalChargeCreate_DeleteInternalCharges">
				<Parameter	Name="InternalChargeCreate"	Direction="In"		Value="${InternalChargeCreate}" />
			</WorkflowCall>
		</Transaction>

		<Transaction>
			<Command Name="InternalChargeCreate_CreateInternalChargesFromContractLines" CommandName="InternalChargeCreate_CreateInternalChargesFromContractLines">
				<Parameter	Name="InternalChargeContext"	Direction="In"		Value="${InternalChargeContext}" />
				<Parameter	Name="InternalChargeCreate"		Direction="In"		Value="${InternalChargeCreate}" />
				<Parameter	Name="ServiceContractContext"	Direction="In"		Value="${ServiceContractContext}" />
				<Parameter	Name="InternalCharges"			Direction="Out"											OutputProperty="${InternalCharges}" />
			</Command>
		</Transaction>

		<Message Name="Number of invoices created" MessageCode="1733">
			<Parameter	Name="TotalCount"	Direction="In"		Value="${InternalCharges.Count}" />
		</Message>

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