Converting Relationships
Realtionships and Reports
IMPORTANT Converting a relationship from lookup to master-detail or vice versa can cause existing custom reports to become unusable due to the different standard report types available for each type of relationship. We recommend that you test your custom reports immediately after converting the relationship type. If you revert your relationship back to the original type, the reports are restored and become usable again
Audit Fields
Enable ‘Create Audit Fields’
After enabling these organization wide permissions:
Grant the following profile permissions to your Users with custom profiles (see notes below for standard profiles):
Optional: create and configure a permission set
Price book
A price book is a list of products and their prices.
Changing price book in an opportunity
If you change the price book for an opportunity that has products, all products are deleted from the Products related list, but the value in the opportunity’s Amount field remains.
You can use the Salesforce mobile app to relate a price book with an opportunity that doesn’t already have one.
To change an opportunity’s price book, use the desktop Salesforce site.
Deleting a price book entry
Deleting Price Books
You can’t recover or delete an archived price book.
Regenerate a File Preview
If a file preview is of poor quality, you can try to regenerate the preview. Available for Salesforce Files and CRM content documents that can be previewed.
When you regenerate a preview, the new preview request is added to a queue and the existing preview is deleted. During this time, users won’t see a file preview.
File previews aren’t available for files larger than 25 MB, unknown file types, password-protected files, and copy-protected PDFs. For files that you can’t preview, the Preview option isn’t available on feeds or list views, and files appear as generic file type icons in the feed.
Mapping Set
A mapping set is a group of related objects that need to be mapped between the data source and the Cloud Information Model.
It aligns and transforms the data across the connected orgs.
Used in Customer 360 Data Manager
Geolocation fields
A geolocation field counts toward the org’s limits as three custom fields.
Only the individual field components of a geolocation field can be modified or exported.
Although longitude values can be within -180 and 180, latitude values must be within -90 and 90.
Also, the DISTANCE formula is used to calculate the distance between two locations in miles or kilometers.
The GEOLOCATION formula returns a geolocation based on the provided latitude and longitude and must be used with the DISTANCE function.
Self Relationship
A self-relationship can be defined using a lookup relationship field to relate an object to itself.
For example, the Flight object can be related to itself.
Audit Fields
The ‘Enable Set Audit Fields upon Record Creation’ user permission allows a user to set audit fields, such as Created By, Last Modified By, and Created Date.
VS Code
Salesforce Extensions for Visual Code and Metadata API can be used to retrieve, deploy, create, update or delete customization information.
Mapping set
A mapping set is a group of related objects that includes a source schema and a target schema.
Mapping sets can be created between objects and fields within the source schema and the Cloud Information Model.
Mapping sets can be edited by adding other objects and fields.
Mapping Version
A mapping version needs to be activated when data from one source needs to be used in another data source
Person Accounts
Account news is available only for business accounts - NOT person accounts
If person accounts are enabled, the organization-wide default sharing must be set in one of the following ways. Contacts are set to Controlled by Parent, or accounts and contacts are both set to Private.
Managing Ownership Skew
If you do have a compelling reason for assigning ownership to a small number of users, you can minimize possible performance impacts by not assigning the user(s) to a role.
If the user(s) must have a role to share data, we recommend that you:
Tuning Group Membership for Performance
Record Level Locking
When updating child records in Salesforce, the system locks the parent and the child records to prevent inconsistencies
When objects being processed have a parent-child relationship, two situations in particular pose a risk of producing locking errors.
Parallel Sharing Rule Recalculation
When this feature is turned on, sharing rules are processed asynchronously and split into multiple simultaneous execution threads based on load. The processing is also more resilient; during a server restart, the jobs will be reinstated on the queue, and the process will continue when the server comes back online.
NEED TO CONTACT SALESFORCE TO ENABLE THIS FEATURE
Picklist Limits
custom picklist field can have up to 1000 values,
When to use Standard order vs custom object
refrer: https://www.notion.so/Scenario-Solution-2-7d85523a56e74e5aa1dca43fce2686ec#f9ef7cbe16a34b2aa094e51d2eb45d65
Data taxonomy
A data taxonomy can be defined to classify products into categories and subcategories and introduce terminologies and semantics
Data Lineage
Defining a data lineage includes specifying the data origin, how data are affected, and how the records move within the lifecycle.