Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield600
ActionField600
Beschrijving: Change status of RequestForQuotation via dialog (to status Concept, Sent, Received or Rejected. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| RequestForQuotation | RequestForQuotation | Root |
XMLbewerken
<Workflow Name="ActionField600" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change status of RequestForQuotation via dialog (to status Concept, Sent, Received or 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="Status" Type="Status" Accessor="Internal" />
<Property Name="StatusChangeEmployee" Type="Employee" Accessor="Internal" Default="#{User.EmployeeId}" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="StatusDialog" WorkflowName="Dialog_ChooseStatus">
<Parameter Name="DomainObject" Direction="In" Value="${RequestForQuotation}" />
<Parameter Name="Status" Direction="Out" OutputProperty="${Status}" />
</WorkflowCall>
<UserContent Name="AfterDialog" />
<Choose Name="select status of RequestForQuotationStatus">
<When Name="Status Selected Rejected" Condition="${Status} == RequestForQuotationStatus.Rejected">
<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="SentDate" Property="${RequestForQuotation.RejectDate}" Value="${Now}" />
<Assign Name="Employee that changed status of this tenderrequest to Rejected" Property="${RequestForQuotation.RejectEmployee}" Value="${StatusChangeEmployee}" />
<ChangeStatus Name="ChangeRequestForQuotationStatus" DomainObject="${RequestForQuotation}" NewStatus="${Status}" />
</Transaction>
</When>
<When Name="Status Selected Sent" Condition="${Status} == RequestForQuotationStatus.Sent">
<Transaction>
<Assign Name="SentDate" Property="${RequestForQuotation.SentDate}" Value="${Now}" />
<Assign Name="Employee that changed status of this tenderrequest to Sent" Property="${RequestForQuotation.SentEmployee}" Value="${StatusChangeEmployee}" />
<ChangeStatus Name="ChangeRequestForQuotationStatus" DomainObject="${RequestForQuotation}" NewStatus="${Status}" />
</Transaction>
</When>
<When Name="Status Selected Concept" Condition="${Status} == RequestForQuotationStatus.Concept">
<Transaction>
<Assign Name="SentDate" Property="${RequestForQuotation.ConceptDate}" Value="${Now}" />
<Assign Name="Employee that changed status of this tenderrequest to Concept" Property="${RequestForQuotation.ConceptEmployee}" Value="${StatusChangeEmployee}" />
<ChangeStatus Name="ChangeRequestForQuotationStatus" DomainObject="${RequestForQuotation}" NewStatus="${Status}" />
</Transaction>
</When>
<When Name="Status Selected Received" Condition="${Status} == RequestForQuotationStatus.Received">
<Transaction>
<Assign Name="SentDate" Property="${RequestForQuotation.ReceiveDate}" Value="${Now}" />
<Assign Name="Employee that changed status of this tenderrequest to Received" Property="${RequestForQuotation.ReceiveEmployee}" Value="${StatusChangeEmployee}" />
<ChangeStatus Name="ChangeRequestForQuotationStatus" DomainObject="${RequestForQuotation}" NewStatus="${Status}" />
</Transaction>
</When>
</Choose>
<UserContent Name="Post" />
</Execution>
</Workflow>