Master Doc. Register
Module: documents_master, menu entry Master Doc. Register under DMS. The register of every document a project expects: what the contractor must deliver (the MDR tab), who reviews each one and in which order (the Distribution Matrix tab), and how far each one has come (the Progress tab). The screen has three tabs, each on its own page: MDR (the register and its buttons, including Import MDR, Upload and the transmittals), Distribution Matrix and Progress.
How this page was verified
Written from the master code on 2026-09-06, with the screens opened on inact-ktp.eris.place (KTP production snapshot, project VDRL, user Pangesti Risang Ardyanseto, a non-admin). The KTP toolbar lacks Upload Transmittal because its enable_return_on_audit is off; everything else on the screenshots matches master.

The screen
documents_master.php renders documents_master_browse.htm: a dhtmlx tab bar with three tabs, each with its own toolbar and grid. The project comes from the header selector ($_LOGIN_PROJECT_SELECTED), not from the screen. Every toolbar is fetched from the server (cmd=toolbarMDR, toolbarMatrix, toolbarProgress), so the buttons a user sees depend on their group and privileges:
| Tab | Admin sees | Others see, gated by the documents_master privilege |
|---|---|---|
| Master Doc. Register (MDR) | Upload, Delete, Import MDR, Replace MDR, Upload Transmittal (only when enable_return_on_audit = 1), Refresh, Search, Sort, Export Excel, Print, Ungroup, Regroup By | Upload (upload), Import MDR (add), Replace MDR (edit), Refresh, Search, Sort, Export Excel, Ungroup, Regroup By. No Delete, no Print |
| Distribution Matrix | Search, Export, Import Matrix (not when the matrix type is doc_number), Edit Matrix, Refresh | Search, Export, then Import Matrix and Edit Matrix with edit, Refresh |
| Progress | Search, Edit Progress, Refresh, Recalculate, Export Excel, Ungroup, Regroup By | the same, with Edit Progress and Recalculate only with edit |
Gotchas
- The toolbar is per group. A user who cannot see Delete or Print is not looking at a broken screen; those are admin-only.
- Upload Transmittal only appears with
enable_return_on_audit; on KTP the button does not exist. - Deleting an MDR row deletes its progress row (INA01-816); the totals drop at once.
- The matrix type is per project and changes the tab's row set completely. Check
ts_projects.matrix_typebefore comparing two projects. - Progress is only as fresh as the last upload or sign-off. A return processed outside the routing (a direct library edit) does not touch
ts_mdr_progress.
Instance differences
Checked on 2026-09-06.
| Instance | Difference |
|---|---|
| KTP | No Upload Transmittal button (config). Progress keeps a ts_mdr_progress list that its MDR Report also reads. |
| Jadestone, Medco, JOTRE, Timas | The toolbars are identical to master; the grid columns differ because each project's MDR template differs. Medco adds its own MDR columns (Code Package Identifier, SDRL). |
Related
- Document Routing: what the matrix becomes.
- Projects and MDR settings: the MDR template and the matrix type.