feat: add missing BOM endpoints (flat, cost, CSV export/import, ODS merge) #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The server provides 12 BOM endpoints but the client only implements 7. The missing ones provide important procurement and manufacturing views.
Missing Methods
GET /api/items/{pn}/bom/flatget_bom_flat(part_number)-- leaf parts with rolled-up quantitiesGET /api/items/{pn}/bom/costget_bom_cost(part_number)-- assembly cost roll-upGET /api/items/{pn}/bom/export.csvexport_bom_csv(part_number)POST /api/items/{pn}/bom/importimport_bom_csv(part_number, csv_bytes)POST /api/items/{pn}/bom/mergemerge_bom_ods(part_number, ods_bytes)-- ODS merge with conflict resolutionContext
total_quantityby itsstandard_cost. Used for assembly costing.References