Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hope someone can give me a hand.

Any Idea why in a PCQB_RqNew("SalesOrderAdd" ; ""  )

this would cause the following error: PCQB_RqAddFieldWithValue( "BillAddress::Addr1"; FM_Order::Billing_street_1 )

Quote

CODE: -1000
SEVERITY: failed validation
MESSAGE: Error at BillAddress
Reason:    Element 'BillAddress' is unexpected according to content model of parent element 'SalesOrderAdd'.
Expecting: SalesRepRef, FOB, ShipDate, ShipMethodRef, ItemSalesTaxRef, IsManuallyClosed, Memo, CustomerMsgRef, IsToBePrinted, IsToBeEmailed, IsTaxIncluded, CustomerSalesTaxCodeRef, Other, ExchangeRate, ExternalGUID, SalesOrderLineAdd, SalesOrderLineGroupAdd.

Field Value:

It shows in the QuickBooks IDN as an option almost identical to how it shows for CustomerAdd but for some reason is not working in SalesOrderADD.

That message means that you've added the BillAddress node out of sequence. From the "Expecting: SalesRepRef" message, it appears that you're adding it after the DueDate element. BillAddress cannot precede RefNumber, and must precede ShipAddress, PONumber, TermsRef, DueDate, etc.

 

HTH!

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC 28105
704.814.6852

  • Author

Thanks Geoffrey!  I will give that a shot, just to follow up with something that may save me lots of hassle in the future, is the IDN listed in Order, I.E. if I had put the Add Fields in the Order they show on the IDN I would have saved myself?

 

Thanks Again.

Yup! I use the XMLOps tab on the OSR page ( https://static.developer.intuit.com/qbSDK-current/common/newosr/index.html ) for reference. It lists the elements in the right order, identifies whether they're required or optional, and shows the default/alternate values for ENUMTYPE elements. I think I've seen alternate pages that show detail, but didn't like the page layouts and scrolling needed to navigate and find what I needed.

HTH!

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC 28105
704.814.6852

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.