Purpose
Assemble the record base per quarter: PO lines, receipts with dates, returns, quality events, invoice disputes, plus the raw issue log.
When to use
Start of every vendor review.
Inputs
ERP extracts (PO/receipt/invoice), returns and quality logs, dispute records; review period. Emits the entry hop (schema in contracts/).
Steps
- Build records.json per quarter: lines, on-time-in-full lines, defect and dispute rates - computed inputs, never vendor-supplied numbers (#1.1).
- Build issues.json: one row per issue with type, lane/DC, record id.
- Validate against the contract.
Output
vendor.json + records.json + issues.json.
Grounding requirements
Every row keeps its ERP record id.
Constraints
- Records only; the vendor's own scorecard deck is context, not data (#1.1, #4.1).
Escalation / uncertainty
Missing receipts for a quarter -> that quarter marked incomplete (#5).