Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield962
ActionField962
Beschrijving: Change status of ContractLineType to Approved. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ContractLineType | ContractLineType | Root |
XMLbewerken
<Workflow Name="ActionField962" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change status of ContractLineType to Approved.</Description>
<Properties>
<Property Name="ContractLineType" Type="ContractLineType" Accessor="Root" Direction="In" />
<Property Name="Count" Type="Int64" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Message Name="will have no effect on existing RRE components and contractlines" MessageCode="1820">
<Parameter Name="ContractLineType" Direction="In" Value="${ContractLineType}" />
</Message>
<When Name="is TaxAdministrationCostCategory not empty?" Condition="${ContractLineType.TaxAdministrationCostCategory} != Empty">
<Transaction>
<GetCount Name="Get contract lines having this type and chargefrequency weekly" Type="RentableRealEstateContractLine" OutputProperty="${Count}">
<Joins>
<Join Name="ChargeFrequency" Alias="cf" Type="InnerJoin" />
<Join Name="cf.Frequency" Alias="freq" Type="InnerJoin" />
</Joins>
<Filters>
<PropertyFilter PropertyName="ContractLineType" Operator="=" PropertyValue="${ContractLineType}" />
<PropertyFilter PropertyName="freq.StandardCode" Operator="=" PropertyValue="WK" />
</Filters>
</GetCount>
<Validation Name="Count should be zero: no contractlines having chargefrequency weekly" Condition="${Count} == 0" MessageCode="2596" />
</Transaction>
</When>
<Transaction>
<ChangeStatus Name="Change status of ContractLineType to Approved" DomainObject="${ContractLineType}" NewStatus="ContractLineTypeStatus.Approved" />
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>