DR_DISC_AMT_VW(SQL View) |
Index Back |
---|---|
Total Discounted Draft Amount |
SELECT BANK_SETID , BANK_CD , BANK_ACCT_KEY , DRAFT_BU , SUM(DRAFT_AMT_BASE) , CURRENCY_CD FROM PS_DRAFT_CONTROL WHERE DISCOUNT_DRAFT = 'Y' GROUP BY BANK_SETID, BANK_CD, BANK_ACCT_KEY, DRAFT_BU, CURRENCY_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. |
2 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
3 | BANK_ACCT_KEY | Character(4) | VARCHAR2(4) NOT NULL | A user defined unique identifier that facilitates the identification of a given account with a given bank |
4 | 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. |
5 | DRAFT_AMT_BASE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of a draft payment in the business unit's base currency. This field is maintained by the Draft Creation process. |
6 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |