Please disregard, I found the solution.
I set all the SOURCE_REF fields with the PO data. I had another procedure call that was causing that error. I removed that and I did not receive an error, but the receipt was not created.
I changed the parameter and I get and that “The Purchase Receipt has already been removed by another user.” That error is coming from RECEIVE_ORDER_API.
Disregard, I missed your comment about non inventory receipt. When I try an use the Receive_Order_API.Packed_Arrival I get an error stated that PACKED_ARRIVAL is not a procedure or is undefined. I’m assuming because it’s a function.
Thank you for that information, it is helpful. However, that looks to be receiving no part lines as the cursor is selecting from PURCHASE_ORDER_LINE_TAB where ROWTYPE = ‘PurchaseOrderLineNoPart’. I am receiving purchase orders with ROWTYPE = ‘PurchaseOrderLinePart’.
I stumbled across that yesterday and it worked perfectly. Thank you.
I have trouble with it on the customer order header, so yes, it’s sporadic.
You can use custom events for warning pop ups in IEE. The event action would need to be “Execute Online SQL”. And I use IFSAPP.CLIENT_SYS.Add_Info to give the users a warning pop up. This is the code line I use to warn user of quantities. It still saves the order line. IFSAPP.Client_SYS.Add_Info('CustomerOrder','Ordered quantity is more than available in inventory.')
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.