Create a popup window for UI Action button to close similar tasks with matching Short Description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2023 09:51 PM - edited 09-30-2023 09:52 PM
Hi All,
I have a requirement where I need to provide a "prompt"/"Popup" Window when the user closes the order task through UI Action Button on the form, below are the requirements details.
1. If there are multiple Order Tasks with same "short description" associated with a Customer Order, when the user close complete one of those tasks, then I need to display the following options to the user.
a. Close All Similar Order Tasks
b. Close This One Order Tasks
c. Cancel
1(a) If the user selects "close all similar Order Tasks" THEN it should close all similar Order Tasks.
1(b) If the user selects “Close Just This Order Task” then it should close only that task.
1(c) If the user selects “Cancel” THEN remove the display and take the user back to how the screen previously was.
Please let me know how to proceed further.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 10:57 AM
Hi @Nishant26
Right click and click on Inspect, then click on the UI Action button. And give me the screenshot of the error in browser console.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 08:47 PM - edited 10-06-2023 05:03 AM
Hi Anvesh,
I have attached the screenshot for your reference.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 09:15 PM - edited 10-04-2023 09:15 PM
@Nishant26 share screen shot of your UI Action entire page and script.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 09:53 PM
Hi Anvesh,
I have attached screen shots for UI Action for your reference.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 12:27 AM
@Nishant26 You are missing var in line 4, it should be, its my mistake too.
var dlg = new dialogClass('order_task_close_confirm_form');
Anvesh