ItemType Property
The type of item.
Syntax
public ItemItemTypes ItemType { get; set; }
enum ItemItemTypes { itUnknown, itService, itInventory, itNonInventory, itPayment, itDiscount, itSalesTax, itSubtotal, itOtherCharge, itInventoryAssembly, itGroup, itSalesTaxGroup, itFixedAsset }
Public Property ItemType As ItemItemTypes
Enum ItemItemTypes itUnknown itService itInventory itNonInventory itPayment itDiscount itSalesTax itSubtotal itOtherCharge itInventoryAssembly itGroup itSalesTaxGroup itFixedAsset End Enum
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:
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.