Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2072 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hello All, 

Major Newbie here, be gentle.

Trying to PUSH a check into QB Desktop from FM17 with the following Script, returns error.

I'm definitely missing something... all help appreciated.

Screen Shot 2019-03-08 at 6.51.38 PM.png

 

 

Posted

Where are you getting the error? What error (code)?

Did you step thru with the script debugger to see where you are getting the error?

  • Like 1
Posted (edited)

---Edit--- oops, didn't realise this was in a forum devoted to the plugin

One thing that looked wrong after a cursory look at the reference material is your use of PCQB_RqCloseRelatedRecord at step 29. Shouldn't this be used to close a related record after one has been opened using something like PCQB_RqAddRelatedRecord? Doesn't appear to have anything to do with the error you posted though.

Edited by onefish
  • Haha 1
  • Newbies
Posted

I removed the PCQB_RqCloseRelatedRecord, still returns error.

Posted

Hi BoloMan28,

 

It looks like you have the APAccountRef field out of order with the intended structure of the BillPaymentAdd request schema. You need to specify the APAccountRef field after PayeeEntityRef and before TxnDate.

image.png

Thanks!

CT

  • Newbies
Posted

I'm back, I've corrected the order as suggested, Thank You.

But now I'm baffled by the TxnID. The documentation says I cannot supply a value, but if I dont it returns the following error:

 "CODE: 3150
SEVERITY: Error
MESSAGE: There is a missing element: "TxnID"

......HELP?

Screen Shot 2019-03-12 at 9.52.34 PM.png

Screen Shot 2019-03-12 at 9.51.20 PM.png

Posted

Line 25 should identify the TxnID of the Bill that's being paid by this check.

Side note: AppliedToTxnAdd may repeat. Using "AppliedToTxnAdd::xxx" works for 1-1 Check-Bill payments, but won't if you need to pay multiple Bills from a single Vendor on a single Check.

HTH!

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC 28105
704.814.6852

  • Newbies
Posted

Geoffrey,

Thank you for the reply,

"Line 25 should identify the TxnID of the Bill that's being paid by this check."

What if I don't have an Invoice or other Payable to apply the Check Payment to?

Can I still add the check? ie: Bank charges Pre-Authorized payments, vehicle or equipment leases, etc.?

Posted

Not via BillPaymentCheckAdd, as it's only for paying existing QB Bills. Look at CheckAdd as a possible alternative. It has a "ApplyCheckToTxnAdd" node that allows you to specify the Bill TxnID when you have one.

Don't recall if you must enter ExpenseLine(s) or ItemLines when there's no ApplyCheckToTxnAdd specified, but I think not.

HTH!

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC 28105
704.814.6852

  • Like 1

This topic is 2072 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.