I am trying to create a custom menu RMB on the Sales Part screen in IFS Apps 8.
I want it to go to the Purchase Order Lines screen and pass in a part number as a parameter.
I am using the code below which looks OK. If I paste "ifsapf:tbwPurchaseOrderLine?COMPANY=100" into the address bar of IFS it goes to that screen.
SalSendMsg(hWndMDI, PM_Navigate, METHOD_Execute, SalHStringToNumber('ifsapf://tbwPurchaseOrderLine?COMPANY=100?PART_NO=' ||hWndForm.frmSalesPart.dfsPartNo))
I have a screen cap of the custom event here:https://ibb.co/94wyd5R
I am getting the error below when I execute it. I definitely have the permissions under the profile I am logged in to IFS. Can anyone help? Thank you.
Illegal SQL rejected: ifs.fnd.services.plsqlserver.service.security.RejectedSqlException: ILLEGALFUNC:Illegal function: HWNDMDI