ForceChallenges
ProblemsDailyNotesInterview
Sign in

Practice

All problemsSOQL practiceApex trigger challengesDaily challengeOpportunityTrigger.oldMapBefore UpdateBulkificationContactValidationGROUP BYSemi-JoinAccountBefore Insert

Interview questions

All questionsAdminAdministrationApexApex TriggerAsync ApexDevelopmentField ServiceField ServiceIntegrationLwc

By company

DeloitteSalesforceAccentureInfosysPwCCognizant

Learn

Study notes

ForceChallenges

AboutContact usPrivacy PolicyTerms of ServiceFor AI assistants (llms.txt)
© 2026 ForceChallenges · Salesforce SOQL & Apex trigger practice
Sales Cloud questions61 of 79
Sales CloudMedium 2 min read

When and why should administrators configure revenue and quantity schedules for products in opportunities?

Answer

Basics: A normal opportunity product has one amount. A schedule splits a product's revenue and/or quantity into dated installments (daily, weekly, monthly, quarterly, yearly). Use it when a 12,000 deal is paid 1,000 per month, or 600 units ship 100 per month.

How it works: 1) Setup > Products Settings: enable Quantity Schedules and Revenue Schedules. 2) On each product, set "Can Use Revenue/Quantity Schedule" and optional defaults: number of installments, installment period, and schedule type (Divide amount across installments, or Repeat the amount each installment). 3) When adding the product to an opportunity, the default schedule is generated, or the rep clicks Establish Schedule. 4) Installments are rows in OpportunityLineItemSchedule with a date, revenue and quantity.

Advanced / deep dive: Schedules describe timing; they do not bill. For invoicing, payments and revenue recognition you need Salesforce Billing or Revenue Cloud, or an ERP. Opportunity Amount remains the line item total regardless of schedule; forecasts based on Amount do not spread by schedule, though reports can use schedule dates (verify in current docs for your forecast type). A schedule is capped at 150 installments. Changing the product, quantity or price on a line item can alter or remove schedules, so test integrations. For complex subscriptions (renewals, usage, amendments) schedules become awkward and a dedicated quoting and subscription model is better.

Code / config example:

sql
-- Revenue by month from schedules on open opportunities
SELECT CALENDAR_YEAR(ScheduleDate) y, CALENDAR_MONTH(ScheduleDate) m, SUM(Revenue) total
FROM OpportunityLineItemSchedule
WHERE OpportunityLineItem.Opportunity.IsClosed = false
GROUP BY CALENDAR_YEAR(ScheduleDate), CALENDAR_MONTH(ScheduleDate)

Hidden gotchas & must-remember points:

  • Both schedule features are off by default; enable and set at product level.
  • Max 150 installments per schedule.
  • Schedules are not billing or accounting records.
  • Editing line item values may reset or reshape schedules.
  • Installment dates can extend past Close Date; that is allowed.
  • Multi-currency orgs show schedule amounts in opportunity currency.

Best practice: Use schedules for simple phased revenue; adopt a billing or CPQ tool once contracts need invoices and amendments.

Sales CloudProducts and SchedulesRevenue Forecasting
Practice SOQL & Apex
PreviousHow do Sales Cadences enforce structured multichannel outreach for sales representatives?Next How do matching and duplicate rules protect data integrity in Sales Cloud databases?

More Sales Cloud questions

  • How does the account merge mechanism consolidate duplicate enterprise accounts and associated child records?
  • Why is defining structured lead status lifecycles essential for accurate sales funnel measurement?
  • What are the operational boundaries and best practices for sending mass list emails within Sales Cloud?
  • How can screen flows be utilized to build custom guided selling flows directly on opportunity pages?
  • How do approval processes automate complex discount and deal desk sign-offs in Sales Cloud?