Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield601
ActionField601
Beschrijving: Change status of RequestForQuotation to Rejected. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| RequestForQuotation | RequestForQuotation | Root |
XMLbewerken
<Workflow Name="ActionField601" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change status of RequestForQuotation to Rejected.</Description>
<Properties>
<Property Name="RequestForQuotation" Type="RequestForQuotation" Accessor="Root" Direction="In" />
<Property Name="Now" Type="DateTime" Accessor="Internal" Default="#{Environment.CurrentDateTime}" />
<Property Name="ReasonForRejection" Type="RejectionReason" Accessor="Internal" />
<Property Name="RejectionEmployee" Type="Employee" Accessor="Internal" Default="#{User.EmployeeId}" />
<Property Name="Status" Type="Status" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="IsRequestForQuotationStatusRejected" Condition="${RequestForQuotation.Status} != RequestForQuotationStatus.Rejected" MessageCode="1197" Comment="ummTENDERREQUESTHASALREADYSTATE(2025)">
<Parameter Name="RequestForQuotation" Direction="In" Value="${RequestForQuotation}" />
</Validation>
<Dialog Name="RejectionReasonDialog" TitleCode="SELECT_REASON_FOR_REJECTION">
<Container>
<SelectionList Name="UserSelectsRejectionReason" OutputProperty="${ReasonForRejection}" ColumnName="RejrId" Required="True" />
</Container>
</Dialog>
<Transaction>
<Assign Name="Set rejection reason" Property="${RequestForQuotation.RejectReason}" Value="${ReasonForRejection}" />
<Assign Name="Date of rejection" Property="${RequestForQuotation.RejectDate}" Value="${Now}" />
<Assign Name="Employee that rejected this tenderrequest" Property="${RequestForQuotation.RejectEmployee}" Value="${RejectionEmployee}" />
<ChangeStatus Name="Set status of RequestForQuotation record to rejected" DomainObject="${RequestForQuotation}" NewStatus="RequestForQuotationStatus.Rejected" />
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>