Configuring Revenue Management for Automated Population of Recognition Templates and GLAs

Revenue Management can be set up to automatically populate the recognition template and GLAs on your source records based on their revenue recognition treatment.

How It Works

Revenue Management assigns the correct recognition template to a source record by following these steps:

  1. Product Association: It starts by examining the product on the source record.
  2. Recognition Rule: Next, it looks at the recognition rule associated with the product.
  3. Revenue Recognition Treatment: It then checks the revenue recognition treatments defined in the rule. Revenue Management uses selection criteria similar to Salesforce to identify the appropriate revenue recognition treatment.
  4. Recognition Template: Once identified, it retrieves the recognition template from the revenue recognition treatment and writes it to the Revenue Recognition Template field on the source record.
  5. GL Accounts: From the revenue recognition treatment, it refers to the GL rule and then the GL treatment to determine the credit and debit accounts, which are then copied to the GLA fields on the source record.

Setting Up the Flow

To use this functionality, you must build a Salesforce flow that triggers an Apex action. Follow these steps to create a flow for each source object:

  1. Enable Required Features:
    • Enable the “Enabling Revenue Cloud Connector” feature in Feature Console.
    • Ensure you have the “Revenue Management on SF Revenue Cloud” permission set assigned.
  2. Create Separate Flows for Each Source Object:
    • Order Product (OrderItem)
    • Invoice Line (blng__InvoiceLine__c)
    • Credit Note Line (blng__CreditNoteLine__c)
    • Usage Summary (blng__UsageSummary__c)

Below is an outline for creating a flow for the Order Product (OrderItem) source object:

Creating the Flow for Order Product (OrderItem)

  1. Navigate to Flows: From Setup, go to Flows and create a new flow of type “Record-Triggered Flow”. Use the Auto-Layout option.
  2. Configure the Trigger:
    • Click the Start icon.
    • Click Edit and set the following in the Configure Trigger window:
      • Trigger the Flow When: A record is created or updated
      • Run the Flow: After the record is saved
    • Click Done.
  3. Choose Object and Set Conditions:
    • Click Choose Object and complete as follows:
      • Object: Order Product
      • Condition requirements: All conditions are met (AND)
      • Conditions:
        • ffrrIncludeInRevenueRecognition__c Equals True
        • ffrrRevenueRecognitionComplete__c Equals False
        • ffrrtemplate__c Is Null True
      • When to Run the Flow for Updated Records: Every time a record is updated and meets the condition requirements
    • Click Done.
  4. Add an Action Element:
    • Click the + symbol between the Start and End icons and choose to add an Action element.
    • In the New Action window, filter by “Type” then “Apex Action”.
    • From the Actions drop-down list, select “Setup Revenue Cloud source records for Revenue Management (apex-ffrr__SourceRecordSetupAction)”.
  5. Complete Action Element Fields:
    • Label: Setup Order Product for Revenue Management
    • API Name: Setup_Order_Product_for_Revenue_Management
    • Set Input Values: Enter {!$Record.Id}
    • Click Done.
  6. Save and Activate the Flow:
    • Save your flow.
    • Click Activate.

The flow will trigger when you save or update an order product that meets the conditions for inclusion in recognition processes.

Repeat for Other Source Objects

Repeat the above procedure to create flows for each of the remaining source objects: Invoice Line, Credit Note Line, and Usage Summary (if used).

Ready?

By following these steps, you can efficiently configure Revenue Management to automate the population of recognition templates and GLAs, streamlining your revenue recognition processes.

Related Posts
Salesforce OEM AppExchange
Salesforce OEM AppExchange

Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more

The Salesforce Story
The Salesforce Story

In Marc Benioff's own words How did salesforce.com grow from a start up in a rented apartment into the world's Read more

Salesforce Jigsaw
Salesforce Jigsaw

Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more

Health Cloud Brings Healthcare Transformation
Health Cloud Brings Healthcare Transformation

Following swiftly after last week's successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

author avatar
get-admin