ePro Req has 2 different vendors, so 2 PO's are created. PO line_Nbr increments by the Req, instead
Fortunately this issue only happens in the test environment. Not in prod.
To test:
- create one ePro requisition with multiple lines, and more than 1 vendor.
- run the budget check, auto source req, po calculate, po create processes.
- look in ps_PO_LN_DISTRIB for that req_id and see what the PO line_nbr's are.
Should be: po123 line 1, po123 line 2, po124 line 1, po124 line 2
Notice the PO line numbers are reset back to 1 when a new PO is assigned.
However in test environments, I'm getting this:
po123 line 1, po123 line 2, po124 line 3, po124 line 4.
This must be some kind of flag or setup that I'm missing.