Author Topic: "Ship Via" and Customer "Additional Info" Fields  (Read 1238 times)

gdurniak

  • Member
  • *
  • Posts: 3
"Ship Via" and Customer "Additional Info" Fields
« on: August 09, 2012, 05:45:34 AM »
Two Questions:

- we would like to PUSH  the "ship via" field for an invoice.  Is this possible ?  Is this field called:  ShipMethodRef.FullName  ?

- if we define new Custom fields in the CUSTOMER "additional info" tab,  and place them on the Invoice Header,  can I Push data
to them ?

   e.g. http://community.intuit.com/posts/how-to-add-header-fields-on-invoices

thanks !

Geoffrey Gerhard

  • Guru
  • Member
  • ****
  • Posts: 470
Re: "Ship Via" and Customer "Additional Info" Fields
« Reply #1 on: August 09, 2012, 07:57:18 AM »
Two (and a half ) answers:

It's possible to push "ship via" using the "ShipMethodRef::FullName" element.

You can push data to Custom Fields assigned to the QB Customer List that appear on an Invoice, but you'll need to do so in a second Request because there's no structure for pushing them as part of an Invoice Add Request. Create a DataExtMod Request (a DataExtAdd Request also works but is--AFAIK--never required) that includes...

RqAddFieldWithValue ( "TxnDataExtType" ; "Invoice" )
RqAddFieldWithValue ( "TxnID" ; x )

...where "x" is the TxnID of the Invoice you just added.

HTH!


Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC  28105
704) 814-6852