feat: mpe_review

This commit is contained in:
Allan Bowe 2022-06-18 16:50:50 +00:00
parent b743f856fc
commit 3f79b89a47
3 changed files with 25 additions and 2 deletions

BIN
docs/img/mpe_review.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

23
docs/tables/mpe_review.md Normal file
View File

@ -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)

View File

@ -8,9 +8,9 @@ og_image: /img/mpe_submit.png
# MPE_SUBMIT # 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 ## Columns