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

ActionField1685

Beschrijving: Enable or disable the option to add details manually as well as from a jobplan. It is not allowed to disable this option if there are both lines added manually and from a jobplan
Custom: Nee

Propertiesbewerken

Property Type Accessor
PmJob PmJob Root

XMLbewerken

<Workflow Name="ActionField1685" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Enable or disable the option to add details manually as well as from a jobplan.
		It is not allowed to disable this option if there are both lines added manually and from a jobplan
	</Description>
	<Properties>
		<Property	Name="PmJob"	Type="PmJob"	Accessor="Root"		Direction="In" />

		<Property	Name="Valid"	Type="Boolean"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="you disabled this option: let's check whether this is valid" Condition="${PmJob.AllowDetailsBesideJobPlan} == False">
			<Transaction>
				<Command Name="check what is the source of the details of the PmJob" CommandName="PmJob_CheckDetailsSource">
					<Parameter	Name="PmJob"	Direction="In"		Value="${PmJob}" />
					<Parameter	Name="Valid"	Direction="Out"							OutputProperty="${Valid}" />
				</Command>
			</Transaction>

			<When Name="Valid false?" Condition="${Valid} == False">
				<Transaction>
					<Assign Name="reset flag" Property="${PmJob.AllowDetailsBesideJobPlan}" Value="True" />
				</Transaction>

				<Validation Name="this option cannot be disabled" Condition="False" MessageCode="3255" />
			</When>
		</When>

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