v1
Materials
Materials
Get Next Draft Id
Return a unique, sequential DRAFT id for a (project, vendor) pair.
Mints via next_vendor_draft_id(), a per-(project, vendor) counter mirroring next_vendor_po_number()'s per-project one. Called once per vendor group at Raise-PO time for any group headed to qs_state='approval' (no real po_number exists yet — see chk_mmi_approval_no_po_number) so two separate raises to the same vendor no longer collapse into one grouping key.
get/api/v1/materials/next-draft-id
Request
- Base URL: https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- URL: https://api.jeevyfabrication.com/api/v1/materials/next-draft-id
- Auth: none declared
Query parameters
project_idinteger required
vendorstring required
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.