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

ActionField449

Beschrijving: Create a replacement Yearplan (via dialog). Custom: Nee

Propertiesbewerken

Property Type Accessor
FormName UltimoString Optional
YearPlanContext Context Optional

XMLbewerken

<Workflow Name="ActionField449" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create a replacement Yearplan (via dialog).</Description>
	<Properties>
		<Property	Name="FormName"				Type="UltimoString"	Accessor="Optional"	Direction="In"										Comment="Open this screen with the created Yearplan" />
		<Property	Name="YearPlanContext"		Type="Context"		Accessor="Optional"	Direction="In"		Default="YearPlanContext.TD"	Comment="Create Yearplan with this context" />

		<Property	Name="DepartmentExclude"	Type="Boolean"		Accessor="Internal" />
		<Property	Name="Description"			Type="String"		Accessor="Internal" />
		<Property	Name="InsertYearPlan"		Type="YearPlan"		Accessor="Internal" />
		<Property	Name="Year"					Type="Int16"		Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Dialog_CreateReplacementYearPlan" WorkflowName="Dialog_CreateReplacementYearPlan">
			<Parameter	Name="Context"				Direction="In"		Value="${YearPlanContext}" />
			<Parameter	Name="DepartmentExclude"	Direction="Out"									OutputProperty="${DepartmentExclude}" />
			<Parameter	Name="DescriptionToUse"		Direction="Out"									OutputProperty="${Description}" />
			<Parameter	Name="YearToUse"			Direction="Out"									OutputProperty="${Year}" />
		</WorkflowCall>

		<Transaction>
			<Insert Name="InsertYearPlanNow" ObjectType="YearPlan" OutputProperty="${InsertYearPlan}">
				<Parameter	Name="Context"				Direction="In"		Value="${YearPlanContext}" />
				<Parameter	Name="Status"				Direction="In"		Value="YearPlanStatus.Concept" />
				<Parameter	Name="DepartmentExclude"	Direction="In"		Value="${DepartmentExclude}" />
				<Parameter	Name="Description"			Direction="In"		Value="${Description}" />
				<Parameter	Name="Year"					Direction="In"		Value="${Year}" />
			</Insert>
		</Transaction>

		<UserContent Name="Post" />

		<View Name="OpenScreen" ViewName="DataEntryScreen">
			<Parameter	Name="DomainObject"			Direction="In"		Value="${InsertYearPlan}" />
			<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${InsertYearPlan.Description} == Empty" />
			<Parameter	Name="ScreenName"			Direction="In"		Value="${FormName}" />
		</View>
	</Execution>
</Workflow>