Ok – there is definitely something weird going on between those two tables. Let me describe the process
1) Issue an Insert to Table “ARRefundCreditCard” – Response is successful.
2) Extract the RecordID from the response for later use.
3) Issue an Insert to Table “ARRefundCreditCardAppliedToTxn” and use the following parameters:
- TxnRecordID – A RecordID I extract from the “Receive Payment” table associated with the customer.
- TxnType – “ReceivePayment” – I’m not applying the refund to a Credit Memo but
Receive Payment previously entered for this customer.
ARRefundCreditCardRecordID – The RecordID previously extracted
If I do not send the 2nd request shown on (3) – I’m getting an
error when syncing which DOES NOT appear in the conflicts list and I cannot get rid of it unless posting (3).
When posting (3) the error does show in the conflicts list
is pretty straightforward:
QuickBooks returned an error when adding/modifying a accARRefundCreditCard record. The error was: Object "1FC8B-1344062113" specified in the request cannot be found. . The Request was: <?xml version="1.0" encoding="windows-1252" ?> <?qbxml version="8.0" ?> <QBXML><QBXMLMsgsRq onError="stopOnError"><ARRefundCreditCardAddRq requestID="qx_1"><ARRefundCreditCardAdd><CustomerRef><ListID>80000D49-1342043320</ListID></CustomerRef><RefundFromAccountRef><ListID>8000002A-1252349144</ListID></RefundFromAccountRef><ARAccountRef><ListID>80000024-1249941016</ListID></ARAccountRef><TxnDate>2012-08-05</TxnDate><RefNumber>1234567</RefNumber><Memo>Processed By: Nick.W. Processed On: 8/4/2012 6:36:48 PM. Transcation Type: CREDIT. Amount: 500. Original Processor Response:</Memo><RefundAppliedToTxnAdd><TxnID>1FC8B-1344062113</TxnID><RefundAmount>500.00</RefundAmount></RefundAppliedToTxnAdd></ARRefundCreditCardAdd></ARRefundCreditCardAddRq></QBXMLMsgsRq></QBXML>
Problem is the Transaction ID 1FC8B-1344062113 is CORRECT and reflects the “Receive Payment” for the customer. I doubled checked this 5 times. What am I doing wrong here?