PMT_ITEM_VW2(SQL View) |
Index Back |
---|---|
Payment Item VW |
SELECT A.BUSINESS_UNIT ,A.COMMON_ID ,A.SA_ID_TYPE ,A.SF_DEPOSIT_ID ,A.EMPLID ,A.EXT_ORG_ID ,A.POSTED_DATE ,A.SF_REVERSAL_IND ,SUM(A.PAYMENT_AMT) FROM PS_PAYMENT_TBL A ,PS_ITEM_SF B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.COMMON_ID = B.COMMON_ID AND A.SA_ID_TYPE = B.SA_ID_TYPE AND A.PAYMENT_ID_NBR = B.PAYMENT_ID_NBR AND B.RECEIPT_NBR = 0 GROUP BY A.BUSINESS_UNIT ,A.COMMON_ID ,A.SA_ID_TYPE ,A.SF_DEPOSIT_ID ,A.EMPLID ,A.EXT_ORG_ID ,A.POSTED_DATE ,A.SF_REVERSAL_IND |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT Prompt Table: SP_BU_SF_NONVW |
2 | COMMON_ID | Character(11) | VARCHAR2(11) NOT NULL | Common ID to store Personal ID / Ext Org ID value |
3 | SA_ID_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
ID Type
O=Organization P=Person |
4 | SF_DEPOSIT_ID | Character(10) | VARCHAR2(10) NOT NULL | Deposit ID |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
6 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
7 | POSTED_DATE | Date(10) | DATE | Date Posted |
8 | SF_REVERSAL_IND | Character(1) | VARCHAR2(1) NOT NULL | Reversal Indicator |
9 | TOT_ITEM_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Amount Total |