TRV_VAT_TRAN_VW(SQL View) |
Index Back |
---|---|
View over TR VAT TransactionThis a view over TRV_VAT_TRAN for External Transactions. |
SELECT EVENT_ID ,BANK_ACCOUNT_NUM ,TRAN_REF_ID ,TRANSACTION_DT ,SEQ_NBR ,BUSINESS_UNIT ,ACCTG_TMPL_ID ,TR_SOURCE_CD ,TR_SOURCE_ID ,TRANSACTION_LEG ,TRANSACTION_LINE ,ACCTG_EVENT_TYPE ,ACCTG_TMPL_LINE ,ACCT_BUS_UNIT_GL ,%subrec(TRV_VAT_TXN_SBR,A) FROM PS_TRV_VAT_TRAN A WHERE A.TR_SOURCE_CD='B' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BNK_ID_NBR | Character(20) | VARCHAR2(20) NOT NULL | A literal alphanumeric attribute that uniquely identifies a given bank or counterparty. |
2 | BANK_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
3 | TRAN_REF_ID | Character(20) | VARCHAR2(20) NOT NULL | Represents the unique transaction identifier in bank reconciliation processing. |
4 | TRAN_DT | Date(10) | DATE | Represents the transaction date in bank reconciliation processing. |
5 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL |
Sequence Number
Default Value: 0 |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | ACCTG_TMPL_ID | Character(15) | VARCHAR2(15) NOT NULL | A unique key identifier that represents a predefined accounting template, that is a set of rules used to generate debits and credits. |
8 | TR_SOURCE_CD | Character(1) | VARCHAR2(1) NOT NULL |
Note: Changes to Translate Values must also be made to TRA_SOURCE_CD and SOURCE_TYPE. These 3 fields must be kept in sync.
Values that are inactive are for use in TR Accounting only
B=BSP D=Deals E=Deal Fees F=Facility Fees H=Hedges I=Interest M=Deal: Estimated Maturity Accr N=Netted Deal O=Other P=Investment Pools R=EFT Fees S=Securities T=LC Fees W=EFT Requests X=Bank Transfers Default Value: B |
9 | TR_SOURCE_ID | Character(12) | VARCHAR2(12) NOT NULL | An internal work field that represents a unique identifier for records depicting a given treasury po |
10 | TRANSACTION_LEG | Number(1,0) | SMALLINT NOT NULL |
The separate and distinct business positions of a given deal transaction line.
1=Pay Leg 2=Receive Leg Default Value: 0 |
11 | TRANSACTION_LINE | Number(3,0) | SMALLINT NOT NULL | The separate and distinct base instrument type components of a given deal transaction. |
12 | ACCTG_EVENT_TYPE | Character(2) | VARCHAR2(2) NOT NULL | Accounting types for deal capture and hedging |
13 | ACCTG_TMPL_LINE | Number(3,0) | SMALLINT NOT NULL | A sequential number that indicates the number of accounting debit or credit lines defined within a giv |
14 | ACCT_BUS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | The general ledger business unit associated with a given bank/counterparty account. |
15 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
16 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
17 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |
18 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
19 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
20 | VAT_ENTITY | Character(20) | VARCHAR2(20) NOT NULL | Specifies an organizational entity that is responsible for VAT reporting and that is registered in one or more countries that require VAT reporting. A single VAT entity is linked to one or more General Ledger Business Units depending on the reporting requirements. |
21 | COUNTRY_VAT_BILLFR | Character(3) | VARCHAR2(3) NOT NULL |
Specifies the country where an invoice is generated (for VAT processing only).
Prompt Table: COUNTRY_VAT_TBL |
22 | VAT_RGSTRN_SELLER | Character(20) | VARCHAR2(20) NOT NULL | Seller's VAT Registration |
23 | COUNTRY_VAT_BILLTO | Character(3) | VARCHAR2(3) NOT NULL |
Specifies the country where an invoice is sent (for VAT processing only).
Prompt Table: VAT_ENT_RGSTRN |
24 | VAT_RCRD_INPT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not (Y or N) a business unit will pay the VAT and recover it later from the VAT tax authority. VAT input is usually associated with purchase transactions.
Y/N Table Edit |
25 | VAT_RCRD_OUTPT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not (Y or N) VAT will be collected by the vendor on behalf of the government. VAT output is usually associated with sales transactions.
Y/N Table Edit |
26 | VAT_DCLRTN_DT | Date(10) | DATE NOT NULL | "Specifies the date of the invoice when the VAT declaration point (VAT_DCLRTN_POINT) is ""Invoice"". The VAT declaration date is automatically set to the invoice date by the system. This field does not apply when the declaration point is ""payment"". " |
27 | VAT_CALC_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
"A flag that indicates how VAT is stated and determines how the system performs the relevant VAT calculations. If ""Exclusive"", the VAT amount is stated separately from the merchandise amount. If ""Inclusive"", the VAT is not stated separately but is included with the merchandise amount."
E=Exclusive I=Inclusive |
28 | VAT_ROUND_RULE | Character(1) | VARCHAR2(1) NOT NULL |
" Rounding rule to be applied to VAT calculations. Options are 'Natural'
D=Round Down N=Natural Round U=Round Up |
29 | VAT_APPLICABILITY | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not a transaction is eligible for VAT (Value Added Tax) taxation or why it is not eligible.
E=Exempt N=Not Applicable O=Outside of Scope of VAT S=Suspended T=Taxable V=VAT Only X=Exonerated Prompt Table: TRV_VAT_APPL_VW |
30 | TAX_CD_VAT | Character(8) | VARCHAR2(8) NOT NULL |
Defines the VAT (Value Added Tax) percentage (via link to the Tax Authority) and is used to retrieve VAT accounting ChartFields. The VAT code determines how the VAT amount is calculated on a transaction and how that amount is accounted and reported for.
Prompt Table: VAT_HEADER_VW |
31 | TAX_CD_VAT_PCT | Signed Number(9,4) | DECIMAL(7,4) NOT NULL | Specifies the tax percentage that corresponds to the VAT code. If more than one VAT authority is linked to a VAT code this will represent an aggregate percentage. |
32 | VAT_TXN_TYPE_CD | Character(4) | VARCHAR2(4) NOT NULL |
Specifies a user-defined category of business transaction that is subject to VAT accounting and reporting. The VAT code and the VAT transaction type are used in conjunction with the VAT account type to obtain the ChartFields for accounting entries. Some examples of VAT Transaction Types are Exempt Sales Exempt Purchases Triangulation EU Sales and Domestic Sales.
Prompt Table: VAT_TXN_CD |
33 | VAT_USE_ID | Character(6) | VARCHAR2(6) NOT NULL |
VAT Use Type
Prompt Table: VAT_USE_TBL |
34 | VAT_RCVRY_PCT_SRC | Character(1) | VARCHAR2(1) NOT NULL |
VAT Recovery Percent Source
A=Automatically calculated M=Manual Entry |
35 | VAT_REBATE_PCT_SRC | Character(1) | VARCHAR2(1) NOT NULL |
VAT Rebate Percent Source
A=Automatically calculated M=Manual Entry |
36 | VAT_RECOVERY_PCT | Signed Number(7,2) | DECIMAL(5,2) NOT NULL | VAT Recovery Percent |
37 | VAT_REBATE_PCT | Signed Number(7,2) | DECIMAL(5,2) NOT NULL | VAT Rebate Percent |
38 | VAT_NRCVR_PRO_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Prorate Non-Recoverable VAT
Y/N Table Edit |
39 | VAT_NRCVR_ALL_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Allocate Non-Recoverable VAT
Y/N Table Edit |
40 | VAT_RPTG_CURR_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Amounts in Reporting Currency
Y/N Table Edit |
41 | CURRENCY_RPTG | Character(3) | VARCHAR2(3) NOT NULL | Reporting Currency |
42 | VAT_INV_AMT_RPTG | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Amt in Reporting Currency |
43 | VAT_TRANS_AMT_RPTG | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Transaction Amt Reporting |
44 | RATE_MULT_VAT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | An internal convention utilized for determing whether a currency exchange spot rate is stored either as di |
45 | RATE_DIV_VAT | Number(16,8) | DECIMAL(15,8) NOT NULL | An internal convention utilized for determing whether a currency exchange spot rate is stored either as direct |
46 | VAT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of VAT associated with a transaction such as an invoice or a purchase order. In PeopleSoft Receivables this field is populated when the VAT declaration point is set to Invoice. |
47 | VAT_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Amount in Base Curr |
48 | VAT_BASIS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount on a sale (receivables item) or purchase (Payables voucher) transaction that is subject to VAT taxation. Depending on other parameters this amount may represent the gross or net amount of the transaction and may or may not include freight charges. |
49 | VAT_BASIS_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Basis Amt in Base Curr |
50 | VAT_ENTRD_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Entered VAT Amount |
51 | VAT_ENTRD_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Entered VAT Amount Base Cur |
52 | VAT_CALC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Calculated Amount |
53 | VAT_CALC_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Calculated Amount Base Cur |
54 | VAT_RCVRY_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Recovery Amt |
55 | VAT_RCVRY_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Recovery Amt in Base Curr |
56 | VAT_REBATE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Rebate Amt |
57 | VAT_REBATE_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Rebate Amt in Base Curr |
58 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. |
59 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
60 | PHYSICAL_NATURE | Character(1) | VARCHAR2(1) NOT NULL |
Physical Nature
G=Goods S=Services Default Value: S |
61 | VAT_TREATMENT | Character(4) | VARCHAR2(4) NOT NULL |
VAT Treatment
Prompt Table: VAT_TREAT_VW |
62 | COUNTRY_VAT_SUPPLY | Character(3) | VARCHAR2(3) NOT NULL | VAT Place of Supply Country |
63 | STATE_VAT_SUPPLY | Character(6) | VARCHAR2(6) NOT NULL | VAT Place of Supply State |
64 | STATE_VAT_DEFAULT | Character(6) | VARCHAR2(6) NOT NULL | VAT Defaulting State |
65 | VAT_DFLT_DONE_FLG | Character(1) | VARCHAR2(1) NOT NULL |
VAT Defaulting Done
N=Awaiting Defaulting X=Do not default Y=Defaulting Done Default Value: N |
66 | VAT_EXCPTN_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
A flag that specifies the reason for a VAT exemption for a customer. Suspension (S) and Exoneration (X) are examples of Exception Type.
N=None S=Suspended X=Exonerated |
67 | VAT_EXCPTN_CERTIF | Character(20) | VARCHAR2(20) NOT NULL | Specifies the VAT exception certificate number. This identifier serves as proof of customer's exemption from VAT. |
68 | COUNTRY_BANK | Character(3) | VARCHAR2(3) NOT NULL | Bank Country |