Friday, April 20, 2012

eConnect error 241 - taRMTransaction

Document Number for the Cash Payment (DCNUMCSH) already exists in the RM Keys Master Table - RM00401.

sometimes you will get this error when you are calling the eConnect method taRMTransaction and you’re trying to create a AR document (Invoice , Debit Memo) and on same time you are trying to collect the cash on fly as per eConnect functionality user can collect the cash directly in the AR document (Invoice , Debit Memo) by providing the following details:

Cash Amount                        
Checkbook ID Cash                                                
Cash Date
Document Number Cash        

This issue could occur because Document Number Cash / RMDTYPAL=9 (Cash) which system pass to  eConnect has document already exists RM Keys Master Table, there could be many reasons behind this issue e.g. if you are calling eConnect or any other script to generate the cash document number and if this script failed to update the next document number properly you will end with this issue.

As solution before you call the taRMTransaction. you need to verify the cash document number which you passing to eConnect and if the document number already exists in RM00401 then you can get another document number, also you can through an error in the integration process and you can investigate more behind this issue.


No comments:

Post a Comment

SSRS - How to Parameterizing the SQL Query

We need to create separated dataset to handle the pre defined list in that dataset we will use simple select statement to define the li...