Autocreate API
We are using the autocreate API in order to create purchase orders from an interface.
We feed all the interface tables (po_lines_interface, po_headers interface) with the info needed to create the PO's (item, price, line num etc.). The autocreate API assigns line numbers to the PO lines by the following logic: it takes the highest line number (for example 10) and creates the lines with following numbers (11, 12, 13). For some reason it ignores the line numbers inserted into the interface tables.
I need help to find a way for the autocreate API to assign po_line numbers from the interface table. (Maybe there is some kind of a profile that is responsible for that).