Cross-Product Quantity Dependency
Prove that a dependent product’s quantity scales with a driver product (for example a required staffing ratio).
What it proves
When the driver quantity changes, the dependent quantity must satisfy a ratio (or similar cross-product quantity rule). Setting the dependent below the required amount should raise a configuration message.
Example
Map these Meridian product names to equivalents in your org. Pick a valid base quote that already reflects the rule, then select the matching products in Scenario Builder.
Data and Integration engagements are staffed so build capacity keeps up with architecture. A Technical Architect needs enough developers to execute the design.
Offer: Meridian Data and Integration Services
| Role | Product |
|---|---|
| Driver | Meridian Technical Architect |
| Dependent | Meridian Developer |
Rule: Developer quantity must be at least 2 × Technical Architect quantity.
- Driver: Technical Architect qty = 2 → at least 4 Developers required
- Invalid attempt: leave Developer qty at 2 while Architect qty is 2
Expected message such as:
Developer quantity must be at least twice the Technical Architect quantity for Data and Integration Services.
What Revsnap does at runtime
- Starts from your valid base quote with both products on the quote
- Sets up the driver quantity (when needed) so the ratio is in force
- Sets the dependent quantity below the required ratio
- Asserts the expected configurator message
- Corrects quantities back to a valid state
- Saves the valid configuration
How to capture it
- Capture a Configurator → Scenario Builder snapshot with a valid base quote that already includes both the driver and dependent products.
- On Rule Type, choose Cross-Product Quantity Dependency.
- In Scenario Builder, set:
- Driver product (in quote): for example Technical Architect
- Dependent product (in quote): for example Developer
- Driver quantity
- Ratio (for example 2 for a 2× staffing rule)
- On Review, enter the expected message text from Salesforce and severity (usually error, unless your org returns warnings).
- Save the snapshot.
Review assertion tips
| Setting | Guidance |
|---|---|
| Expected pattern | Org-specific: paste a distinctive fragment of the live ratio / quantity message |
| Severity | Often error; match whatever Salesforce returns |
| Both products in quote | Driver and dependent must already be on the base quote |
| Rule must be active | Disabled cross-product rules produce empty messages and failed assertions |
Related
- Configurator testing: message assertion tips
- Quantity Boundaries: single-product min/max