ORD_EXSTAX_D_VW(SQL View) |
Index Back |
---|---|
Order Excise Tax Copy ViewDate Initials Issue Description 052402 dms EIND802 View for copying orders |
SELECT d.business_unit , d.order_no , d.order_int_line_no , d.sched_line_nbr , %subrec(exs_tax_dtl_sbr, d) , %subrec(exs_taxd_dt_sbr, d) , %subrec(exs_txrtamt_sbr, d) , d.currency_cd , d.currency_cd_base , d.exs_basis_amt , d.exs_basis_amt_bse , d.exs_basis_amt_rpt , d.exs_line_amt , d.exs_line_amt_bse , d.exs_tax_amt , d.exs_tax_amt_bse , d.exs_tax_amt_rpt , d.exs_tax_rate , d.exs_tax_rate_amt , d.exs_tax_val_bse FROM ps_ord_exs_tax_dtl d , PS_ORD_SCHEDULE s WHERE d.business_unit = s.business_unit AND d.order_no = s.order_no AND d.order_int_line_no = s.order_int_line_no AND d.sched_line_nbr = s.sched_line_nbr AND s.ord_sch_status NOT IN ('C', 'X') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |
3 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
4 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
5 | EXS_TAX_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Tax Type
C=Custom Duty E=Excise Duty G=Goods and Services Tax S=Sales Tax / VAT |
6 | EXS_TAX_RATE_SEQ | Number(3,0) | SMALLINT NOT NULL | Tax Rate Sequence |
7 | EXS_TAX_CMPNT_CD | Character(10) | VARCHAR2(10) NOT NULL | Tax Component Code |
8 | EXS_TAX_DEP_CD | Character(10) | VARCHAR2(10) NOT NULL | Tax Dependency Code |
9 | EXS_CALC_SCHEME | Character(1) | VARCHAR2(1) NOT NULL |
Calculation Scheme
A=Amount P=Percentage Q=Quantity |
10 | EXS_TAX_RATE_PCT | Number(8,4) | DECIMAL(7,4) NOT NULL | Tax Rate Percentage |
11 | EXS_TXRTAMT_TRC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Tax Rate Currency |
12 | EXS_CURRENCY_TRC | Character(3) | VARCHAR2(3) NOT NULL | Curreny Tax Rate |
13 | EXS_TAX_RATE_UOM | Character(3) | VARCHAR2(3) NOT NULL | Excise Unit Of Measure |
14 | EXS_RCVRY_PCT | Number(8,4) | DECIMAL(7,4) NOT NULL | Tax Percentage |
15 | EXS_CALC_BASE_FLG | Character(1) | VARCHAR2(1) NOT NULL | Calculation Base Flag |
16 | EXS_CALC_FRGHT_FLG | Character(1) | VARCHAR2(1) NOT NULL | Calculation Freight Flag |
17 | EXS_CALC_MISC_FLG | Character(1) | VARCHAR2(1) NOT NULL | Calculation Miscellaneous Flag |
18 | EXS_TAX_RATE_CD | Character(10) | VARCHAR2(10) NOT NULL | Tax Rate Code |
19 | MISC_CHARGE_CODE | Character(10) | VARCHAR2(10) NOT NULL | 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement |
20 | EXS_CURRENCY_RPTG | Character(3) | VARCHAR2(3) NOT NULL | Excise Currency Reporting |
21 | EXS_TAXRT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Tax Rate Amount |
22 | EXS_TAXRT_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Tax Rate Amount |
23 | EXS_TAXRT_AMT_RPT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Tax Rate Amount |
24 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
25 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
26 | EXS_BASIS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Basis Amount |
27 | EXS_BASIS_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Basis Amount Base Currency |
28 | EXS_BASIS_AMT_RPT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Basis Amount Reporting Currency |
29 | EXS_LINE_AMT | Number(27,3) | DECIMAL(26,3) NOT NULL | Line Amount in Tax Locn |
30 | EXS_LINE_AMT_BSE | Number(27,3) | DECIMAL(26,3) NOT NULL | Line Amount in Base Curr |
31 | EXS_TAX_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Amount |
32 | EXS_TAX_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Amount Base Currency |
33 | EXS_TAX_AMT_RPT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Amount Reporting Currency |
34 | EXS_TAX_RATE | Number(7,4) | DECIMAL(6,4) NOT NULL | Tax Rate |
35 | EXS_TAX_RATE_AMT | Number(27,3) | DECIMAL(26,3) NOT NULL | Tax Rate Amount |
36 | EXS_TAX_VAL_BSE | Number(27,3) | DECIMAL(26,3) NOT NULL | Tax Base Value |