ItemOverrideAccountName Property
An account which will override the default account for the line item.
Syntax
ANSI (Cross Platform) char* GetItemOverrideAccountName(int iItemIndex);
int SetItemOverrideAccountName(int iItemIndex, const char* lpszItemOverrideAccountName); Unicode (Windows) LPWSTR GetItemOverrideAccountName(INT iItemIndex);
INT SetItemOverrideAccountName(INT iItemIndex, LPCWSTR lpszItemOverrideAccountName);
- (NSString*)itemOverrideAccountName:(int)itemIndex; - (void)setItemOverrideAccountName:(int)itemIndex:(NSString*)newItemOverrideAccountName;
#define PID_SALESRECEIPT_ITEMOVERRIDEACCOUNTNAME 26 INQB_EXTERNAL void* INQB_CALL InQB_SalesReceipt_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_SalesReceipt_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); INQB_EXTERNAL int INQB_CALL InQB_SalesReceipt_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
An account which will override the default account for the line item. QBXMLVersion must be 2.0 or higher to use this configuration setting.
The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.
This property is not available at design time.
Data Type
String