Skip to content

Procurement settings

The Procurement heading under Setting is the procurement_reference module: eleven list screens, each a modref under modules/procurement_reference/. They feed the Requisition, RFQ, PO, MRR and Vendor Management forms.

How this page was verified

Written from master on 2026-09-06 and compared with the big five the same day. No earlier page existed. Every screen was mapped to its table.

The eleven screens

LabelmodrefTableUsed by
Categorycategoryts_category (a tree), ts_map_vendorVendor Management, RFQ
Cost Codecost_codets_cost_codeRequisition items
Delivery Todeliver_tots_deliver_to (per client)RFQ, PO
Incotermsincotermsts_incotermsPO
Component Codecomponent_codets_item_codeRequisition and MRR items (item_code_id)
Mode of TransportmodeTransportts_mode_transportMRR
Packing Typespacking_typests_packing_types (per client)MRR
Payment TermspaymentTermsts_payment_termsPO
Product / Brandproductts_product, ts_map_vendor_productVendor Management
Taxgstthe tax rate on ts_company_address, with ts_currencyPO totals
Unitunitts_unitevery item grid

Seven more scripts sit in the folder and are not in the menu: bidder_doc_type (ts_bidder_doctype), expediting_milestone (ts_expedite_milestone), expediting_status (ts_expediting_status), form_number (ts_form_number), pricing_basis (ts_pricing_basis), termCondition (ts_condition_terms) and item_code. They are reachable by typing the modref, and the expediting pair feeds Material Expediting.

What still runs on the legacy helper

Every screen here has one to nine iw_mysql_query() calls left, so on an instance where the helper throws the grids load through the shared $pdo reference loader and the edits fail. The heaviest are bidder_doc_type, pricing_basis and termCondition (nine each), category and cost_code (six).

Gotchas

  • Category is a tree and is shared with Vendor Management. Deleting a parent does not delete its children; the vendor mappings then point at orphans.
  • Component Code writes ts_item_code, not ts_component_code. Grep by table, not by label.
  • Tax lives on the company address row. There is one rate per address, not a list.

Instance differences

Checked on 2026-09-06.

InstanceDifference
JOTREInstalled. Adds an Item Master Data screen (item_master.php) and registers it in procurement_reference.php.
Jadestone, Medco, TimasNot installed in their QA databases. Code identical to master.