Open rashi7863 opened 2 months ago
Hello Greg, Are you there?
Hello Rashi,
So for not responding earlier. I was in Africa for 10 days in areas that did not have internet coverage and still trying to get caught up.
I will look at this tonight and see if I can get this resolved for you. On another note, my need for work with Quickbooks has diminished this year. Do you want me to add you to the repo for the project so that you can add/update code yourself? The code is several years old so could use A LOT of reorganization to meet best standards. 😀
Let me know if you are interested in that.
Hello Greg, sure you can add me as well. For now, I would prefer if you have time for this request. I will start contribution for the upcoming ones.
Hello Rashi,
I am looking into this now. I see that the query requests do not have the Terms field. But I do see that I have Terms for the following: InvoiceAddRq InvoiceModRq SalesOrderAddRq SalesOrderModRq CustomerAddRq CustomerModRq
I also see that the results view does have a Terms field but the XML deserializer is looking for TermsRef. Do you have a sample XML result so that I can look at some more.
Can you also verify that the Add/Mod requests do not have a Terms field?
Thanks
Here is an updated beta version with the Terms added to the query requests for Customer, Invoice and SalesOrder. Let me know if this works for the query requests.
Thanks
https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/termsquery
Terms is a totally separate entity, Salesorders, customers, and invoice has only reference to that.
The rest of the details will be saved separately.
So Terms is a totally separate table and has its own details.
Their link is being returned in Customers etc, that is good.
But I can't fetch the details of the term.
Basically ignore customers, invoices etc
Assume We have this API: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/termsquery
and we want to sync data
Ahhhhh, that makes sense. I see what you're saying. I will work on it tonight and send you another beta version to test.
Thanks
`<?xml version="1.0" ?>
Above is the xml that came in response. That contain two type of objects. DateDrivenTermsRet
and StandardTermsRet
Hello Rashi,
Thanks for including the XML. That saved us a lot of time going back and forth. The results from the QBXML is in a slightly different format than the rest of the objects. I had to override my custom ReadXML to read the data.
I added a TermsQueryRq model. It should return an XML that can be converted to TermsRs. The TermsRs model will contain 2 lists. One for StandardTerms and one for DateDrivenTerms. It also has 2 properties TotalStandardTerms and TotalDateDrivenTerms.
Please try this new beta version and let me know if anything does not work.
Thanks
Great. Thanks Greg, Thats what I was looking for. Great help <3. I will test will let you if something fails.
I saw that there was a StandardTermsAdd and DateDrivenTermsAdd requests. I added those models to this beta 3 version. I know you didn't request this but it's here if you want to test that feature.
Yes for now add etc wasn't need. Well thank you for that. so nice of you buddy <3
Hello Greg, How are you friend?
I'm working on Terms for the Customers, Sales Orders and Invoices. This is separate entity which is linked with above ones. https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/termsquery
Found that terms models are not available, including, Query, Rs models etc.