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

ActionField1569

Beschrijving: Change InternalChargeSettings for ServiceDeskReportType (via dialog). Custom: Nee

Propertiesbewerken

Property Type Accessor
ServiceDeskReportType ServiceDeskReportType Root
Charge JobChargeType Optional
InstallmentsDescription UltimoString Optional
InstallmentsFixedPrice Boolean Optional
InstallmentsFixedPriceCost CompanyMoney Optional
InstallmentsFrequencyQuantity Int16 Optional
InstallmentsPayInTerms Boolean Optional
InstallmentsTermFrequency Frequency Optional
InstallmentsTermFromDate DateTime? Optional
InstallmentsTermQuantity Int16 Optional
InternalChargeMethod InternalChargeMethod Optional
ShowDialog Boolean Optional

XMLbewerken

<Workflow Name="ActionField1569" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change InternalChargeSettings for ServiceDeskReportType (via dialog).</Description>
	<Properties>
		<Property	Name="ServiceDeskReportType"					Type="ServiceDeskReportType"	Accessor="Root"		Direction="In"						Comment="ServiceDeskReportType to change the settings for" />

		<Property	Name="Charge"									Type="JobChargeType"			Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsDescription"					Type="UltimoString"				Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsFixedPrice"					Type="Boolean"					Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsFixedPriceCost"				Type="CompanyMoney"				Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsFrequencyQuantity"			Type="Int16"					Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsPayInTerms"					Type="Boolean"					Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsTermFrequency"				Type="Frequency"				Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsTermFromDate"					Type="DateTime?"				Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InstallmentsTermQuantity"					Type="Int16"					Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="InternalChargeMethod"						Type="InternalChargeMethod"		Accessor="Optional"	Direction="In"						Comment="Property to update in dialog" />
		<Property	Name="ShowDialog"								Type="Boolean"					Accessor="Optional"	Direction="In"		Default="True"	Comment="If True, update through dialog. Otherwise, set properties manually through screen/UserContent" />

		<Property	Name="InstallmentsFixedCostPerTerm"				Type="CompanyMoney"				Accessor="Internal" />
		<Property	Name="UserHasModifiedInternalChargeSettings"	Type="Boolean"					Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Select new/updated internal charge settings" WorkflowName="DomainObject_SelectInternalChargeSettings">
			<Parameter	Name="DomainObject"								Direction="In"		Value="${ServiceDeskReportType}" />
			<Parameter	Name="FromServiceDeskReportType"				Direction="In"		Value="True" />
			<Parameter	Name="ShowDialog"								Direction="In"		Value="${ShowDialog}" />
			<Parameter	Name="Charge"									Direction="InOut"	Value="${Charge}"							OutputProperty="${Charge}" />
			<Parameter	Name="InstallmentsDescription"					Direction="InOut"	Value="${InstallmentsDescription}"			OutputProperty="${InstallmentsDescription}" />
			<Parameter	Name="InstallmentsFixedPrice"					Direction="InOut"	Value="${InstallmentsFixedPrice}"			OutputProperty="${InstallmentsFixedPrice}" />
			<Parameter	Name="InstallmentsFixedPriceCost"				Direction="InOut"	Value="${InstallmentsFixedPriceCost}"		OutputProperty="${InstallmentsFixedPriceCost}" />
			<Parameter	Name="InstallmentsFrequencyQuantity"			Direction="InOut"	Value="${InstallmentsFrequencyQuantity}"	OutputProperty="${InstallmentsFrequencyQuantity}" />
			<Parameter	Name="InstallmentsPayInTerms"					Direction="InOut"	Value="${InstallmentsPayInTerms}"			OutputProperty="${InstallmentsPayInTerms}" />
			<Parameter	Name="InstallmentsTermFrequency"				Direction="InOut"	Value="${InstallmentsTermFrequency}"		OutputProperty="${InstallmentsTermFrequency}" />
			<Parameter	Name="InstallmentsTermQuantity"					Direction="InOut"	Value="${InstallmentsTermQuantity}"			OutputProperty="${InstallmentsTermQuantity}" />
			<Parameter	Name="InternalChargeMethod"						Direction="InOut"	Value="${InternalChargeMethod}"				OutputProperty="${InternalChargeMethod}" />
			<Parameter	Name="InstallmentsFixedCostPerTerm"				Direction="Out"													OutputProperty="${InstallmentsFixedCostPerTerm}" />
			<Parameter	Name="UserHasModifiedInternalChargeSettings"	Direction="Out"													OutputProperty="${UserHasModifiedInternalChargeSettings}" />
		</WorkflowCall>

		<When Name="User has modified invoice settings" Condition="${UserHasModifiedInternalChargeSettings} == True">
			<Transaction>
				<Assign Name="Set ServiceDeskReportType.Charge" Property="${ServiceDeskReportType.Charge}" Value="${Charge}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsDescription" Property="${ServiceDeskReportType.InstallmentsDescription}" Value="${InstallmentsDescription}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsFixedCostPerTerm" Property="${ServiceDeskReportType.InstallmentsFixedCostPerTerm}" Value="${InstallmentsFixedCostPerTerm}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsFixedPrice" Property="${ServiceDeskReportType.InstallmentsFixedPrice}" Value="${InstallmentsFixedPrice}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsFixedPriceCost" Property="${ServiceDeskReportType.InstallmentsFixedPriceCost}" Value="${InstallmentsFixedPriceCost}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsFrequencyQuantity" Property="${ServiceDeskReportType.InstallmentsFrequencyQuantity}" Value="${InstallmentsFrequencyQuantity}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsPayInTerms" Property="${ServiceDeskReportType.InstallmentsPayInTerms}" Value="${InstallmentsPayInTerms}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsTermFrequency" Property="${ServiceDeskReportType.InstallmentsTermFrequency}" Value="${InstallmentsTermFrequency}" />
				<Assign Name="Set ServiceDeskReportType.InstallmentsTermQuantity" Property="${ServiceDeskReportType.InstallmentsTermQuantity}" Value="${InstallmentsTermQuantity}" />
				<Assign Name="Set ServiceDeskReportType.InternalChargeMethod" Property="${ServiceDeskReportType.InternalChargeMethod}" Value="${InternalChargeMethod}" />
			</Transaction>
		</When>

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