QuickBooks error message: The transaction is empty.
-
Steven Price
<?xml version="1.0" ?> <?qbxml version="2.0"?> <QBXML> <QBXMLMsgsRq onError="stopOnError"> <CheckAddRq> <CheckAdd> <AccountRef> <FullName>Checking</FullName> </AccountRef> <PayeeEntityRef> <FullName>Barley, Renee</FullName> </PayeeEntityRef> <TxnDate>2007-12-15</TxnDate> <Memo>Refund for overpayment</Memo> <IsToBePrinted>1</IsToBePrinted> <ExpenseLineAdd> <AccountRef> <FullName>Accounts Receivable</FullName> </AccountRef> <Amount>100.00</Amount> <CustomerRef> <FullName>Barley, Renee</FullName> </CustomerRef> </ExpenseLineAdd> </CheckAdd> </CheckAddRq> </QBXMLMsgsRq> </QBXML> -
Daniel Parker
- State changed from new to open
Side product: Fixed bug not allowing a regular Time object to be passed in to a Date field.
:TxnDate => Time.now.to_date.to_s- is now no longer necessary, just use Time.now or Time.today.
-
Steven Price
Quickbooks::QuickbooksAPIError: #3040: There was an error when converting the amount "2000" in the field "Amount".
-
Daniel Parker
- State changed from open to hold
That's because QuickBooks wants the Amount field to have two decimal places in it. Even though the regexp in the specs say it's optional.
I'll plan to have Amounts automatically formatted correctly by next release.
-
Daniel Parker
- State changed from hold to open
-
Daniel Parker
- State changed from open to resolved
Amount is now automatically formatted properly, you can give it just about anything that makes sense, even a string like "-$250".
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.