designation_check
Check BOM rows for purchased parts that lack orderable designations. Flags missing or incomplete designations so buyers can act before quoting or releasing a package.
Instructions
Gate: every purchased part on this assembly must be orderable.
Flags BOM rows a buyer cannot act on — a purchased standard part with no canonical designation, or one whose designation is missing a fact needed to order it (no material grade). Run it before quoting or releasing a package: a BOM whose purchased lines are geometry names silently pushes the sourcing work onto a human, once per revision.
Purchased-ness is EXACT for AnkusDrive-generated parts (the object carries a stamp)
and a documented name heuristic for everything else — so a hand-modelled
"Bracket" is never flagged, while a hand-modelled "M6Screw" is. Pass rows
instead of assembly to check BOM rows you already hold.
Returns {ok, findings, purchased, designated, undesignated, incomplete, basis}; each finding carries part / count / code (no_designation | incomplete_designation) / certainty (stamped | name_heuristic) / reason. ok=False means the BOM cannot be ordered as it stands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| assembly | No | ||
| recursive | No |