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

ActionField1714

Beschrijving: Determines what screen to use for showing InternalChargLine, depending on InternalCharge was created new style or old style. Custom: Nee

Propertiesbewerken

Property Type Accessor
InternalChargeLine InternalChargeLine Root

XMLbewerken

<Workflow Name="ActionField1714" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Determines what screen to use for showing InternalChargLine, depending on InternalCharge was created new style or old style.</Description>
	<Properties>
		<Property	Name="InternalChargeLine"	Type="InternalChargeLine"		Accessor="Root"		Direction="In" />

		<Property	Name="InternalChargeLines"	Type="List[InternalChargeLine]"	Accessor="Internal" />
		<Property	Name="ScreenName"			Type="UltimoString"				Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="Context is InternalCharge" Condition="${InternalChargeLine.Id.InternalCharge.Context} == InternalChargeContext.Standard">
			<WorkflowCall Name="Get InternalChargeLines having a reference to a source line" WorkflowName="InternalCharge_GetLinesReferencingSourceLine">
				<Parameter	Name="InternalCharge"		Direction="In"		Value="${InternalChargeLine.Id.InternalCharge}" />
				<Parameter	Name="InternalChargeLines"	Direction="Out"														OutputProperty="${InternalChargeLines}" />
			</WorkflowCall>

			<Assign Property="${ScreenName}" Value="=${InternalChargeLines.Count} == 0 ? 'invol01' : 'invol03'" Comment="No line with a reference to a source means old style" />
		</When>

		<UserContent Name="Post" />

		<View Name="OpenScreen" ViewName="DataEntryScreen">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${InternalChargeLine}" />
			<Parameter	Name="ScreenName"	Direction="In"		Value="${ScreenName}" />
		</View>
	</Execution>
</Workflow>