i want ‘Create Pick List’ on the Quick Order Flow Handling Menu to be visible (or not visible) based on the value of a custom field held against the Customer. Is there a way to achieve this?
Initially I was going to remove permission to it, and add in my own custom menu item which called the following code.
IF (CUSTOMER_CREDIT_INFO_CFP.Get_Cf$_Credit_Block(objkey_) <> 'Yes') THEN
p1_ := Customer_Order_Transfer_API.Allowed_To_Send(ord_no_, 'ORDRSP');
Customer_Order_Flow_API.Check_All_License_Connected(p1_, ord_no_);
attr_ := 'START_EVENT70ORDER_NO' || ord_no_ || 'END';
Customer_Order_Flow_API.Start_Create_Pick_List__(attr_);
COMMIT;
END IF;
These commands are shown in debug console when you create pick list from the QOFH screen, but don’t seem to work when i call them in a procedure. Appreciate any help with the code, or with applying criteria to menu items.
TIA. Chris.
Best answer by Harley
View original