QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

GroupName Property

Reference to a group of line items.

Syntax

ANSI (Cross Platform)
char* GetGroupName();
int SetGroupName(const char* lpszGroupName); Unicode (Windows) LPWSTR GetGroupName();
INT SetGroupName(LPCWSTR lpszGroupName);
@property (nonatomic,readwrite,assign,getter=groupName,setter=setGroupName:) NSString* groupName;
- (NSString*)groupName;
- (void)setGroupName:(NSString*)newGroupName;
#define PID_LINEITEMGROUPS_GROUPNAME 3

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

Line item groups represent sets of items that are grouped together.

A line item group is a predefined shortcut within QuickBooks. For example, a "Cheeseburger Meal" might consist of a cheeseburger, an order of french fries, and a soft drink. To include an item group in a transaction one should simply set the value of ItemGroup, and optionally, of ItemQuantity. QuickBooks will automatically expand the group into its constituent items. This will send an ItemGroup instead of a regular Item on for this index.

When an ItemGroup is returned from QuickBooks it contains xml aggregates of all of the items in the group you specified. You may access the group's regular properties (total Amount, Quantity, and Description), but the line items returned are not normally accessible. However, you may parse the returned line items by passing the contents of the Aggregate property to the LineItemGroups class. You may use the LineItemGroups class to view or change the contents of the line items, and then pass the xml aggregate generated by the class back to the Aggregate field of the original\ object to use in an Update transaction.

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]