Technically you can create a receipt head with only a Supplier and Packing Slip but it looks like you want to also include the PO number.
One strategy is to create a receipt in the Epicor client filling in the least amount of required information, while generating a client trace. Try to have values(like vendor num) ready to enter, if you avoid opening any search screens you’re trace will be cleaner. Then diff the relevant part of the trace to get the minimum number of required fields you need to populate in code. You can use any diff tool, but this tool was written specifically for this and makes it easy to diff the relevant part. That page has a tutorial, check it out.
I just ran a quick test, used the diff tool, and came up with these as the min required fields(if including the PO number):
A couple things:
-
Many of these values come from previous BO method call responses, this will be evident in the trace.
-
You may be able to omit some of these, you can test and see