Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield075
ActionField075
Beschrijving: Delete all invoice proposals (InternalCharge) for the current invoice run (InternalChargeCreate). Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| InternalChargeCreate | InternalChargeCreate | Root |
XMLbewerken
<Workflow Name="ActionField075" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Delete all invoice proposals (InternalCharge) for the current invoice run (InternalChargeCreate).</Description>
<Properties>
<Property Name="InternalChargeCreate" Type="InternalChargeCreate" Accessor="Root" Direction="In" />
<Property Name="InternalCharges" Type="List[InternalCharge]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetList Name="Get Internal Charges" Type="InternalCharge" OutputProperty="${InternalCharges}" OrderBy="Id" OrderDirection="Ascending">
<Filters>
<PropertyFilter PropertyName="InternalChargeCreate" Operator="=" PropertyValue="${InternalChargeCreate}" />
<PropertyFilter PropertyName="Status" Operator="=" PropertyValue="InternalChargeStatus.Open" />
</Filters>
</GetList>
</Transaction>
<ForEach Name="Foreach internalCharge" In="${InternalCharges}" As="InternalCharge">
<Transaction>
<DeleteObject Name="Delete InternalCharge" DomainObject="${InternalCharge}" />
</Transaction>
</ForEach>
<UserContent Name="Post" />
<Message Name="MessageDeleted" MessageCode="0858">
<Parameter Name="InternalChargeCount" Direction="In" Value="${InternalCharges.Count}" />
<Parameter Name="InternalChargeCreate" Direction="In" Value="${InternalChargeCreate}" />
</Message>
</Execution>
</Workflow>