How to popup UI page with "Rejection Rason" textbox on Listview ?

Virendra K
Kilo Sage

Hi All,

 

I am unable to popup UI page or "Prompt" function message on Approval tab Listview. 

Whenever I am going to "Reject" any approval, popup should appear with textbox asking for rejection reason which will be get captured in "Comments" section of approval table.

 

@Ankur Bawiskar any insight please?

 

Please help me to achieve this.

 

Regards,

Virendra

3 REPLIES 3

magee
Tera Guru

Let's say you select 4 approval records and then 'Reject'. Do you want the same comments entered on the popup to be entered in the comments for all 4 approval records?

No @magee , it will be individual Rejection.

magee
Tera Guru

Ah. This may be doable but would require you to iterate through each selected approval record on the UI Page. It would take some time to chew through, but again, could be doable w/ a UI Page.

First order of business would be to update the 'Reject' UI action to get the quantity of records selected. 

Then pass that quantity and sys_id's of the records to the UI Page.

Remember, if you update the UI Action, you are updating out of the box functionality so you might want to copy the UI Action and create your own. Just a thought.