ItemType Property
The type of item to search for.
Syntax
ANSI (Cross Platform) int GetItemType();
int SetItemType(int iItemType); Unicode (Windows) INT GetItemType();
INT SetItemType(INT iItemType);
Possible Values
SIT_ALL(0),
SIT_SERVICE(1),
SIT_INVENTORY(2),
SIT_NON_INVENTORY(3),
SIT_PAYMENT(4),
SIT_DISCOUNT(5),
SIT_SALES_TAX(6),
SIT_SUBTOTAL(7),
SIT_OTHER_CHARGE(8),
SIT_INVENTORY_ASSEMBLY(9),
SIT_GROUP(10),
SIT_SALES_TAX_GROUP(11),
SIT_FIXED_ASSET(12),
SIT_SITES(13)
@property (nonatomic,readwrite,assign,getter=itemType,setter=setItemType:) int itemType; - (int)itemType; - (void)setItemType:(int)newItemType;
Possible Values
SIT_ALL(0),
SIT_SERVICE(1),
SIT_INVENTORY(2),
SIT_NON_INVENTORY(3),
SIT_PAYMENT(4),
SIT_DISCOUNT(5),
SIT_SALES_TAX(6),
SIT_SUBTOTAL(7),
SIT_OTHER_CHARGE(8),
SIT_INVENTORY_ASSEMBLY(9),
SIT_GROUP(10),
SIT_SALES_TAX_GROUP(11),
SIT_FIXED_ASSET(12),
SIT_SITES(13)
#define PID_OBJSEARCH_ITEMTYPE 23 INQB_EXTERNAL void* INQB_CALL InQB_ObjSearch_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_ObjSearch_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
The type of item to search for. Applies only to searches for items. If set to itAll (the default) the class will search for all types of items.
Data Type
Integer