ccrz__E_AccountGroup__c

Represents an account group record, which associates one or more buyer accounts with entitled prices for products.

Compatibility

This reference applies to:

Release Managed Package Version API Version
B2B Commerce for Visualforce Winter ’21 4.13 12
B2B Commerce for Visualforce Spring ’20 4.12 11
B2B Commerce for Visualforce Summer ’19 4.11 10
B2B Commerce for Visualforce Spring ’19 4.10 9
B2B Commerce for Visualforce Summer ’18 4.9 8

API Usage

Class used with: The API doesn't directly query records of this object.

Instead, the ccrz.ccApiAccount return data includes the EAccountGroupR related list when the ccrz.ccApiAccount.ENTITYNAME input map key requests a medium or larger data size:

ccrz.ccApi.SIZING => new Map<String, Object> {
    ccrz.ccApiAccount.ENTITYNAME => new Map<String, Object> {
        ccrz.ccApi.SZ_DATA => ccrz.ccApi.SZ_M
    }
}

Field sizing: Each record returned in the related list always returns the same fields, regardless of requested data size.

Fields

Account Group Name
Name of the account group.
Usage Field Name Data Type
Input on object Name Text (80)
Input or output with API (with any data size) sfdcName String
Account Group ID
A unique ID that associates the record with an external system.
Usage Field Name Data Type
Input on object ccrz__AccountGroupID__c Text (128)
Input or output with API (with any data size) accountGroupID String
Data ID
The managed package only uses this field internally. Your subscriber code's unit tests developed with the ccrz.ccApiTestData class can also reference this field.
Usage Field Name Data Type
Input on object ccrz__DataId__c Text (255)
Input or output with API (with any data size) The API doesn't return data for this field.
Desc
By default, the managed package doesn't use this field.
Usage Field Name Data Type
Input on object ccrz__Desc__c Text (255)
Input or output with API (with any data size) desc String
PriceList Selection Method
How B2B Commerce for Visualforce selects the price list that's used for determining the entitled products and prices for buyers in the account group. Selecting a price list is necessary only when the account group has multiple price lists assigned. For picklist values and usage, see Price List Selection Methods for an Account Group.
Usage Field Name Data Type
Input on object ccrz__PriceListSelectionMethod__c Picklist
Input or output with API (with any data size) priceListSelectionMethod String
Theme Name
The name of a unique storefront theme to show only for buyers in the account group. This functionality is implemented by the ccrz.cc_hk_DynamicTheme extension point class. For more information, see:
Usage Field Name Data Type
Input on object ccrz__ThemeName__c Text (255)
Input or output with API (with any data size) themeName String