Author Topic: ReceivePaymentMod  (Read 1761 times)

LelandLong

  • Member
  • *
  • Posts: 7
    • Keller Interiors, Inc.
ReceivePaymentMod
« on: October 29, 2012, 12:06:21 PM »
Using FMBooksConnector for quite awhile now. Am quite familiar with the Onscreen Reference.
Having no problems creating and modifying customers & invoices.
Creating Payments just fine as well, BUT in trying to modify payments I am getting error 3170 consistently.
Intuit doc's not revealing a clue. Google not being as helpful as I wished.
Can anyone shed some light...   
Leland Long
I.T. Director
Keller Interiors, Inc.
lelandlong@kellerinteriors.com

Geoffrey Gerhard

  • Guru
  • Member
  • ****
  • Posts: 470
Re: ReceivePaymentMod
« Reply #1 on: October 29, 2012, 12:30:54 PM »
The value of CODE is not especially helpful. What is the value of the MESSAGE in the PCQB_SGetStatus result?

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC  28105
704) 814-6852

LelandLong

  • Member
  • *
  • Posts: 7
    • Keller Interiors, Inc.
Re: ReceivePaymentMod
« Reply #2 on: October 30, 2012, 06:55:11 AM »
I knew what I was thinking, what, you didn't?! LOL  ::)
Need to turn up my ESP evidently...

As for more specifics, here's the

$theRequestXML:
<?xml version="1.0" encoding="ISO-8859-1" ?><?qbxml version="11.0" ?><QBXML><QBXMLMsgsRq onError="stopOnError"><ReceivePaymentModRq><ReceivePaymentMod><TxnID>51AF0-1350911497</TxnID><EditSequence>1350911497</EditSequence><TxnDate>2012-10-17</TxnDate><TotalAmount>597.23</TotalAmount></ReceivePaymentMod></ReceivePaymentModRq></QBXMLMsgsRq></QBXML>


$theResponseXML:
<?xml version="1.0"?>
<QBXML>
   <QBXMLMsgsRs>
      <ReceivePaymentModRs statusCode="3170" statusSeverity="Error" statusMessage="There was an error when modifying a ReceivePayment.  QuickBooks error message: Transaction not in balance."/>
   </QBXMLMsgsRs>
</QBXML>


$theStatus:
CODE: 3170
SEVERITY: Error
MESSAGE: There was an error when modifying a ReceivePayment.  QuickBooks error message: Transaction not in balance.
Leland Long
I.T. Director
Keller Interiors, Inc.
lelandlong@kellerinteriors.com

Vattas

  • Member
  • *
  • Posts: 6
Re: ReceivePaymentMod
« Reply #3 on: October 30, 2012, 11:33:19 AM »

Geoffrey Gerhard

  • Guru
  • Member
  • ****
  • Posts: 470
Re: ReceivePaymentMod
« Reply #4 on: October 30, 2012, 12:18:35 PM »
I don't think the linked issue is relevant. I presume the issue is that you aren't modifying or adding a linked Txn, and therefore the new value of Amount is out of balance with the Txn lines that identify the ReceivePayment's distribution.


HTH!

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC  28105
704) 814-6852