Author Topic: Something missing Push Customer to QB - Ref: OSR list order  (Read 1023 times)

WillzShire

  • Member
  • *
  • Posts: 40
    • Design Data Concepts, LLC
Push Customer to QB
I must have something missing or out of order
RE: OSR list for Customer Add


PCQB_RqNew( "CustomerAdd" ) &
PCQB_RqAddFieldWithValue("Name" ; Contacts_::Contact Company Name ) &
PCQB_RqAddFieldWithValue("FullName" ; Contacts_::FullName ) &
PCQB_RqAddFieldWithValue("CompanyName" ; Contacts_::Contact Company Name ) &
PCQB_RqAddFieldWithValue("Salutation" ; Contacts_::Title ) &
PCQB_RqAddFieldWithValue("FirstName" ; Contacts_::FirstName ) &
PCQB_RqAddFieldWithValue("MiddleName" ; Contacts_::MiddleName ) &
PCQB_RqAddFieldWithValue("LastName" ; Contacts_::LastName ) &
PCQB_RqAddFieldWithValue("JobTitle"; Contacts_::Contact Company Name ) &
PCQB_RqAddFieldWithValue("BillAddressAddr1" ; Contacts_::Contact Address ) &   
PCQB_RqAddFieldWithValue("BillAddressCity" ;Contacts_::Contact City ) &
PCQB_RqAddFieldWithValue("BillAddressState" ;Contacts_::Contact State ) &
PCQB_RqAddFieldWithValue("BillAddressPostalCode" ;Contacts_::Contact Zip ) &
PCQB_RqAddFieldWithValue("Country" ;Contacts_::Contact Country ) &
PCQB_RqAddFieldWithValue("Phone" ;Contacts_::Contact Phone ) &
PCQB_RqAddFieldWithValue("Emaill" ;Contacts_::Contact Email )

All "0" until End Session
Error occurs at End Session

CODE: -1000
SEVERITY: failed validation
MESSAGE: Error at FullName
Reason:   Element 'FullName' is unexpected according to content model of parent element 'CustomerAdd'.
Expecting: IsActive, ClassRef, ParentRef, CompanyName, Salutation, FirstName, MiddleName, LastName, Suffix, JobTitle, BillAddress, Ship....

Field Value:   

Thank You
WillzShire

Jerel Malong

  • Global Moderator
  • Member
  • *****
  • Posts: 97
Re: Something missing Push Customer to QB - Ref: OSR list order
« Reply #1 on: June 04, 2014, 09:37:32 AM »
"FullName" is not a valid parameter in "CustomerAdd."

Here's a link to the OSR for your reference to assist with what can/cannot be passed.

https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html