GPNL_TXR_AC_VW(SQL View) |
Index Back |
---|---|
Tax Reports SetupThis view gives access to the yearly accumulators avalaible for Netherlands, where user key 1 is Company. Used as prompt view for the table GPNL_TXR_DTL. The view is based on the Global Payroll mechanism for prompting againts elements (security based on Global Payroll setup). It is a clone of GP_PIN_ACD_VW. |
SELECT B.COUNTRY , B.PIN_NUM , B.PIN_NM , B.DESCR , B.COUNTRY FROM PS_GP_PIN B , PS_GP_ACCUMULATOR D WHERE B.PIN_NUM=D.PIN_NUM AND B.PIN_NUM < 50000000 AND D.ACM_PRD_OPTN = '5' AND D.CALC_TYPE IN ('B','P') AND B.COUNTRY='NLD' AND D.PIN_USER_KEY1_NUM IN ( SELECT PIN_NUM FROM PS_GP_PIN WHERE PIN_CODE = 'COMPANY ALL' OR PIN_CODE = 'BEL VR SLEUTEL NLD') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
2 | PIN_NUM | Number(8,0) | INTEGER NOT NULL | PIN Number |
3 | PIN_NM | Character(18) | VARCHAR2(18) NOT NULL | Element Name field |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | COUNTRY_CD | Character(3) | VARCHAR2(3) NOT NULL | Country Code |