diff --git a/docs/img/mpe_review.png b/docs/img/mpe_review.png new file mode 100644 index 0000000..f63d5b0 Binary files /dev/null and b/docs/img/mpe_review.png differ diff --git a/docs/tables/mpe_review.md b/docs/tables/mpe_review.md new file mode 100644 index 0000000..3cbcc40 --- /dev/null +++ b/docs/tables/mpe_review.md @@ -0,0 +1,23 @@ +--- +layout: article +title: MPE_REVIEW +description: The MPE_REVIEW table tracks APPROVALS and REJECTIONS against SUBMITS +og_title: MPE_REVIEW Table Documentation +og_image: /img/mpe_review.png +--- + +# MPE_REVIEW + +The MPE_REVIEW table tracks Approval and Rejection events. This is useful for checking the history where tables require more than 1 approval. A user may only review a submit once (accept or reject). + +![submits](/img/mpe_review.png) + + +## Columns + + - 🔑 `TABLE_ID char(32)`: A unique code for the submission, and corresponds to the folder in which the staged data resides. + - 🔑 `REVIEWED_BY_NM char(100)`: User id that made the final approval / rejection + - `BASE_TABLE char(41) NOT NULL`: The LIBREF.MEMBER of the table being reviewed + - `REVIEW_STATUS_CD char(10) NOT NULL`: Either APPROVED or REJECTED. + - `REVIEWED_ON_DTTM num NOT NULL`: Timestamp of the approval / rejection + - `REVIEW_REASON_TXT char(400)`: Reason for rejection (for approvals, no reason is requested) diff --git a/docs/tables/mpe_submit.md b/docs/tables/mpe_submit.md index 2c680ef..24efa9c 100644 --- a/docs/tables/mpe_submit.md +++ b/docs/tables/mpe_submit.md @@ -8,9 +8,9 @@ og_image: /img/mpe_submit.png # MPE_SUBMIT -The MPE_SUBMIT table tracks the status of submitted modifications - ie SUBMITTED, APPROVED, or REJECTED. It is unique on TABLE_ID. +The MPE_SUBMIT table tracks the status of submitted modifications - ie SUBMITTED, APPROVED, or REJECTED. It is unique on TABLE_ID. A record is created whenever a submit is submitted. -![submits](img/mpe_submit.png) +![submits](/img/mpe_submit.png) ## Columns