Workstation Rates
Real $/hr rate per work center type · drives MRP Planned Cost's Overhead figure on the Pricing Review tab
Paste the JSON produced by the console script below, then click Apply. This overwrites every rate currently shown - review the grid and Save afterward to make it permanent.
| Type Code | Title | Hourly Rate ($) |
|---|---|---|
| Loading data… | ||
One row per real work center type (sopoly-static-cache.json's workCenterTypes[]) — a rate here applies to every physical work center of that type. Saving writes directly to the same Azure Blob container the Pricing Review tab reads from (workstation-rates.json), plus a timestamped snapshot under workstation-rates-history/ as an audit trail. Reload the Pricing Review tab afterward to see the change reflected in Planned Cost. Until the first save ever happens (or for any type_id this file doesn't cover), the Pricing Review tab falls back to a hand-transcribed snapshot baked into costing.js — see the Methodology tab.
Getting the real rate from MRPeasy
MRPeasy's public API doesn't return this field (it's write-only there - see BUILD_CONTEXT.md). The real rate is visible on MRPeasy's own Production Planning → Workstations settings page. To pull every rate at once instead of reading them off the page by eye:
- Open that page in MRPeasy, logged in normally.
- Open DevTools (
F12) → Console tab. - Paste this and press Enter - it copies the result straight to your clipboard:
copy(JSON.stringify(Object.fromEntries( [...document.querySelectorAll('select[name="type_id"] option[data-hourly_rate]')] .map(o => [o.value, parseFloat(o.dataset.hourlyRate)]) )))
- Come back here, click "Paste Rates JSON…" above, paste, and click Apply.
- Review the grid, then click Save.
