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

ActionField1716

Beschrijving: Delete a correction InternalCharge Custom: Nee

Propertiesbewerken

Property Type Accessor
CorrectionInternalCharge InternalCharge Root

XMLbewerken

<Workflow Name="ActionField1716" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Delete a correction InternalCharge</Description>
	<Properties>
		<Property	Name="CorrectionInternalCharge"	Type="InternalCharge"	Accessor="Root"		Direction="In" />

		<Property	Name="CreditInternalCharge"		Type="InternalCharge"	Accessor="Internal"						Default="${CorrectionInternalCharge.SourceInternalCharge}" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="If this is a correction InternalCharge" Condition="${CorrectionInternalCharge.Context} == InternalChargeContext.Correction">
			<Assign Name="Reset source" Property="${CorrectionInternalCharge.SourceInternalCharge}" Value="Empty" />

			<WorkflowCall Name="Delete CorrectionInternalCharge" WorkflowName="DomainObject_Delete">
				<Parameter	Name="DomainObject"	Direction="In"		Value="${CorrectionInternalCharge}" />
			</WorkflowCall>

			<When Name="If the associated credit internal charge is marked as completed, warn user of this fact" Condition="${CreditInternalCharge.CreditInternalChargeCompleted} == True">
				<Message Name="The credit InternalCharge is completed" MessageCode="3427">
					<Parameter	Name="InternalCharge"	Direction="In"		Value="${CreditInternalCharge}" />
				</Message>
			</When>
		</When>

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