UnitOfMeasure Property
Unit of measure describing the Quantity .
Syntax
ANSI (Cross Platform) char* GetUnitOfMeasure();
int SetUnitOfMeasure(const char* lpszUnitOfMeasure); Unicode (Windows) LPWSTR GetUnitOfMeasure();
INT SetUnitOfMeasure(LPCWSTR lpszUnitOfMeasure);
@property (nonatomic,readwrite,assign,getter=unitOfMeasure,setter=setUnitOfMeasure:) NSString* unitOfMeasure; - (NSString*)unitOfMeasure; - (void)setUnitOfMeasure:(NSString*)newUnitOfMeasure;
#define PID_LINEITEMGROUPS_UNITOFMEASURE 37 INQB_EXTERNAL void* INQB_CALL InQB_LineItemGroups_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_LineItemGroups_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
In a transaction line item, the name of the unit of measure selected from within the item's available units. If the company file is enabled only for single unit of measure per item, this must be the base unit!
This property is only available for QBXMLVersion 7.0 and higher.
Data Type
String