March 9, 20196 yr Newbies 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.
March 9, 20196 yr 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?
March 9, 20196 yr ---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, 20196 yr by onefish
March 11, 20196 yr 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
March 13, 20196 yr Author Newbies 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?
March 13, 20196 yr 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
March 14, 20196 yr Author Newbies 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.?
March 14, 20196 yr 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
Create an account or sign in to comment