- Ten "Makap - ..." role profiles map the PRD Section 3 roles (sales,
prepress, planner, procurement, warehouse, operator, supervisor, QC/QA,
finance, management) onto standard and Makap roles. Created only if
missing, so desk edits survive migrate (M6).
- New Machine Operator and Prepress roles. Operators can run Job Cards,
label rolls and raise in-process inspections, but cannot plan or release.
- Quality eligibility, disposition and concession fields move to permlevel 1:
only Quality Manager / Concession Authority can set them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Roll Genealogy traces a batch backward (what went into it) or forward
(where it was used) through submitted Manufacture entries, showing roll
dimensions and the latest inspection disposition at each step (B3).
- Work Order Cost Variance compares BOM-planned material, operating cost and
scrap with actual consumption and Job Card time, plus recorded waste kg (M5).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Batch gets roll details (stage, width, length, micron, net/gross kg,
supplier lot, machine, Work Order) so each roll is a traceable batch (B3).
- Job Card gets operator output and waste capture on its first tab, with a
derived waste % and a required reason whenever waste is entered.
- Quotation Item can cost a line from an estimating BOM: material grossed up
for expected waste, BOM operating cost, set-up and cylinder charge, with
the resulting margin shown against the quoted rate (M4).
- About 120 fields used to stack after amended_from with no sections. They
now sit in a "Makap" tab per form (a section on child rows) with labelled
sub-sections, and positions are updated on migrate (m1).
- Tooling Readiness is read-only: it is derived from the cylinder register.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tooling was free text on the specification and a manual select on the Work
Order. The register records each cylinder/plate with its specification,
colour station, dimensions, ownership, location, condition and impressions.
Work Order release now reads it: a job needing print tooling is blocked until
every registered cylinder for its specification is Ready.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Work Order: copy the Packaging Specification from the Sales Order Item
(walking back through the Production Plan for sub-assembly orders), and
re-derive release blockers on submit instead of trusting a stored status.
Tooling readiness is now derived and enforced (B6/M1/M2).
- Whitelisted operations no longer save with ignore_permissions: callers
need the right role and write permission on the document (B6).
- Dispatch Gate matches final/outgoing inspections by exact batch and needs
a batch on every controlled line; Reserved mode needs stock reservation (M3).
- Returns check read a field Delivery Note Item doesn't have.
- Drop the credit-note rule that blocked legitimate partial credits; ERPNext
already caps cumulative returned qty (m5).
- Billing recompute and Supply Close query only this order's documents (m6).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>