ItemType Property
The type of item.
Syntax
public int getItemType(); public void setItemType(int itemType);
Enumerated values: public final static int itUnknown = 0; public final static int itService = 1; public final static int itInventory = 2; public final static int itNonInventory = 3; public final static int itPayment = 4; public final static int itDiscount = 5; public final static int itSalesTax = 6; public final static int itSubtotal = 7; public final static int itOtherCharge = 8; public final static int itInventoryAssembly = 9; public final static int itGroup = 10; public final static int itSalesTaxGroup = 11; public final static int itFixedAsset = 12;
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:
itUnknown | 0 |
itService | 1 |
itInventory | 2 |
itNonInventory | 3 |
itPayment | 4 |
itDiscount | 5 |
itSalesTax | 6 |
itSubtotal | 7 |
itOtherCharge | 8 |
itInventoryAssembly | 9 |
itGroup | 10 |
itSalesTaxGroup | 11 |
itFixedAsset | 12 |
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 Items | ItemName, Description, Parent*, IsActive, SalesTaxCode*, Price, PricePercent, Account*, PurchaseCost, PurchaseDescription, PurchasePreferredVendor*, PurchaseExpenseAccount*. |
Non-Inventory Items | Same as for service items. |
Inventory Items | ItemName, Description, Parent*, IsActive, SalesTaxCode*, Price, PricePercent, Account*, PurchaseCost, PurchaseDescription, PurchasePreferredVendor*, PurchaseAssetAccount*, PurchaseCOGSAccount*, InventoryReorderPoint, InventoryQuantityOnHand, InventoryAverageCost, InventoryQuantityOnOrder, InventoryQuantityOnSalesOrder, InventoryDate. |
Payment Items | ItemName, IsActive, Description, Account*, PaymentMethod*. |
Discount Items | ItemName, IsActive, Parent*, SalesTaxCode*, Description, Price, PricePercent, Account*. |
Sales Tax Items | ItemName, IsActive, Description, TaxRate, TaxVendor*. |
Subtotal Items | ItemName, IsActive, Description. |
Other Charge Items | Same as for service items. |
This property is required.
Default Value
0