Use this batch to create account team members from valid customer managers and provides
the customer managers access to the account. This batch process adds the current customer managers
to the Salesforce Account Team Member object.
Required Editions
Available in: Lightning Experience
Available in: Enterprise and
Unlimited Editions that have Consumer Goods Cloud enabled
Batch Details
The batch removes and recreates the account team members from customer managers for each batch
run:
Firstly, for each account, the batch job identifies and selects valid customer managers for
the account. A customer manager is active when the customer manager record in the Customer
Manager object meets all these conditions:
User is active
Valid From date is before or same as the lead time date
Valid Thru date is after or same as the follow-up time date
Active is checked
Creates Account Team Member records for valid customer managers with Team Role as Account
Manager and Account Access as Edit.
Calculation of lead time and follow-up time dates
Lead time and follow-up time date values are calculated as:
Lead time: The value (in days) in the System Setting (in custom setting) namely
Account_Team_Lead_Time or 0 if the setting isn’t present.
The date for
lead time is (TODAY - lead time days).
Follow-up time: The value (in days) in the System Setting (in custom setting) namely
Account_Team_Follow_Up_Time or 0 if the setting isn’t present.
The date
for follow-up time is (TODAY + follow-up time days).
Important We recommend that you retain the account access of the Consumer Goods Cloud
offline mobile app users for a few days after the customer manager assignment period is over.
This buffer set using the follow-up time gives users time to sync their devices after completing
the activities. For example, users can synchronize any pending records for upload and avoid sync
errors during the buffer.
Create a Custom Setting to Run the Enhanced Effective Account Manager Sync Batch If you upgrade the Consumer Goods Cloud Managed package to Winter ’25 or later, to use the enhanced version of the Effective Account Manager Sync batch during the Apex batch process run, create the EffectiveAccountManagerSyncBatch custom setting. For all new customers of Consumer Goods Cloud, this setting is created and enabled by default.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.