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

ActionField713

Beschrijving: Create InspectionPlanLine from InspectionPlan. Custom: Nee

Propertiesbewerken

Property Type Accessor
InspectionPlan InspectionPlan Root
FormName UltimoString Optional
InspectionPlanLineContext Context Optional
InspectionPlanLineStatus Status Optional

XMLbewerken

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

		<Property	Name="FormName"						Type="UltimoString"			Accessor="Optional"	Direction="In"														Comment="Open this screen with the created InspectionPlanLine" />
		<Property	Name="InspectionPlanLineContext"	Type="Context"				Accessor="Optional"	Direction="In"		Default="InspectionPlanLineContext.Standard"	Comment="Create InspectionPlanLine with this context" />
		<Property	Name="InspectionPlanLineStatus"		Type="Status"				Accessor="Optional"	Direction="In"		Default="InspectionPlanLineStatus.None"			Comment="Create InspectionPlanLine with this status" />

		<Property	Name="InspectionPlanLine"			Type="InspectionPlanLine"	Accessor="Internal" />
		<Property	Name="InspectionPlanLineSource"		Type="InspectionPlanLine"	Accessor="Internal" />
		<Property	Name="Point"						Type="Int32"				Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Insert Name="InsertAInspectionPlanLine" ObjectType="InspectionPlanLine" OutputProperty="${InspectionPlanLine}">
				<Parameter	Name="Id.InspectionPlan"	Direction="In"		Value="${InspectionPlan}" />
				<Parameter	Name="Context"				Direction="In"		Value="${InspectionPlanLineContext}" />
				<Parameter	Name="Status"				Direction="In"		Value="${InspectionPlanLineStatus}" />
			</Insert>
		</Transaction>

		<UserContent Name="Post" />

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