UK_VAT_RET_VW1(SQL View) |
Index Back |
---|---|
UK_VAT_RET_VW1View for UK VAT Digital Return |
SELECT DISTINCT PROCESS_INSTANCE ,VAT_RPT_ID ,VAT_ENTITY ,DESCR ,DESCRSHORT ,COUNTRY_VAT_RPTG ,VAT_RGSTRN_ID ,COUNTRY ,ADDRESS1 ,ADDRESS2 ,ADDRESS3 ,ADDRESS4 ,CITY ,NUM1 ,NUM2 ,HOUSE_TYPE ,ADDR_FIELD1 ,ADDR_FIELD2 ,ADDR_FIELD3 ,COUNTY ,STATE ,POSTAL ,GEO_CODE , IN_CITY_LIMIT ,COUNTRY_HOME ,COUNTRY_2CHAR ,COUNTRY_CODE ,PHONE ,EXTENSION ,FAX ,CONTACT_NAME ,RPT_DT ,RPT_FROM_DT ,RPT_THRU_DT ,RPT_TXN_FRM_DT ,RPT_TXN_THRU_DT , VAT_ACCTG_SCHEME ,VAT_RPT_TYPE ,NAME1 ,NAME2 ,VAT_ADMIN_ID ,RUN_DTTM ,VAT_TRANS_AMT_SRC ,RPT_PERIOD ,RPT_YEAR FROM PS_VAT_RPT_INST1 WHERE VAT_RPT_ID = 'UKVATRTN' |
# | 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
6 | COUNTRY_VAT_RPTG | Character(3) | VARCHAR2(3) NOT NULL | VAT Reporting Country |
7 | VAT_RGSTRN_ID | Character(20) | VARCHAR2(20) NOT NULL | VAT Registration ID |
8 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
9 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
10 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
11 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
12 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
13 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
14 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
15 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
16 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
17 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
18 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
19 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
20 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
21 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
22 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
23 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
24 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
25 | COUNTRY_HOME | Character(3) | VARCHAR2(3) NOT NULL | Home Country |
26 | COUNTRY_2CHAR | Character(2) | VARCHAR2(2) NOT NULL | 2-Char Country Code |
27 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | Int'l Prefix |
28 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
29 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | Phone Extension |
30 | FAX | Character(24) | VARCHAR2(24) NOT NULL | Fax Number |
31 | CONTACT_NAME | Character(50) | VARCHAR2(50) NOT NULL | The individual contact name associated with a given bank/counterparty. |
32 | RPT_DT | Date(10) | DATE | Report Date |
33 | RPT_FROM_DT | Date(10) | DATE | Report Transactions From |
34 | RPT_THRU_DT | Date(10) | DATE | Report Thru Date |
35 | RPT_TXN_FRM_DT | Date(10) | DATE | Select Transactions From |
36 | RPT_TXN_THRU_DT | Date(10) | DATE | Select Transactions Thru |
37 | VAT_ACCTG_SCHEME | Character(1) | VARCHAR2(1) NOT NULL |
VAT Accounting Scheme
0=Non-cash (Accrual) 1=Cash Accounting Default Value: 0 |
38 | VAT_RPT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
VAT Report Type
C=Reverse Charge Sales List O=Other Report R=VAT Return S=EC Sales List |
39 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
40 | NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Name 2 |
41 | VAT_ADMIN_ID | Character(20) | VARCHAR2(20) NOT NULL | Administrative ID |
42 | RUN_DTTM | DateTime(26) | TIMESTAMP | Run Date and Time |
43 | VAT_TRANS_AMT_SRC | Character(1) | VARCHAR2(1) NOT NULL |
VAT Transaction Amount Source
B=Rpt printed as Final - Keep it C=Info from Source Tables |
44 | RPT_PERIOD | Character(2) | VARCHAR2(2) NOT NULL | Reporting Period |
45 | RPT_YEAR | Character(4) | VARCHAR2(4) NOT NULL | Reporting Year |