Rebate Manager Deployment
This section will guide you throw the whole process of Accelerator deployment.
Deployment from PlatformManager
The easiest way to deploy the Rebate Manager Accelerator to a partition is via PlatformManager.
Access PlatformManager at https://platform.pricefx.com/ and log in with your account or using O365. If you do not have an account yet, contact Pricefx Support.
Go to Marketplace and find the Rebate Management package.
Click the accelerator package tile, select the partition where you want to deploy the package and confirm the deployment dialog to start.
For detailed description of all deployment options, see PlatformManager documentation.Set up data source mapping.Â
Â
Select a Rebate Type to be deployed (from a list of rebate types provided in the package).Â
Â
The deployment is complete.Â
Â
Â
Manual Steps
 The current version of PlatformManager does not support deployment of the following components, so you must deploy them manually.
Synchronize Product and Customer (Optional)
If data and metadata of customers (C) and products (P) in your partition are synced, you can skip this step.
Synchronize Metadata
Go to Analytics > Data Manager > Data Sources.Â
Select Customer > click the Sync Meta icon and click the Deploy icon.
Repeat the same steps for Product.
Synchronize Data
Go to Analytics > Data Manager > Data Loads.Â
Find Type = Customers and click the Run icon to sync data.
Â
Find Type = Products and click the Run icon to sync data.Â
Check Mapping Field in Company Parameters
To be able to apply a Customer filter input and Product filter input in a rebate agreement, you need to update the mapping fields between Product/Customer master and Datamart fields.
Based on the Datamart structure and Product/Customer master in your partition, you need to update or add more mapping in two Company Parameters:
RM_ProductFieldMapping
RM_CustomerFieldMapping
Example: This is mapping in the "RM_CustomerFieldMapping" table:Â
Column "Customer Master Field Name" = "Source field" in the customer Data Source.
Column "Datamart Field Name" = Datamart field name.
Rebate Calculation
Go to Rebates > Rebates Calculations and add a rebate calculation.
Â
Enter a label "RR_Calculation".
Â
Select this Rebate Calculation and click the Calculation button.
As Feeder Formula choose RebateRecordCalculationFeeder and enter StartDate and EndDate.
Â
Save the settings.
In the Overview, you can schedule this job to run at a suitable interval.Â
Rebate Allocation
Go to Analytics > Data Manager > Data Loads.Â
Add new a Data Load and enter the Data Load label and type. The type must be "Calculation".
Â
In the right window select the Target section.Â
As Target, select the Datamart name.Â
Â
Go to the Calculation section.Â
As Feeder Formula select RebateAllocationFeeder and enter StartDate and EndDate.
Â
In the Logic section, select RebateAllocation as Logic and check the Rebates checkbox in the Formula Outputs → Target Fields column.
Â
Save the settings.
You can also schedule to run the Data Load every day.
Publishing Templates (Optional)
You may need to deploy templates if there is the Sales Compensation Accelerator installed or was recently updated on the partition. The following templates are affected:
Rebate Agreement Report (RBA Report)
Last Month Rebate Report
Month To Date Rebate Report (MTD Rebate Report)
Year To Date Rebate Report (YTD Rebate Report)
Â
Template files are stored at: https://gitlab.pricefx.eu/accelerators/rebate-manager-accelerator/-/tree/master/PublishingTemplates
Â
To deploy a template:
Go to Administration > Configuration > All Modules > Publishing Templates.Â
In the first section select "Rebate Agreements" and click New to add a new template.
Â
Enter the following information:
Name – RBA Report
Convertible to PDF – checked
Preprocessing Logic – RebateAgreementReport
Click the Upload Template button to upload the template file.Â
Â
Choose the template file "publishingTemplates_RBA_RBA Report.docx" in the Rebate Manager Accelerator.Â
Select Upload to import the file.Â
Â
After completing, the following information will be shown:
Â
Repeat the same steps for other templates:
Name | Convertible to PDF | Preprocessing Logic | Template File Name |
---|---|---|---|
Last Month Rebate Report |
| MonthlyRebateReport | publishingTemplates_RBA_Last Month Rebate Report.docx |
MTD Rebate Report |
| MonthToDateRebateReport | publishingTemplates_RBA_MTD Rebate Report.docx |
YTD Rebate Report |
| YearToDateRebateReport | publishingTemplates_RBA_YTD Rebate Report.docx |
Â