MS Pay Codes
Company Tracker action: implementation-setup-ms-pay-codes
Milestone: Material Sales / Module Setup (milestone_id=16, core_milestone_id=2)
Order: 3
Estimated duration: 1 hour
Typical owner: Controller
Purpose
Define how Vista calculates payments to outside haul vendors. Each pay code has a required pay basis (per unit, per hour, per load, units per mile, units per hour, percent of haul, or percent of surcharge total) and standard rates on the Rates tab. Those rates default onto tickets, hauler time sheets, and haul payment worksheets, and they flow to AP as haul payables. A wrong pay code or rate line underpays or overpays the hauler on every ticket.
:::tip Vista guide Setting Up MS Pay Codes explains the Vista form step by step. :::
Prerequisites
- MS Company Parameters accepted, including the AP company that receives haul payables.
- IN Location Groups exist. Every rate line requires a location group. IN Locations when rates differ by location.
- HQ Material Categories and HQ Materials when rates differ by category or material.
- HQ Units of Measure for the UM on per-unit bases.
- AP Vendors and MS Vendor Trucks when rates are vendor- or truck-specific. MS Truck Types when rates vary by type.
- Only needed when haul vendors haul material sold to customers, jobs, or inventory locations. Skip (mark N/A) when the client hauls only with its own equipment.
- Source data: the client's current hauler pay agreements (rate sheets by zone, material, or truck type, plus any minimum charges).
How it gets into Vista
Company Build builds this item. A TEDI playbook enters each record in the Vista form, and TEDI reads it back from Vista to check it. See Work a setup item.
Implementation guidance
Decide (client / kickoff)
- How haulers are paid today: per ton, per hour, per load, ton-mile, or a percent of what the customer is charged for haul. Each distinct method is its own pay code, because the pay basis is fixed on the code.
- Code list: keep it short. Recommended default: one pay code per basis the client uses (for example PERTON, PERHR, PERLOAD, PCTHAUL), with rate lines carrying the variation by zone, material, truck type, and vendor. Avoid one code per vendor unless vendors are paid on different bases.
- Rate granularity: decide which dimensions drive the rate: location group only, location, category or material, truck type, vendor, truck, haul zone. More criteria on a line means a more specific match, and the ticket must match exactly, so every combination the client expects must have a line (or a blanket line with those fields blank).
- Haul zones: the Zone field is free text and not validated. Agree the exact zone spelling with the client before rates are keyed, and reuse it on haul codes and quotes.
- Minimum amounts: which agreements guarantee a minimum per ticket (common with hired haulers). Min Amt applies when the calculated payment is below it.
- Surcharge share: when the client passes part of a fuel or other surcharge to the hauler, that is a separate pay code with basis 7 (percent of surcharge total). Add those codes after MS Surcharges exist.
Load / accept (implementation defaults)
- Key the pay codes (code up to 10 characters, description up to 30, basis). Then enter Rates tab lines: location group is required, UM is required for bases 1, 4, 5, and 7, and a Material requires a Category.
- Percent bases use decimals: 1.00 = 100%. A 25% share is 0.25.
- Small rate tables are keyed. A long rate sheet (many zones times materials times truck types) goes through an agreed import once the code list and dimensions are fixed.
- After load, return to MS Vendor Trucks and set the default pay code on each truck where wanted.
- Accept means the Controller has traced three or four real tickets from the client's current pay sheet through the pay code and gets the same amount.
Tips and gotchas
- The rate hierarchy is basis-specific (Table 1 for per unit, units per mile, units per hour, and percent of surcharge; Table 2 for per hour, per load, and percent of haul). Use the hierarchy tables on the form when a ticket picks an unexpected line.
- A material-level line overrides a category-level line. Blank Location means all locations in the group; blank Vendor means all vendors.
- A basis 7 pay code assigned to a surcharge code with negative rates must have Min Amt set to 0.00.
- Quotes can override pay rates and minimums (Pay Codes tab for standard codes, Surcharge Overrides tab for surcharge codes). Standard rates here are the fallback, not the only place a rate can come from.
- Turn on the Pay Codes audit option on MS Company Parameters so rate changes after go-live are traceable.
Done when
- A pay code exists for every pay basis the client uses, with rate lines covering every location group, zone, material, truck type, and vendor combination that go-live tickets will hit.
- Minimum amounts and percent values (1.00 = 100%) are checked against the client's pay agreements.
- Sample tickets reproduce the client's current hauler pay amounts and the Controller accepts.
- Default pay codes are set on vendor trucks where wanted; surcharge-share codes are added or explicitly deferred until surcharges load.