The Rate Card Studio is the editor on the Rate Card record page (Lightning component Rate Card Studio). It lets business users create, change and read a rate card without knowing the data model. It replaces the retired Rate Card Configurator.
The Studio has a card header and four tabs:
| Tab | What it is for |
|---|---|
| Grid | The whole card laid out like the client's spreadsheet. Read and edit rates in place. |
| Sheets and lines | Add, edit, order and delete sheets, lines and modifiers, with conditions in plain English. |
| Try a shift | Price a real or made-up shift with this card (drafts included) and see each pricing step. |
| Record | Object | Holds |
|---|---|---|
| Rate card | b3s__Rate_Card__c |
Scope (account, job, job group, site, worker, cost center), currency, valid from / to, status (Draft, Active, Retired), pay/bill policy, priority |
| Rate sheet | b3s__Rate_Sheet__c |
A set of prices for one kind of shift, chosen by a condition. One sheet per card is the default. |
| Rate line | b3s__Rate_Line__c |
One price: unit (Per Hour, Per Shift, Per Day), pay code, days, time window, optional condition, and three rates: Worker pay, Supplier pay, Charge (client bill), typed or derived by formulas from a base rate and margin |
| Rate modifier | b3s__Rate_Modifier__c |
An adjustment to a line when its condition matches, with a group (Location, Tier, Engagement, Role, Other) and one operation per side (Set, Add, Subtract, Multiply, Divide) |
| Rate group | b3s__Rate_Group__c |
A salary band or role grade (for example ST Teacher 1), stamped on the shift and read by sheet conditions |
A blank rate means "this side has no price": no staging line is created for that side. It is never treated as zero.
Every shift is priced top to bottom:
b3s__Pay_Bill_Setting__mdt, for example VMS_Default (VMS) or WFM_Default) sets the time source, rounding, paid breaks, week start, holiday calendar and overtime rules. Blank uses the default policy.Override fields typed on the shift (Worker_Pay_Override__c, Supplier_Pay_Override__c, Client_Bill_Override__c) replace the result for that side.
The Studio enforces these on save:
Sheets, lines and modifiers share one condition builder. A modifier must have a condition; on a line it is optional.
b3s__Rate_Condition__mdt records whose Usage includes Sheet, Line or Modifier. Picking one copies its rows; fill in any empty value (for example the rate group code for "Rate Group Is", or the tier for "Vendor Tier Is", which matches the shift's Supplier Account Tier: use it for a supplier-channel margin or rate). The template name is recorded on the record (Condition_Template__c).b3s__Contact__r.b3s__Engagement_Type__c. Choose whether all rows must match (AND) or any row (OR).$dayType (Monday to Sunday, or Public Holiday), $payCode, $durationHours, $localDate (YYYY-MM-DD), $localStartTime (HH:mm).Stored format (the same matcher used across the app definitions):
{
"allOrSome": "all",
"selectors": [
{
"field": "b3s__Rate_Group__r.b3s__Code__c",
"operator": "equals",
"value": "ST_TEACHER_1"
},
{
"field": "b3s__Contact__r.b3s__Engagement_Type__c",
"operator": "equals",
"value": "PAYE"
}
]
}
Operators: equals, notEquals, in, notIn, isNull, lessThan, greaterThan, lessOrEqual, greaterOrEqual, contains, startsWith.
A typical client rate schedule has one row per salary band (Rate Group), column groups Full Day and Half Day, sub-columns PAYE, Umbrella, Charge and Margin, and one set of rates per supplier tier. This walkthrough builds one for the fictional Riverside Learning Federation, with illustrative rates:
Card header. Name "Riverside ST Teacher", Job = ST Teacher, Currency GBP, Valid From 01/09/2026, policy UK Education, Status Draft.
Sheets. One sheet per rate group and engagement, for example "ST Teacher 1 · PAYE" with the template Rate Group Is (value ST_TEACHER_1) plus a row Contact ▸ Engagement Type is PAYE, and "ST Teacher 1 · Umbrella" with Umbrella. Repeat for each rate group.
Lines on each sheet:
| Line | Unit | Only when | PAYE sheet | Umbrella sheet |
|---|---|---|---|---|
| Full Day | Per Shift | Rate Basis is Full Day | Pay 100.00, Charge 135.00 | Pay 120.00, Charge 135.00 |
| Half Day | Per Shift | Rate Basis is Half Day | Pay 50.00, Charge 70.00 | Pay 60.00, Charge 70.00 |
Tier modifiers. Expand the Full Day line and add a modifier: group Tier, name "Tier 2", applies when the supplier's tier is 2, Charge Set to 150.00 (and Worker pay Set to 122.00 on the Umbrella sheet). Add "Tier 1" in the same group the same way.
Check it. Open Try a shift, enter a PAYE worker, Rate Group ST Teacher 1, Rate Basis Full Day, 08:30 to 15:30. Expected: sheet "ST Teacher 1 · PAYE", line Full Day, £100.00 pay and £135.00 charge.
Go live. Edit card details and set Status to Active.
The grid pivots every sheet into one table so the card reads like a rate schedule spreadsheet.
How rows and columns are chosen
Show toggles which sides appear (Base, Pay, Supplier, Charge). Base is shown by default only when the card has formula lines; Supplier only when a line has a supplier rate or formula.
Formula lines. Values come from the line's formulas, computed the same way pricing does. A side with a formula is read only (purple, hover shows the formula); edit Base or Margin and every calculated value follows. With a modifier picked, Base and Margin edits go to that modifier as before; a formula side is editable only where a picked modifier already Sets it (a fixed exception). The toggles pick modifiers by name, so a fixed exception named differently from the rule (for example "Umbrella (Standard)" next to "Umbrella") shows as its own option in the group.
Modifier toggles. Each modifier group (for example Tier) gets a pick list with None plus every modifier name in that group. Picking "Tier 2" shows every line's values as if Tier 2 applied, using the same order and first-match-per-group rule as pricing. Modifiers without a group appear as their own toggle. Group names are matched like pricing does (trimmed, case-insensitive), so "Tier" and "tier " are one group.
Error cells. Where pricing would block a line (a modifier operation with no value, Divide by 0), the grid shows Error instead of a price; hover for the reason.
Editing cells. Click a value, type, and press Enter (Escape cancels).
| Situation | Where the edit goes |
|---|---|
| No modifier picked | The line's rate |
| A picked modifier applies to the line and sets (or does not touch) that side | That modifier, as a Set value for that side |
| A picked modifier adds, subtracts, multiplies or divides that side | Read only (purple). Edit the modifier under the line in Sheets and lines. |
| The side has a line formula and no picked modifier Sets it | Read only (purple). Edit Base / Margin or the formula. |
| No picked modifier exists on that line | Read only (grey): the cell shows the line's own value |
Cell colours: orange = set by the picked modifier, purple = calculated by a modifier or a line formula, grey = line value shown for reference, teal = shared value that one edit updates on several lines.
The left panel lists sheets in pricing order with their plain-English condition, line count and a Default badge. Use the arrows to reorder (earlier sheets are tried first), the pencil to edit name, description, default flag and condition, and the bin to delete (a sheet's lines and modifiers go with it).
The right panel shows the selected sheet's lines: unit, pay code, days, time window, Pay, Supplier, Charge, Margin and condition. Lines are edited in a form with help text on every field, ordered with the arrows (for Per Hour lines the first matching line claims each minute). Expand a line with the chevron to list, add, order, edit and delete its modifiers.
The line form
Rate_Formula_Preset__mdt (see Setup notes).Choose An existing shift (search any shift) or A made-up shift (Job, Site, Worker, Rate Group, Rate Basis, Supplier account, Scheduled start and end). Select Estimate. Nothing is saved.
The result shows totals per side and margin, then the steps:
followed by the pay/bill lines that a final run would create. The Shift record page's Shift Rate Previewer renders the same trace for the shift's live pricing, plus its paid window and breaks.
Most new cards start from an existing one. The Clone Rate Card action on the Rate Card record page copies the card with every sheet, line and modifier in one transaction: if any record fails, nothing is saved.
The action opens a two-step wizard (screen flow Clone_Rate_Card). Every field is pre-filled from the current card; the name gets " (Copy)".
Everything else (currency, policy, priority, description, sheet conditions, line rates and formulas, modifier operations) is copied as is. The new card belongs to the user who cloned it. The user needs create access to Rate Card, Rate Sheet, Rate Line and Rate Modifier (WFM Admin).
The wizard calls the global invocable action Clone Rate Card (category Pay/Bill). Use it from your own flow to set other fields on the copy, for example a custom reference lookup.
| Input | Type | Purpose |
|---|---|---|
| Source Rate Card Id | Id, required | The card to copy |
| Field Names | Text collection | Rate Card field API names to set on the copy (b3s__Account__c or Account__c, both work) |
| Field Values | Text collection | One value per field name, in the same order. Dates as YYYY-MM-DD, date/times as 2027-01-01T08:00:00Z, checkboxes true / false, blank = empty |
| Output | Purpose |
|---|---|
| New Rate Card Id | The copy |
Without overrides the copy gets Name = source name + " (Copy)" and Status = Draft. An unknown or read-only field, a value of the wrong type, or lists of different lengths stop the clone with a readable error (for example "Rate Card field not found or not editable: Nope__c"), which the flow's fault path can show.
Example: in a flow, add to fieldNames the text b3s__Status__c and My_Reference__c, add to fieldValues the text Draft and the reference record Id, then call the action with the source card Id. The easiest start is to clone the packaged Clone_Rate_Card flow and add your fields to its Build Overrides assignment.
The Studio works as the signed-in user: their object permissions, field-level security and sharing apply to every read and save.
Errors come back as readable messages, for example "Only the default sheet can have no condition. Add a condition, or mark this sheet as the default." or "Condition problem: …".
See Pay and bill engine for the trace format that Try a shift shows.
Rate_Card_Record_Page. On a custom Rate Card page, add the Rate Card Studio component in the Lightning App Builder. The old Rate Card Configurator component only shows a notice pointing to the Studio; replace it.Rate_Condition__mdt); add your own records to offer more templates.Rate_Formula_Preset__mdt, global to the org: Label = menu text, Value = base / margin / pay / supplier / bill, Formula ({line} in label and formula becomes each other line on the sheet, one menu item per line), Active, Sort Order. Add records for your own pricing rules, for example half of a line, half of its margin, an umbrella uplift or base + margin. No records = no menu (typing still works).