I'm trying to integrate an invoice that has distributions and invoice line items into Great Plains using eConnect and I'm having trouble with invoice line items. I think i'm using the correct eConnect objects. They are taSopHdrIvcInsert, taSopDistribution_ItemsTaSopDistribution, and taSopLineIvcInsert_ItemsTaSopLineIvcInsert.
When i call the CreateTransactionEntity I get a response back for LOCNCODE Error Number = 106 Stored Procedure= taSopLineIvcInsert Error Description = Location code does not exist in inventory. I am passing a blank value. We don't use a default location in Great Plains.
Also, i get back an additional message that states "Error Number = 3771 Stored Procedure= taSopLineIvcInsert Error Description = Item exists as a inventoried item, NONINVEN cannot be set to 1" for an invoice line item.
I've tried setting NONINVEN to 0 but then that includes an additional message that states "Error Number = 9177 Stored Procedure= taSopLineIvcInsert Error Description = Currency/Price Level/UofM combination is not included in price list for this item". It is referring to a unit of message with the value of "Flat"
Should Great Plains have default values set to work with eConnect? Or is there a way around that if we don't use default locations, etc.?
Thanks