Git Product home page Git Product logo

Comments (17)

sflagp avatar sflagp commented on June 9, 2024 1

I'm sure you'll find more many things like that. I'm sure I used objects instead of list of objects and the other way around too. Thanks for finding that. Let me know when you find more.

QbModels.1.2.9-beta-01.zip

from qbxml-object-models.

sflagp avatar sflagp commented on June 9, 2024 1

I just uploaded the last beta version to nuget. It depends on them when it is available but it usually takes about an hour to be accepted. I will let you know when I get the email that it's published.

from qbxml-object-models.

sflagp avatar sflagp commented on June 9, 2024 1

That was quick. I got the email that it was published and verified that I can see it in nuget as a prerelease version.

from qbxml-object-models.

sflagp avatar sflagp commented on June 9, 2024 1

v1.2.9 is now on nuget which should have the DefaultShipTo for Customer. Let me know if you have any issues.

from qbxml-object-models.

sflagp avatar sflagp commented on June 9, 2024 1

Don't know why I missed that. Especially since it's a required property for a ShipToAddress. Published v1.2.10 to nuget. Should be there within an hour.

QbModels.1.2.10.zip

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

Please also consider a propery for adress object. DefaultShipTo

<ShipToAddress> <!-- must occur 0 - 50 times -->
                                       <Name >STRTYPE</Name> <!-- required -->
                                       <Addr1 >STRTYPE</Addr1> <!-- optional -->
                                       <Addr2 >STRTYPE</Addr2> <!-- optional -->
                                       <Addr3 >STRTYPE</Addr3> <!-- optional -->
                                       <Addr4 >STRTYPE</Addr4> <!-- optional -->
                                       <Addr5 >STRTYPE</Addr5> <!-- optional -->
                                       <City >STRTYPE</City> <!-- optional -->
                                       <State >STRTYPE</State> <!-- optional -->
                                       <PostalCode >STRTYPE</PostalCode> <!-- optional -->
                                       <Country >STRTYPE</Country> <!-- optional -->
                                       <Note >STRTYPE</Note> <!-- optional -->
                                       <DefaultShipTo >BOOLTYPE</DefaultShipTo> <!-- optional -->
                               </ShipToAddress>

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

Wow that was speedy.

Have you handled DefaultShipTo? in the List

from qbxml-object-models.

sflagp avatar sflagp commented on June 9, 2024

I happened to be looking at my computer when the notification came in so it was a quick fix. The funny thing is that the Add/Mod requests were already List with properties to limit it to 50 entries.

I do not see DefaultShipTo in the models anywhere. Where is the documentation on that?

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

If you go to xml response here:
https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/customerquery

You will find the following chunk of xml, check the last property of that object:

<ShipToAddress> <!-- must occur 0 - 50 times -->
                                       <Name >STRTYPE</Name> <!-- required -->
                                       <Addr1 >STRTYPE</Addr1> <!-- optional -->
                                       <Addr2 >STRTYPE</Addr2> <!-- optional -->
                                       <Addr3 >STRTYPE</Addr3> <!-- optional -->
                                       <Addr4 >STRTYPE</Addr4> <!-- optional -->
                                       <Addr5 >STRTYPE</Addr5> <!-- optional -->
                                       <City >STRTYPE</City> <!-- optional -->
                                       <State >STRTYPE</State> <!-- optional -->
                                       <PostalCode >STRTYPE</PostalCode> <!-- optional -->
                                       <Country >STRTYPE</Country> <!-- optional -->
                                       <Note >STRTYPE</Note> <!-- optional -->
                                       <DefaultShipTo >BOOLTYPE</DefaultShipTo> <!-- optional -->
                               </ShipToAddress>```
                               

from qbxml-object-models.

sflagp avatar sflagp commented on June 9, 2024

I see it now. That will require a little more work but I can take care of that. I will let you know when I have an update.

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

Sure that Would be awesome.

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

How do you publish over nuget package manager? how long it takes to publically available

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

Perfect. Thank you so much <3

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

Wow. Thank you so much, brother. Updating my package.

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

Yes. Its there now. Thank you :-)

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

If you go to xml response here: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/customerquery

You will find the following chunk of xml, check the last property of that object:

<ShipToAddress> <!-- must occur 0 - 50 times -->
                                       <Name >STRTYPE</Name> <!-- required -->
                                       <Addr1 >STRTYPE</Addr1> <!-- optional -->
                                       <Addr2 >STRTYPE</Addr2> <!-- optional -->
                                       <Addr3 >STRTYPE</Addr3> <!-- optional -->
                                       <Addr4 >STRTYPE</Addr4> <!-- optional -->
                                       <Addr5 >STRTYPE</Addr5> <!-- optional -->
                                       <City >STRTYPE</City> <!-- optional -->
                                       <State >STRTYPE</State> <!-- optional -->
                                       <PostalCode >STRTYPE</PostalCode> <!-- optional -->
                                       <Country >STRTYPE</Country> <!-- optional -->
                                       <Note >STRTYPE</Note> <!-- optional -->
                                       <DefaultShipTo >BOOLTYPE</DefaultShipTo> <!-- optional -->
                               </ShipToAddress>```
                               

Hello Greg,
Sorry this is late, But I found one more property Missing here. the first property of ShipToAddress which is Name.

from qbxml-object-models.

rashidabbas786 avatar rashidabbas786 commented on June 9, 2024

I missed it too, Then I was looking for a key in the address and found this :-D

from qbxml-object-models.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.