Promotions Managed Package Details
The Pitcher Promotions
Managed Package allows the management of promotions in Salesforce for use in Pitcher applications. Let us see the contents and the configuration of the latest Pitcher Promotions
Managed Package.
Package Components
A Package Component is a basic building block of a Salesforce Managed Package. Check this Salesforce Package-able Components Documentation for different supported components which can be packaged.
Custom Objects
Pitcher’s Promotions Managed Package installs the following custom objects listed below:
Promotion Object
A Promotion (PCH__Promotion__c
) object is a template that is defined to contain general promotion details so that it could be applied to Promotional Products. It has a master-child relationship with the Promotion Product object.
Promotion Product Object
The Promotion Product (PCH__Promotion_Product__c
) object contains details of a product that is specifically created for promotional purposes.
Custom Fields & Resources
The Pitcher Promotion
Managed Package extends many custom fields to the following standard or custom SFDC objects as listed below:
Allocation
These are the fields and resources which have been extended to this package -
Tactic
Pitcher Promotion
Managed Package installs the following components within other standard or custom objects to link records:
Custom Label
Custom Labels are used for language translation. There are the custom labels defined by the managed package:
Full Name | Value |
---|---|
| Add New |
| Cancel |
| Clear Filters |
| Confirm |
| Date |
| Promotion Details |
| Filters |
| Go to Record |
| Group by |
| (No Value) |
| Promotion Calendar |
| Month |
| Next |
| None |
| No Results |
| Previous |
| Products |
| Search... |
| Tactics |
| Today |
| Type |
| View |
| Week |
| Year |
Lightning Web Components (LWC)
Lightening Web Components (LWC) are customizable and reusable building blocks of the user interface (similar to Aura components, but using newer technology)
Name | Type |
---|---|
| The calendar component allows users to quickly browse through weeks/months/years and check what promotions have been planned. The view can be filtered and the records may be edited or created. |
| Single promotion item that is displayed in |
Custom Tabs
The Promotions Managed Package installs two custom tabs.
Promotion - This tab appears when a user with operations permission tries to access the Promotions app on Salesforce.
The Promotions Tab
Promotion Planning - This tab appears when a user with operations permission tries to access the Promotions Planning app to work on the Promotion Calendar on Salesforce.
The Promotion Planning Tab
Any custom additional permission sets can also be used to determine access to these tabs.
Apex Classes
Pitcher’s Promotions Package installs the following Apex Classes that are used for the proper functioning and execution of the promotions:
EXT_PromotionBuilder_CTL
EXT_PromotionBuilderActions
PromoCalendarController
SCH_PromotionAllocationBatchScheduler
Custom Metadata
Pitcher Promotions Managed Package installs the following custom metadata components:
Apex Managed Sharing Setting
The custom metadata of APEX Managed Sharing Settings (Apex_Managed_Sharing_Setting__mdt
) is used to determine the configurations for APEX sharing for certain objects. For more information, see https://pitcher-ag.atlassian.net/wiki/spaces/APPS/pages/247399283/Apps+Managed+Package+Details#APEX-Managed-Sharing-Settings.
Pitcher Promotions Managed Package installs the following APEX Managed Sharing Settings records to make use of the APEX sharing process within this package:
Lightning Builder Related Custom Metadata
All these custom metadata types are used to configure the Lightning Builder. For more information, see https://pitcher-ag.atlassian.net/wiki/spaces/APPS/pages/247399283/Apps+Managed+Package+Details#APEX-Managed-Sharing-Settings.
Permission Sets
Pitcher Promotions Managed Package installs the following permission sets that are used to provide users with suitable access to the Pitcher application:
PITCHER-Promotion Operations
permission set is used to set permissions for administrators for back-end (Salesforce) users.PITCHER-Promotion Rep
permission set is used to set permissions for front-end users.
Operations users are assumed to be managing content for the field team and Reps are the regular users in the field using Pitcher.
Package Installation
To learn how to install this package and the post-installation steps, see Installing the Promotions Managed Package