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

ActionField485

Beschrijving: Change status of DepreciationMethod to Inactive. Custom: Nee

Propertiesbewerken

Property Type Accessor
DepreciationMethod DepreciationMethod Root

XMLbewerken

<Workflow Name="ActionField485" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of DepreciationMethod to Inactive.</Description>
	<Properties>
		<Property	Name="DepreciationMethod"	Type="DepreciationMethod"	Accessor="Root"		Direction="In" />

		<Property	Name="Deactivate"			Type="RequestResult"		Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Question Name="QuestionDeactivate" Type="YesNo" MessageCode="0914" Default="Yes" OutputProperty="${Deactivate}" />

		<When Name="DeactivateCheck » DeactivateIsNo" Condition="${Deactivate} == No">
			<Stop Name="Stop" Mode="Abort" />
		</When>

		<Transaction>
			<ChangeStatus Name="DepreciationMethod" DomainObject="${DepreciationMethod}" NewStatus="DepreciationMethodStatus.Inactive" />
		</Transaction>

		<Message Name="Message0906" MessageCode="0906">
			<Parameter	Name="DepreciationMethod"	Direction="In"		Value="${DepreciationMethod}" />
		</Message>

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