CDR_UNMTCHK_VW(SQL View) |
Index Back |
---|---|
Used to obtain totalsUsed to obtain totals such as total payments, total paid out, non-cash/check payments, non-cash/check paid bout |
SELECT CHK.BUS_UNIT_TYPE , CHK.BUSINESS_UNIT , CHK.DRAWER_ID , CHK.CURRENCY_CD , CHK.CHECK_NBR , CHK.CHECK_NBR_SEQ , CHK.PAYMENT_AMT , RECPT.DEPOSIT_BU , RECPT.RECEIPT_NBR , PMT.RECEIPT_NBR_SEQ , PMT.PAYMENT_AMT FROM PS_CDR_RECON_CHK CHK , PS_CDR_RECEIPT RECPT , PS_CDR_RECEIPT_PMT PMT WHERE CHK.BUS_UNIT_TYPE = RECPT.BUS_UNIT_TYPE AND CHK.BUSINESS_UNIT = RECPT.BUSINESS_UNIT AND CHK.DRAWER_ID = RECPT.DRAWER_ID AND RECPT.DEPOSIT_BU = PMT.DEPOSIT_BU AND RECPT.RECEIPT_NBR = PMT.RECEIPT_NBR AND PMT.PAYMENT_METHOD_CDR = 'CHK' AND RECPT.RECEIPT_STATUS = 'PRT' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUS_UNIT_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Business Unit Type
AR=Accounts Receivable OM=Order Management |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | DRAWER_ID | Character(5) | VARCHAR2(5) NOT NULL | Drawer Identificaion |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | CHECK_NBR | Character(30) | VARCHAR2(30) NOT NULL | Check Number |
6 | CHECK_NBR_SEQ | Number(5,0) | INTEGER NOT NULL | Check Number Sequence |
7 | AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
8 | DEPOSIT_BU | Character(5) | VARCHAR2(5) NOT NULL | Identifies the business unit to which a deposit is posted. |
9 | RECEIPT_NBR | Character(15) | VARCHAR2(15) NOT NULL | Receipt Number |
10 | RECEIPT_NBR_SEQ | Number(3,0) | SMALLINT NOT NULL | Receipt Number Sequence |
11 | PAYMENT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of a customer payment. |