DR_APPROVE_VW(SQL View) |
Index Back |
---|---|
Drafts In Need of Approval |
SELECT DRAFT_BU , DRAFT_ID , DRAFT_STATUS , CUST_ID , DRAFT_DOC_REF , DRAFT_TYPE , DRAFT_AMT , DRAFT_CURRENCY , DRAFT_CNT , DRAFT_DUE_DT , ACCOUNTING_DT FROM PS_DRAFT_CONTROL WHERE %Sql(DRAFT_EVENT_APPROVE) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | DRAFT_BU | Character(5) | VARCHAR2(5) NOT NULL |
Identifies the Receivables business unit associated with a draft. This field is maintained by the Draft Creation process.
Default Value: OPR_DEF_TBL_AR.DEPOSIT_BU Prompt Table: SP_BUARDR_NONVW |
2 | DRAFT_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies a payment draft. The Draft ID is system-generated during the Draft Creation process or manually entered. |
3 | DRAFT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Draft Status
A=Accepted C=Complete D=Dishonored E=Void I=Identified L=Collateral M=Discounted N=No Action P=Pending R=Remitted T=Endorsed |
4 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
Prompt Table: SP_CUSRCH_NONVW |
5 | DRAFT_DOC_REF | Character(20) | VARCHAR2(20) NOT NULL | Draft Reference |
6 | DRAFT_TYPE | Character(10) | VARCHAR2(10) NOT NULL |
A flag that indicates whether a draft is initiated by the vendor (1) or by the customer (2).
Prompt Table:
DRAFT_TYPE_TBL
|
7 | DRAFT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of a draft payment. This field is maintained by the Draft Creation process. |
8 | DRAFT_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Specifies the currency of a draft payment. The draft currency may or may not be the same as the base currency of the business unit handling the draft. |
9 | DRAFT_CNT | Number(5,0) | INTEGER NOT NULL | Draft Count |
10 | DRAFT_DUE_DT | Date(10) | DATE | Draft Due Date |
11 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |