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

ActionField681

Beschrijving: Change Company LongTermAsset Index Percentage and update costs of SpaceMaintenanceActivities and SpaceMaintenances (with context LongTermAssetPlan). Custom: Nee

Propertiesbewerken

Property Type Accessor
Company Company Optional

XMLbewerken

<Workflow Name="ActionField681" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change Company LongTermAsset Index Percentage and update costs of SpaceMaintenanceActivities and SpaceMaintenances (with context LongTermAssetPlan).</Description>
	<Properties>
		<Property	Name="Company"						Type="Company"	Accessor="Optional"	Direction="In"		Default="#{Company}" />

		<Property	Name="IndexLongTermAssetPercentage"	Type="Decimal"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Dialog Name="DialogIndexLongTermAssetPercentage" TitleCode="GLOBALINDEXLTAP">
			<Container>
				<Number Name="IndexLongTermAssetPercentage" Value="${Company.IndexLongTermAssetPercentage}" OutputProperty="${IndexLongTermAssetPercentage}" ColumnName="CompIndexLongTermAssetPercentage" ViewfieldConfiguration="Ltap" />
			</Container>
		</Dialog>

		<Validation Name="OnlyContinueIfPercentageWasAdjusted" Condition="${IndexLongTermAssetPercentage} != ${Company.IndexLongTermAssetPercentage}" MessageCode="1347" />
		<Validation Name="GoodIndexPercentage" Condition="${IndexLongTermAssetPercentage} &gt; -200 &amp;&amp; ${IndexLongTermAssetPercentage} &lt; 200" MessageCode="1238" />

		<ContinuationQuestion Name="AskIfNeedToRecalculate" MessageCode="1239" />

		<WorkflowCall Name="SpaceMaintenance_ChangeIndexPercentageLongTermAsset" WorkflowName="SpaceMaintenance_ChangeIndexPercentageLongTermAsset">
			<Parameter	Name="IndexLongTermAssetPercentage"	Direction="In"		Value="${IndexLongTermAssetPercentage}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<Message Name="IndexPercentageChanged" MessageCode="1348" />
	</Execution>
</Workflow>