efuscarino 10/12/2015 1:27:14 PM

taRMTRansaction: Error Number = 190 Stored Procedure= taRMTransaction Error Description = Document number (DOCNUMBR) already exists

Hi DynDeveloper community!

 

I'm getting an Error and I'm stuck.  Looking for anyone to share their experience.

I'm using eConnect to insert/update Credit Memos in GP.  I'm mapping to the taRMTRansaction and taRMDistrubtion stored procedures.

 I was planning on using the same stored procedures to send Credit Memo updates via eConnect, but I get an unexpected error as follows:

"Error Number = 190 Stored Procedure= taRMTransaction Error Description = Document number (DOCNUMBR) already exists"

In the microsoft documentation for the taRMTransaction node it indicates: "This node uses document exchange for updates. All existing values are overwritten with the value specified by the update document. If a field in the update is blank, the existing value is changed to be blank."

( See here: https://msdn.microsoft.com/en-us/library/jj193402.aspx)

 

I am mapping to the following elements:

RMDTYPAL

DOCNUMBR

DOCDATE

BACHNUMB

CUSTNMBR

DOCAMNT

SLSAMNT

CURNCYID

CREATEDIST

USRDEFND1

 

In other cases where I send SOP document updates I map to elements such as "Update if Exists" which is what I've seen in the taSopHdrIvcInsert and taSopLineIvcInsert, but don't see anything on the taRMTransaction to facilitate or indicate an update which is why I think I'm getting this error. 

 

Any advice would be appreciated, I'm very stuck at the moment.

Thank you!

Version: GP 2013
Section: Dynamics GP, eConnect


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3