Hello!
I'm trying to apply some invoice payments in Dynamics GP 2010 through eConnect. First I successfully send taRMCashReceiptInsert and then follow-up with a taRMApply call to apply the payment to specified invoices. Whenever I run the taRM apply I get back this error:
Stored Procedure= taRMApply Error Description = Apply From Document (APFRDCNM) is missing;
Here's a sample of my post:
<taRMCashReceiptInsert>
<CUSTNMBR>MYCUSTOMER</CUSTNMBR>
<DOCNUMBR>PR20041004T101162</DOCNUMBR>
<DOCDATE>2013-12-18</DOCDATE>
<ORTRXAMT>7662.55</ORTRXAMT>
<GLPOSTDT>2013-12-18</GLPOSTDT>
<BACHNUMB>TEST__20140120</BACHNUMB>
<CSHRCTYP>0</CSHRCTYP>
<CHEKNMBR>PRN20041004T101162</CHEKNMBR>
</taRMCashReceiptInsert>
<RMApplyType>
<taRMApply>
<APTODCNM>STDINV2263</APTODCNM>
<APFRDCNM>PRN20041004T101162</APFRDCNM>
<APPTOAMT>7662.55</APPTOAMT>
<APFRDCTY>9</APFRDCTY>
<APTODCTY>1</APTODCTY>
<APPLYDATE>2013-12-18</APPLYDATE>
</taRMApply>
</RMApplyType>
I confirmed that I can manually apply the payment to invoices through the UI, but I can't seem to do it through eConnect. Also the payment is not in the RM20101 table, since it is not posted yet. Any thoughts what the issue could be?