Managing Mapping Rules
The mapping rule list page displays a list of mapping rules in your current company and view. From this page, you can view detailed information and access other related information.
- Click a mapping rule name to view its details.
- Click Edit to edit the mapping rule details.
- Click New to create a mapping rule. For more information, see Creating a Mapping Rule.
- Click any column heading to sort the records using that column's data.
- The Status column shows the status of the mapping rule, whether it is Active or Draft.
- In the Description column, you can store brief information necessary for the mapping rule.
- The Type column shows the type of the mapping rule, whether the mapping rule is a template or a rule.
- The Source column shows the source used when the mapping rule was created. For example, FF Planning or FF Accounting.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
Once you have located a mapping rule on the Mapping Rules home or list page, click the name to display detailed information.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
To update a mapping rule, click | Edit and change the fields you want to update. When you have finished, click Save.
For a complete description of the standard fields that make up a mapping rule, see Mapping Rules Fields.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
To delete a mapping rule that you no longer need:
- Once you have located the mapping rule you want to delete on the Links or list page, click its name to display its detail page.
- Click
| Delete. A warning message is displayed.
- Click OK to confirm the deletion. The record is deleted.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
You can apply mapping rules directly from the list page or the mapping rule detail page.
To apply a mapping rule:
- Once you have located the mapping rule, you can apply it from the Links or list page. Click
| Apply. A message is displayed. Click OK to confirm. The mapping rule is applied.
- To apply the mapping rule from the detail page, click the mapping rule name from the list page and click Apply. Click OK to confirm. The mapping rule is applied.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
You can undo mapping rules directly from the list page.
- Locate the mapping rule you want to undo from the list pages.
- Click
| Undo or Edit.
- Change the fields you want to update.
- Click Undo.
- Click OK to confirm. The mapping rule is undone.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
The application of the mapping rule is copied by uploading to JSON and then uploading data to a new rule. Using the JSON string allows you to quickly transfer configurations from a Sandbox to other Sandboxes or Production. Of course, the IDs for each organization are unique, but the purpose of copying is to transfer filters and text parameters, which are common for all organizations.
To copy, open the mapping rule and click Export or Import. Copy text from the main window to the clipboard of your operating system. Click Apply or Close to hide the modal window.
JSON Structure
{"Name":"Default Mapping Rule Template","CurrencyIsoCode":"USD","ff_bp__Balance_needed__c":false,"ff_bp__Description__c":"The default mapping rule template is generated during the Planning setup linked to the default budget template.","ff_bp__Resulted_Subj_Dimension__c":"$Dimension.Budget App Amount","ff_bp__Resulted_Tag_Dimension__c":"$Dimension.Budget App","ff_bp__Source_Subj_Dimension__c":"$Dimension.BP Reporting Balance","ff_bp__Source_Tag_Dimension__c":"$Dimension.FF Mapping Configuration","ff_bp__Source_Tag_Filter_Long__c":"Name = 'Default Configuration'","ff_bp__Source__c":"FFPlanning","ff_bp__SplitByLines__c":false,"ff_bp__isActive__c":true,"ff_bp__isDraft__c":false,"ff_bp__isTemplate__c":true}~~~[{"Name":"Parent Budget","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"Header.ff_bp__Tag1__c","ff_bp__Section__c":"RESULT","ff_bp__Default_Long__c":"$Budget App.{ParentApp}","ff_bp__SourceLine__c":"","promptSourceHeader":"Budget App","promptSourceLine":"-"},{"Name":"Template","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"Header.ff_bp__Tag2__c","ff_bp__Section__c":"RESULT","ff_bp__Default_Long__c":"$Budget App Template.{BudgetTemplate}","ff_bp__SourceLine__c":"","promptSourceHeader":"Budget App","promptSourceLine":"Budget App Template"},{"Name":"BY","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"Header.ff_bp__Tag3__c","ff_bp__Section__c":"RESULT","ff_bp__Default_Long__c":"$Budget Year.{BudgetYear}","ff_bp__SourceLine__c":"","promptSourceHeader":"Budget App","promptSourceLine":"Budget Year"},{"Name":"Company","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"Header.ff_bp__Tag4__c","ff_bp__Section__c":"RESULT","ff_bp__Default_Long__c":"$Company.{Company}","ff_bp__SourceLine__c":"","promptSourceHeader":"Budget App","promptSourceLine":"Company"},{"Name":"Description","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"Header.ff_bp__Text3__c","ff_bp__Section__c":"RESULT","ff_bp__Default_Long__c":"Budget created from default mapping rule template","ff_bp__SourceLine__c":"","promptSourceHeader":"Budget App","promptSourceLine":"-"},{"Name":"App Name","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"Header.Name","ff_bp__Section__c":"RESULT","ff_bp__Default_Long__c":"{BudgetTitle}","ff_bp__SourceLine__c":""},{"Name":"Amount","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Decimal1__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Amount"},{"Name":"Amount","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Decimal1__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxfUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Decimal1__c","Id":"a7S7A0000000OxfUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"Value"},{"Name":"Account Name as Title","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag2Name__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Account"},{"Name":"Account","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag2__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Account"},{"Name":"Account","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Tag2__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxhUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Tag2__c","Id":"a7S7A0000000OxhUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"Account"},{"Name":"Period","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag3__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Period"},{"Name":"Period","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Tag3__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxiUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Tag3__c","Id":"a7S7A0000000OxiUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"Month"},{"Name":"BY Name","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag4Name__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Budget Year"},{"Name":"BY","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag4__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Budget Year"},{"Name":"Company Name","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag5Name__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Company"},{"Name":"Company","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag5__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Company"},{"Name":"FF1 Name","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag6Name__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 1"},{"Name":"FF1","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag6__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 1"},{"Name":"FF1","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Tag6__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxlUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Tag6__c","Id":"a7S7A0000000OxlUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"FF Dimension 1"},{"Name":"FF2 Name","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag7Name__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 2"},{"Name":"FF2","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag7__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 2"},{"Name":"FF2","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Tag7__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxmUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Tag7__c","Id":"a7S7A0000000OxmUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"FF Dimension 2"},{"Name":"FF3 Name","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag8Name__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 3"},{"Name":"FF3","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag8__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 3"},{"Name":"FF3","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Tag8__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxnUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Tag8__c","Id":"a7S7A0000000OxnUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"FF Dimension 3"},{"Name":"FF4 Name","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag9Name__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 4"},{"Name":"FF4","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Tag9__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Dimension 4"},{"Name":"FF4","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Tag9__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxoUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Tag9__c","Id":"a7S7A0000000OxoUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"FF Dimension 4"},{"Name":"Income or Expense","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Location__c":"ff_bp__Text1__c","ff_bp__Section__c":"SOURCE","promptSourceHeader":"BP Reporting Balance","promptSourceLine":"Type"},{"Name":"Section","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Text1__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxvUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Text1__c","Id":"a7S7A0000000OxvUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"Section"},{"Name":"Type","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Text2__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxvUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Text1__c","Id":"a7S7A0000000OxvUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"Type"},{"Name":"Line Title","ff_bp__PostingRule__c":"a7T7A0000000T7PUAU","ff_bp__Type__c":"String","ff_bp__Location__c":"ff_bp__Text3__c","ff_bp__Section__c":"RESULT","ff_bp__SourceLine__c":"a7S7A0000000OxgUAE","ff_bp__SourceLine__r":{"ff_bp__Location__c":"ff_bp__Tag2Name__c","Id":"a7S7A0000000OxgUAE"},"promptSourceHeader":"Budget App Amount","promptSourceLine":"Title"}]
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
To unlink the mapping rule from the list page:
- Locate the mapping rule that you want to unlink from the list pages.
- Select the mapping rule checkbox and click
| Unlink.
- Click OK to confirm the unlink. The record gets unlinked.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
When you save the mapping rule, a background process starts a batch Apex job. You can monitor the execution of the job.
- From Setup, click Environments | Jobs | Apex Jobs. A list of all the jobs in your org displays.
- Find a job with the CBalanceProcessor apex class. The Status field displays the current status of the job.
After the batch job finishes, by default, you will receive an email notification with the following:
- Number of processed batches
- List of any batch that cannot be processed
For more information on Apex Jobs, see the Salesforce Help.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
To apply settings from one or more mapping rules templates:
- Once you have located the mapping rule you want to add as the default template, click
| Edit.
- Change the fields you want to update and click Apply Default Template.
- Select Source or Result from the picklist.
- Select the header tag.
- Click Apply to apply settings from templates.
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
You can clone one or more mapping rules.
To clone an existing mapping rule:
- Once you have located the mapping rule you want to clone on the Links or list page, click
| Edit.
- Change the fields you want to update and click Clone. A new budget application template is created with “Cloned” added to the mapping rule title. For example, BA income -> Entries (Planned) (Cloned).
![Close the expanding text drop-down element](../../../../Skins/Default/Stylesheets/Images/transparent.gif)
Using the dimension filter, refine the dimension settings or simplify filter settings.
To refine the dimension settings:
- Do one of the following:
- On the Links page, click Modeling Rules | Mapping Rules.
- On the Planning Workspace tab, in the Navigation Pane, click Mapping Rules.
- Click New.
- Click Dimension Catalog to refine the dimension settings.
- From the Architecture Reference dialog, select a dimension. The list of field names with values is displayed.
- Click Close to close the Architecture Reference dialog.