Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield596
ActionField596
Beschrijving: Change status of RequestForQuotation(TenderRequest) to Sent. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| TenderRequest | RequestForQuotation | Root |
XMLbewerken
<Workflow Name="ActionField596" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change status of RequestForQuotation(TenderRequest) to Sent.</Description>
<Properties>
<Property Name="TenderRequest" Type="RequestForQuotation" Accessor="Root" Direction="In" />
<Property Name="PurchaseRequest" Type="PurchaseRequest" Accessor="Internal" />
<Property Name="Status" Type="Status" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="IsRequestForQuotationStatusConcept" Condition="${TenderRequest.Status} != RequestForQuotationStatus.Sent" MessageCode="1197" Comment="ummTENDERREQUESTHASALREADYSTATE(2025)">
<Parameter Name="RequestForQuotation" Direction="In" Value="${TenderRequest}" />
</Validation>
<Assign Name="PurchaseRequest" Property="${PurchaseRequest}" Value="${TenderRequest.PurchaseRequest}" />
<When Name="CheckPurchaseRequestStatus" Condition="(${PurchaseRequest} != Empty && (${PurchaseRequest.Status} == Empty || ${PurchaseRequest.Status} != PurchaseRequestStatus.Active)) && (${PurchaseRequest} == Empty || ${PurchaseRequest.FinalReplyDate} == Empty || ${PurchaseRequest.FinalReplyDate} > #{Environment.CurrentDateTime})" Comment="This When has a condition clause formed by the union of the validation and the choose by RequestForQuotation_PreSent">
<Message Name="ummTENDERREQUESTISSENDANDTENDERACTIVATED(2026)" MessageCode="1217">
<Parameter Name="PurchaseRequest" Direction="In" Value="${PurchaseRequest}" />
<Parameter Name="RequestForQuotation" Direction="In" Value="${TenderRequest}" />
</Message>
</When>
<Transaction>
<ChangeStatus Name="Set status of TenderRequest record to Concept" DomainObject="${TenderRequest}" NewStatus="RequestForQuotationStatus.Sent" />
<Assign Name="AssignSentDate" Property="${TenderRequest.SentDate}" Value="#{Environment.CurrentDateTime}" />
<Assign Name="AssignSentEmployee" Property="${TenderRequest.SentEmployee}" Value="#{User.EmployeeId}" />
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>