Thanks. Unfortunately, the InventTransId is not something that the vendor is going to know or be able to put on the XML when it is created. However, I was able to write a class that will intercept the XML in the pipeline, retrieve the InventTransId from the PurchLine table based on the PurchId & PurchLineLineNumber on the XML, and then add the InventTransId to the XML before sending it on into AX. Seems to be working alright. Thanks for the help.
↧
Forum Post: RE: Using the VendVendInvoiceService to import vendor invoices, including stocked items
↧