Newbies BoloMan28 Posted March 9, 2019 Newbies Posted March 9, 2019 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.
Steve Martino Posted March 9, 2019 Posted March 9, 2019 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? 1
onefish Posted March 9, 2019 Posted March 9, 2019 (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 March 9, 2019 by onefish 1
Newbies BoloMan28 Posted March 11, 2019 Author Newbies Posted March 11, 2019 I removed the PCQB_RqCloseRelatedRecord, still returns error.
PCIPal Posted March 11, 2019 Posted March 11, 2019 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. Thanks! CT
Newbies BoloMan28 Posted March 13, 2019 Author Newbies Posted March 13, 2019 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?
Geoffrey Gerhard Posted March 13, 2019 Posted March 13, 2019 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 BoloMan28 Posted March 14, 2019 Author Newbies Posted March 14, 2019 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.?
Geoffrey Gerhard Posted March 14, 2019 Posted March 14, 2019 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 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now