Request Quotations Task Screen
Key Lesson: In this step, you learn how to adapt the Purchase Request Create screen so Procurement can review an approved Purchase Request, add quotation entries for selected vendors, and submit the updated request to the Process.
Create the PurchaseQuotationCreate task screen used by Procurement to review an approved Purchase Request, add vendor quotation entries, and submit the request.
Create the Request Quotations screen
Section titled “Create the Request Quotations screen”Build the Request Quotations task screen by copying the existing Purchase Request Create screen, as it already contains the Purchase Request structure needed for this task.
- Copy
PurchaseRequestCreateand rename the copyPurchaseQuotationCreate. - Configure the screen text label:
| Property | Value |
|---|---|
| Text | Please specify which vendors should be contacted for an RFQ: |
-
Save your changes before continuing.
For instructions on copying a complete screen, see Copying an entire screen.
Adapt the screen for the Procurement task
Section titled “Adapt the screen for the Procurement task”Update the copied screen so Procurement can review the approved request, add quotation entries, and complete the task.
1. Reconfigure the screen variable
Section titled “1. Reconfigure the screen variable”- Open the screen’s Variables tab.
- Update the
requestvariable’s properties:
| Property | Value |
|---|---|
| Name | request |
| Context | Input |
| Type | |
| Default expression | Leave blank |
-
Save your changes before continuing.
2. Display the approved Purchase Request
Section titled “2. Display the approved Purchase Request”The embedded PurchaseRequestInclude screen should be read-only so Procurement can review the approved request without changing it.
- Return to the Layout tab.
- In the LOGIC section of the Components toolbar section of the component toolbar, add a Disable component above the embedded
PurchaseRequestIncludescreen. - Drag
PurchaseRequestIncludeinto the Disable component. - Set or confirm the following Disable properties:
| Property | Value |
|---|---|
| Disabled | true |
| Keep disabled if already disabled | Checked |
-
Leave all other properties at their default values.
-
Save your changes before continuing.
3. Configure the quotation entries
Section titled “3. Configure the quotation entries”Add a For component to display the quotation entries stored in screen.request.quotations.
- From the LOGIC section of the Components toolbar section, drag a For Loop onto the Vertical layout component.
- Configure the For Loop as follows:
| Property | Value |
|---|---|
| Array | |
| Loop variable | quotation |
| Loop variable type | |
-
Leave all other properties at their default values.
-
Add a Card component inside the For component.
-
Add an Input component inside the Card.
-
Configure the Input component as follows:
| Property | Value |
|---|---|
| Label | Vendor name |
| Binding | |
| Type | Text |
-
Leave all other properties at their default values.
-
Save your changes before continuing.
4. Add the Add RFQ button
Section titled “4. Add the Add RFQ button”The Add RFQ button creates a new Quotation object in the Purchase Request’s quotations collection.
- From the CORE section of the Components toolbar section, add a Button component below the For component.
- Configure the button as follows:
| Button | Tab | Property | Value |
|---|---|---|---|
| Add RFQ | Properties | Prefix icon | add_circle |
| Text | Add RFQ | ||
| Appearance | Color | Basic | |
| Events → Click | Action type → Ad-hoc action | |
-
Leave all other properties at their default values.
-
Save your changes before continuing.
5. Configure the screen output
Section titled “5. Configure the screen output”- Open the screen’s Outputs tab.
- Confirm that the
submitoutput is configured as follows:
| Property | Value |
|---|---|
| Name | submit |
| Output type | |
| Can drive Process forward | Checked |
-
Save your changes before continuing.
6. Update the Submit Request button
Section titled “6. Update the Submit Request button”Update the existing Submit Request button so Procurement can submit the completed quotation entries and finish the task.
- Return to the screen’s Layout tab.
- Select the Submit Request button.
- Update the button as follows:
| Button | Tab | Property | Value |
|---|---|---|---|
| Submit RFQs | Properties | Prefix icon | send |
| Text | Submit RFQs | ||
| Appearance | Color | Primary | |
| Events → Click | Action type → Ad-hoc action | |
-
Leave all other properties at their default values.
-
Save and close the editor.