As an administrator, it’s useful to know the objects and terminology that’s involved in running and managing a process.
The data model below shows the relationships of the objects involved in Flexpricer’s Simple Subscription Billing. As context, within Flexpricer’s Simple Subscription Billing, you will hear and see us use the following terminology…
Contract Related
- Subscription Contracts are standard Sales Cloud Contracts with a record type of ‘Subscription’ (API name: crms11__Subscription)
- Subscriptions are junction records primarily between Contracts and Products. A Subscription record holds the current quantity of its associated Product (standard Salesforce Products with Quantity Multiplier set to ‘Subscription’) on subscription under the Subscription Contract.
Billing Related
- Billings are junction records primarily between Contracts and Opportunities. They represent the total value of all Subscriptions that have been added to or amended on the Subscription Contract, whether they are currently active or not
- Billing Line Items are junction records primarily between Billings and Subscriptions. They represent the quantity of a Subscription (Product) being billed to the Account between a Start Date and an End Date. Records are created when a Subscription is created or its quantities are amended.
- Billing Journals (Revenue Recognition) are junction records between Contracts and Billing Journal Line Items. They record the total revenue to be recognised in the calendar month specified on the record.
- Billing Journal Line Items are junction records between Billing Journals and Billing Line Items. They denote the associated Billing Line Item’s contribution to each Billing Journal (Revenue Recognition).
Opportunity Related
- Contracted Opportunities are standard Salesforce Opportunities that include Opportunity Products where the associated Product record has Quantity Multiplier set to ‘Subscription’. A Contracted Opportunity is used to create a Subscription Contract, Subscriptions, Billings, Billing Line Items, Billing Journals and Billing Journal Line Items.
- Amendment Opportunities are standard Salesforce Opportunities associated with an existing Subscription Contract. They are used to amend Subscriptions and Billing Journals by the creation of Billings, Billing Line Items and Billing Journal Line Items on the associated Subscription Contract.
- Renewal Opportunities are standard Salesforce Opportunities with Opportunity Products for each of the Products currently active on subscription. They created automatically when the Renewal Opportunity Creation Date on the Subscription Contract record is met.
To bring these concepts together, it is easier to visualise the relationships between Flexpricer’s 5 custom objects (Subscriptions, Billings, Billing Line Items, Billing Journals, Billing Journal Line Items) and the 5 standard objects that we make use of:
- Account
- Contract
- Opportunity
- Opportunity Product (reference only)
- Product

