Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield729
ActionField729
Beschrijving: Copy values and recalculate prices from Article/Vendor or ServiceContractLine(Stand by contract) to PurchaseRequestLine. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| PurchaseRequestLine | PurchaseRequestLine | Root |
| ArticleChanged | Boolean | Optional |
| VendorChanged | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField729" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copy values and recalculate prices from Article/Vendor or ServiceContractLine(Stand by contract) to PurchaseRequestLine.</Description>
<Properties>
<Property Name="PurchaseRequestLine" Type="PurchaseRequestLine" Accessor="Root" Direction="In" />
<Property Name="ArticleChanged" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Set to True when executed from Article input field." />
<Property Name="VendorChanged" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Set to True when executed from Vendor input field." />
<Property Name="QuestionResult" Type="RequestResult" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="PurchaseRequestLine_SetValuesDependingOnJob" WorkflowName="PurchaseRequestLine_SetValuesDependingOnJob">
<Parameter Name="PurchaseRequestLine" Direction="In" Value="${PurchaseRequestLine}" />
</WorkflowCall>
<WorkflowCall Name="PurchaseRequestLine_CopyValuesAndRecalculatePrices" WorkflowName="PurchaseRequestLine_CopyValuesAndRecalculatePrices" Comment="PurchaseRequestLine_CopyValuesAndRecalculatePrices was here originally">
<Parameter Name="ArticleChanged" Direction="In" Value="${ArticleChanged}" />
<Parameter Name="PurchaseRequestLine" Direction="In" Value="${PurchaseRequestLine}" />
<Parameter Name="VendorChanged" Direction="In" Value="${VendorChanged}" />
</WorkflowCall>
<When Name="RequestedDeliveryDateCanNotBeMade" Condition="${PurchaseRequestLine.CalculateDeliveryDateMethod} == 2 && ${PurchaseRequestLine.RequestedDeliveryDate} != Empty">
<When Name="RequestedDeliveryDateIsPossible" Condition="${PurchaseRequestLine.RequestedDeliveryDate} < #adddays(#{Environment.CurrentDate}, ${PurchaseRequestLine.LeadTime})">
<Question Name="DoYouWantToContinue" Type="YesNo" MessageCode="1438" OutputProperty="${QuestionResult}">
<Parameter Name="PurchaseRequestLine" Direction="In" Value="${PurchaseRequestLine}" />
</Question>
<When Name="AnswerIsNo" Condition="${QuestionResult} == No">
<Transaction>
<Assign Name="RequestedDeliveryDate" Property="${PurchaseRequestLine.RequestedDeliveryDate}" Value="Empty" />
</Transaction>
</When>
</When>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>