EM_PRO_LN_VW(SQL View) |
Index Back |
---|---|
Dynamic Disc Proposal Line VWDynamic Discount Proposal Line View |
SELECT A.EM_BUSINESS_UNIT , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.PROPOSE_ID , A.VOUCHER_ID , B.INVOICE_ID , B.DUE_DT , B.GROSS_AMT , B.DSCNT_AMT , B.TXN_CURRENCY_CD , B.DSCNT_DUE_DT , E.DESCRSHORT FROM PS_EM_PROPOSAL_LN A , PS_VOUCHER B , PS_PYMT_TRMS_HDR E WHERE A.EM_BUSINESS_UNIT = B.BUSINESS_UNIT AND A.VOUCHER_ID = B.VOUCHER_ID AND A.VENDOR_SETID = B.VENDOR_SETID AND E.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE REC_GROUP_ID = 'FS_14' AND RECNAME = 'PYMT_TRMS_HDR' AND SETCNTRLVALUE = B.business_unit) AND B.PYMNT_TERMS_CD = E.PYMNT_TERMS_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EM_BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | From Business Unit |
2 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Vendor SetID
Default Value: OPR_DEF_TBL_FS.SETID |
3 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
4 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
5 | PROPOSE_ID | Character(8) | VARCHAR2(8) NOT NULL | Propose ID |
6 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
7 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
8 | DUE_DT | Date(10) | DATE | Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received. |
9 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
10 | DSCNT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Discount Amount |
11 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
12 | DSCNT_DUE_DT | Date(10) | DATE | Discount Due Date |
13 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |