Author Topic: BillAdd  (Read 917 times)

czelinske

  • Member
  • *
  • Posts: 6
BillAdd
« on: October 15, 2015, 01:49:49 PM »
I am trying to use BillAdd to move Bill info from FM to QB.  I am getting the error:

Code:  3180
Severity:  Error
Message:  There was an error when saving a Bill.  QuickBooks error message:  Only one a/r or a/p account allowed per transaction

Any idea what I am doing wrong here?  I am using BillAdd to get the initial Bill info.  Then I use PCQB_RqAddRelatedRecord ("ExpenseLineAdd" ; "") to get the bill detail added.  After this I call AccountRef::FullName; "Accounts Payable" and the Amount of the bill.

What am I missing?

Cindy

czelinske

  • Member
  • *
  • Posts: 6
Re: BillAdd
« Reply #1 on: October 15, 2015, 04:11:18 PM »
I think I got this figured out.  I was missing the APAccountRef line.  I added this and it worked.

Cindy