QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ItemType Property

The type of item.

Syntax

ANSI (Cross Platform)
int GetItemType();
int SetItemType(int iItemType); Unicode (Windows) INT GetItemType();
INT SetItemType(INT iItemType);

Possible Values

IT_UNKNOWN(0), 
IT_SERVICE(1),
IT_INVENTORY(2),
IT_NON_INVENTORY(3),
IT_PAYMENT(4),
IT_DISCOUNT(5),
IT_SALES_TAX(6),
IT_SUBTOTAL(7),
IT_OTHER_CHARGE(8),
IT_INVENTORY_ASSEMBLY(9),
IT_GROUP(10),
IT_SALES_TAX_GROUP(11),
IT_FIXED_ASSET(12)
@property (nonatomic,readwrite,assign,getter=itemType,setter=setItemType:) int itemType;
- (int)itemType;
- (void)setItemType:(int)newItemType;

Possible Values

IT_UNKNOWN(0), 
IT_SERVICE(1),
IT_INVENTORY(2),
IT_NON_INVENTORY(3),
IT_PAYMENT(4),
IT_DISCOUNT(5),
IT_SALES_TAX(6),
IT_SUBTOTAL(7),
IT_OTHER_CHARGE(8),
IT_INVENTORY_ASSEMBLY(9),
IT_GROUP(10),
IT_SALES_TAX_GROUP(11),
IT_FIXED_ASSET(12)
#define PID_ITEM_ITEMTYPE 9

INQB_EXTERNAL void* INQB_CALL InQB_Item_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_Item_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

The type of item. It is necessary to specify this before invoking Add or Update. It is not necessary to specify before a call to Get however.

The following values are permitted:

itUnknown0
itService1
itInventory2
itNonInventory3
itPayment4
itDiscount5
itSalesTax6
itSubtotal7
itOtherCharge8
itInventoryAssembly9
itGroup10
itSalesTaxGroup11
itFixedAsset12

The following properties may be specified for each type of item. Required properties are in bold, reference (Name or Id) properties are starred, and special fields are in italics.

Service ItemsItemName, Description, Parent*, IsActive, SalesTaxCode*, Price, PricePercent, Account*, PurchaseCost, PurchaseDescription, PurchasePreferredVendor*, PurchaseExpenseAccount*.
Non-Inventory ItemsSame as for service items.
Inventory ItemsItemName, Description, Parent*, IsActive, SalesTaxCode*, Price, PricePercent, Account*, PurchaseCost, PurchaseDescription, PurchasePreferredVendor*, PurchaseAssetAccount*, PurchaseCOGSAccount*, InventoryReorderPoint, InventoryQuantityOnHand, InventoryAverageCost, InventoryQuantityOnOrder, InventoryQuantityOnSalesOrder, InventoryDate.
Payment ItemsItemName, IsActive, Description, Account*, PaymentMethod*.
Discount ItemsItemName, IsActive, Parent*, SalesTaxCode*, Description, Price, PricePercent, Account*.
Sales Tax ItemsItemName, IsActive, Description, TaxRate, TaxVendor*.
Subtotal ItemsItemName, IsActive, Description.
Other Charge ItemsSame as for service items.

This property is required.

Data Type

Integer

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]