Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield234
ActionField234
Beschrijving: Open screen with PurchaseLine of this InvoiceLine. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| InvoiceLine | InvoiceLine | Root |
| FormNameForStatusCreated | UltimoString | Optional |
| FormNameForStatusCreditCreated | UltimoString | Optional |
XMLbewerken
<Workflow Name="ActionField234" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Open screen with PurchaseLine of this InvoiceLine.</Description>
<Properties>
<Property Name="InvoiceLine" Type="InvoiceLine" Accessor="Root" Direction="In" />
<Property Name="FormNameForStatusCreated" Type="UltimoString" Accessor="Optional" Direction="In" Default="pchl03" Comment="Open this screen with the PurchaseLine when Invoice status is not CreditCreated" />
<Property Name="FormNameForStatusCreditCreated" Type="UltimoString" Accessor="Optional" Direction="In" Default="pchl03" Comment="Open this screen with the PurchaseLine when Invoice status is CreditCreated" />
<Property Name="FormName" Type="UltimoString" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="InvoiceLineStatus » PurchaseLineAdded" Condition="${InvoiceLine.Status} == InvoiceLineStatus.PurchaseLineAdded && ${InvoiceLine.PurchaseLine} != Empty">
<Choose Name="InvoiceStatus">
<When Name="CreditCreated" Condition="${InvoiceLine.Id.Invoice.Status} == InvoiceStatus.CreditCreated">
<Assign Name="formname=formnamecreditcreated" Property="${FormName}" Value="${FormNameForStatusCreditCreated}" />
</When>
<Otherwise Name="Created or default">
<Assign Name="formname=formnamecreated" Property="${FormName}" Value="${FormNameForStatusCreated}" />
</Otherwise>
</Choose>
<UserContent Name="Post" />
<View Name="View purchaseline" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${InvoiceLine.PurchaseLine}" />
<Parameter Name="ScreenName" Direction="In" Value="${FormName}" />
</View>
</When>
</Execution>
</Workflow>