Question

I am importing Quick books item data from quick books to CSV file using QBFC.

I have seen few fields have same value(103).

  1. ParentRefType = 103

  2. SalesTaxCodeRefType = 103

  3. ExpenseAccountType = 103

  4. PrefVendorType = 103

  5. PurchaseTaxCodeType = 103

Find the file here

Let me know why ? I does not see this values directly form Quick book application.

I hope this values coming from background.

Was it helpful?

Solution

The short answer is that 103 refers to the FullName Reference Type. And yes, these values are coming from the "background" of Quickbooks and QBFC so you will likely not see them anywhere in the Quickbooks UI.

All of the fields you listed above are Reference Types of a Quickbooks object (i.e. Parent, SalesTaxCode, ExpenseAccount, etc). You can reference an object through two means: a ListID or a FullName. The Type of the reference indicates whether or not the object is using a ListID reference or a FullName reference.

The integer 103 appears to be the internal identifier for a FullName reference type. Notice in your export file (Item.csv) that all of the reference objects use the FullName type to reference objects (see the columns ParentRefFullName, SalesTaxCodeRefFullName, ExpenseAccountRefFullName, etc). Notice also that the columns immediately after these are the Ref Type columns (i.e. ParentRefType, SalesTaxCodeRefType, etc). These Ref Type columns are set to 103 whenever the cell to the left (the FullName cell) contains a value. When there is no FullName reference, the Type column contains a zero (which I'm assuming means Ref Type Not Known or something similar).

The QBFC Quick Reference states the following (under the IQBBaseRef definition):

IQBBaseRef is used for all qbXML "object references," which refer to objects. For example, an AccountRef refers to an account in the chart of accounts. If a request specifies both ListID and FullName, QuickBooks will use only the ListID.

That last sentence is important to note. A ListID reference takes priority over a FullName reference. It appears though that there are no ListID references used in your export file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top