VAT_RPT_ERR3_VW(SQL View) |
Index Back |
---|---|
Error View For Unselected Rows |
SELECT b.process_instance , b.vat_rpt_id , b.vat_entity , a.country_vat_rptg , a.vat_dcmnt_id , a.cust_id , a.line_nbr , a.unpost_seq , a.tax_cd_vat , a.vat_txn_type_cd FROM PS_VAT_TXN_TBL a , ps_vat_rpt_err3 b WHERE a.vat_entity = b.vat_entity AND a.country_vat_rptg = b.country_vat_rptg AND a.vat_dcmnt_id = b.vat_dcmnt_id AND a.line_nbr = b.line_nbr AND a.unpost_seq = b.unpost_seq |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
2 | VAT_RPT_ID | Character(8) | VARCHAR2(8) NOT NULL | Report ID |
3 | 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. |
4 | COUNTRY_VAT_RPTG | Character(3) | VARCHAR2(3) NOT NULL | VAT Reporting Country |
5 | VAT_DCMNT_ID | Number(8,0) | INTEGER NOT NULL | VAT Document ID |
6 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
7 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
8 | UNPOST_SEQ | Number(2,0) | SMALLINT NOT NULL | Identifies the sequence of journal entries when a journal is "unposted". When a journal is posted the UnPost Sequence is automatically set to "0". When a journal is unposted, a new reversing entry is automatically created with an UnPost Sequence of "1". |
9 | 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. |
10 | 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. |