Hi, I have econnect working with creating a invoice from a sales order transaction. The Invoice doc number is being created using the GetNextSopNumber() from econnect also. I am running into problems when I am trying to create an invoice from a SO with lots. Is there some documentation on how to create the invoice by using the SO lots that were already allocated?