BI_PMT_MDATE_VW(SQL View) |
Index Back |
---|
SELECT DISTINCT B.BILL_TO_CUST_ID , A.BUSINESS_UNIT , (CASE WHEN B.PAYMENT_METHOD = 'DD' THEN A.PMT_MANDATE_ID ELSE ' ' END ) ,(CASE WHEN B.PAYMENT_METHOD = 'DD' THEN A.PMT_MANDATE_REF ELSE ' ' END) FROM PS_BI_MANDATE_VW A , PS_BI_HDR B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.CUST_ID = B.BILL_TO_CUST_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BILL_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | PMT_MANDATE_ID | Character(15) | VARCHAR2(15) NOT NULL | Mandate direct debit |
4 | PMT_MANDATE_REF | Character(40) | VARCHAR2(40) NOT NULL | Mandate direct debit |