Skip to main content

According to IFS  Custom Menu type "PL/SQL Block" can be executed on both single and multiple rows but this is not the case while i attempted to do a simple display to see if it really works. Even though i selected multiple rows and run the Custom RMB menu it only processed the first row. Remaining rows are not picked. My code in the custom menu pl/sql block is as follows.

This is on the purchase order lines. Trying to see the order numbers the error sys picks to see if all the selected orders are picked. 

 

DECLARE
attr_  varchar2(32000);
BEGIN
attr_   := &ORDER_NO ;
Error_SYS.Record_General('PurchaseReqLine', '&Order_no:' || attr_);

END;

I selected the following rows and clicked on process multiple rows. 

The display is only for the first order

 

I expected it to show all the three orders. Request to know why all the three rows are not picked.