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

ActionField1187

Beschrijving: Change Craftsman hours (JobSchedulePart) for stop, used in Stop Gantt. Custom: Nee

Propertiesbewerken

Property Type Accessor
JobSchedulePart JobSchedulePart Root
EndDate DateTime Required
StartDate DateTime Required
Duration Decimal Optional
JobHoursCalculated Decimal Optional
JobHoursToPlan Decimal Optional
JobResourceHoursCalculated Decimal Optional
JobResourceHoursToPlan Decimal Optional
ProjectHoursCalculated Decimal Optional
WorkOrderHoursCalculated Decimal Optional

XMLbewerken

<Workflow Name="ActionField1187" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change Craftsman hours (JobSchedulePart) for stop, used in Stop Gantt.</Description>
	<Properties>
		<Property	Name="JobSchedulePart"				Type="JobSchedulePart"	Accessor="Root"		Direction="In" />

		<Property	Name="EndDate"						Type="DateTime"			Accessor="Required"	Direction="In"		Comment="EndDate for the jobschedulepart" />
		<Property	Name="StartDate"					Type="DateTime"			Accessor="Required"	Direction="In"		Comment="StartDate for the jobschedulepart" />

		<Property	Name="Duration"						Type="Decimal"			Accessor="Optional"	Direction="In"		Comment="Duration for the jobschedulepart" />

		<Property	Name="JobHoursCalculated"			Type="Decimal"			Accessor="Optional"	Direction="Out"		Comment="Feedback Job.HoursCalculated" />
		<Property	Name="JobHoursToPlan"				Type="Decimal"			Accessor="Optional"	Direction="Out"		Comment="Feedback Job.HoursToPlan" />
		<Property	Name="JobResourceHoursCalculated"	Type="Decimal"			Accessor="Optional"	Direction="Out"		Comment="Feedback JobResource.HoursCalculated" />
		<Property	Name="JobResourceHoursToPlan"		Type="Decimal"			Accessor="Optional"	Direction="Out"		Comment="Feedback JobResource.HoursToPlan" />
		<Property	Name="ProjectHoursCalculated"		Type="Decimal"			Accessor="Optional"	Direction="Out"		Comment="Feedback Project.HoursCalculated" />
		<Property	Name="WorkOrderHoursCalculated"		Type="Decimal"			Accessor="Optional"	Direction="Out"		Comment="Feedback WorkOrder.HoursCalculated" />
	</Properties>
	<Execution>
		<When Name="Set duration if it is zero" Condition="${Duration} == 0">
			<Assign Name="Set duration" Property="${Duration}" Value="=#getdatedifference('n', ${StartDate}, ${EndDate}) / 60" Comment="Duration for the jobschedulepart" />
		</When>

		<UserContent Name="Pre" />

		<WorkflowCall Name="JobResource_PlanForStop" WorkflowName="JobResource_PlanForStop">
			<Parameter	Name="Duration"						Direction="In"		Value="${Duration}" />
			<Parameter	Name="JobResource"					Direction="In"		Value="${JobSchedulePart.JobResource}" />
			<Parameter	Name="JobSchedulePart"				Direction="In"		Value="${JobSchedulePart}" />
			<Parameter	Name="ShowDialog"					Direction="In"		Value="False" />
			<Parameter	Name="StartDate"					Direction="In"		Value="${StartDate}" />
			<Parameter	Name="JobHoursCalculated"			Direction="Out"												OutputProperty="${JobHoursCalculated}" />
			<Parameter	Name="JobHoursToPlan"				Direction="Out"												OutputProperty="${JobHoursToPlan}" />
			<Parameter	Name="JobResourceHoursCalculated"	Direction="Out"												OutputProperty="${JobResourceHoursCalculated}" />
			<Parameter	Name="JobResourceHoursToPlan"		Direction="Out"												OutputProperty="${JobResourceHoursToPlan}" />
			<Parameter	Name="ProjectHoursCalculated"		Direction="Out"												OutputProperty="${ProjectHoursCalculated}" />
			<Parameter	Name="WorkOrderHoursCalculated"		Direction="Out"												OutputProperty="${WorkOrderHoursCalculated}" />
		</WorkflowCall>

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