DBA Data[Home] [Help] [Dependency Information]


TABLE: AR.AR_SALES_TAX

Object Details
Object Name: AR_SALES_TAX
Object Type: TABLE
Owner: AR
FND Design Data: TableAR.AR_SALES_TAX
Subobject Name:
Status: VALID


The AR_SALES_TAX table stores compiled sales tax rates for each taxing authority that is defined in Oracle Receivables. Multiple sales tax rates, distinguished by postal code and effective date range, may be associated with a single taxing authority.
.
Only database triggers that are associated with the AR_LOCATION_RATES and AR_LOCATION_COMBINATIONS tables can create records in this table. The AR_LOCATION_RATES table is the source for all sales tax rates. Any records that are created in this table are automatically compiled into the composite rate, provided that every segment has overlapping postal code and effective date ranges.
.
This table improves the performance of the Oracle Receivables sales tax rate calculation program that is used during invoice line creation.
.
The primary keys for this table are LOCATION_ID, ENABLED_FLAG, START_DATE, END_DATE, FROM_POSTAL_CODE, and TO_POSTAL_CODE.


Storage Details
Tablespace: TablespaceAPPS_TS_TX_DATA
PCT Free: 10
PCT Used:
Indexes
Index Type Uniqueness Tablespace Column
AR_SALES_TAX_U1 NORMAL UNIQUE TablespaceAPPS_TS_TX_IDX ColumnSALES_TAX_ID
AR_SALES_TAX_N1 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnFROM_POSTAL_CODE
ColumnSTART_DATE
ColumnTO_POSTAL_CODE
ColumnEND_DATE
ColumnLOCATION_ID
AR_SALES_TAX_N2 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnLOCATION_ID
Columns
Name Datatype Length Mandatory Comments
LAST_UPDATE_DATE DATE
Yes Standard Who column - date when a user last updated this row.
LAST_UPDATED_BY NUMBER (15) Yes Standard who column - user who last updated this row (foreign key to FND_USER.USER_ID).
CREATED_BY NUMBER (15) Yes Standard who column - user who created this row (foreign key to FND_USER.USER_ID).
CREATION_DATE DATE
Yes Standard who column - date when this row was created.
LOCATION_ID NUMBER (15) Yes Location code combination ID, foreign key to the AR_LOCATION_CODE_COMBINATIONS table
RATE_CONTEXT VARCHAR2 (30) Yes Internal structure ID of the Sales Tax Location Flexfield, initially allows the rate structure to display
ENABLED_FLAG VARCHAR2 (1) Yes Y or N indicates if the sales tax rate is enabled
START_DATE DATE
Yes Date when tax becomes active
END_DATE DATE
Yes Date when tax becomes inactive
FROM_POSTAL_CODE VARCHAR2 (30) Yes Low range of a postal code that this rate is active for against this location
TO_POSTAL_CODE VARCHAR2 (30) Yes High range of a postal code that this rate is active for against this location
TAX_RATE NUMBER
Yes Compiled sales tax rate, sum of every tax rate, taking into account overrides, for each segment of your structure
LOCATION1_RATE NUMBER

Rate that is assigned to Segment 1 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION2_RATE NUMBER

Rate that is assigned to Segment 2 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION3_RATE NUMBER

Rate that is assigned to Segment 3 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION4_RATE NUMBER

Rate that is assigned to Segment 4 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION5_RATE NUMBER

Rate that is assigned to Segment 5 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION6_RATE NUMBER

Rate that is assigned to Segment 6 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION7_RATE NUMBER

Rate that is assigned to Segment 7 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION8_RATE NUMBER

Rate that is assigned to Segment 8 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION9_RATE NUMBER

Rate that is assigned to Segment 9 of the Sales Tax Location Flexfield, or null if this segment is inactive
LOCATION10_RATE NUMBER

Rate that is assigned to Segment 10 of the Sales Tax Location Flexfield, or null if this segment is inactive
ATTRIBUTE_CATEGORY VARCHAR2 (30)
Descriptive flexfield structure definition column.
ATTRIBUTE1 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE2 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE3 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE4 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE5 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE6 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE7 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE8 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE9 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE10 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE11 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE12 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE13 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE14 VARCHAR2 (150)
Descriptive flexfield segment
ATTRIBUTE15 VARCHAR2 (150)
Descriptive flexfield segment
PROGRAM_APPLICATION_ID NUMBER (15)
Concurrent Program who column - application id of the program that last updated this row (foreign key to FND_APPLICATION.APPLICATION_ID).
PROGRAM_ID NUMBER (15)
Concurrent Program who column - program id of the program that last updated this row (foreign key to FND_CONCURRENT_PROGRAM.CONCURRENT_PROGRAM_ID).
PROGRAM_UPDATE_DATE DATE

Concurrent Program who column - date when a program last updated this row).
REQUEST_ID NUMBER (15)
Concurrent Program who column - concurrent request id of the program that last updated this row (foreign key to FND_CONCURRENT_REQUESTS.REQUEST_ID).
DATE_FIRST_USED DATE

Identifies when this sales tax rate was first used
LAST_UPDATE_LOGIN NUMBER (15)
Standard who column - operating system login of user who last updated this row (foreign key to FND_LOGINS.LOGIN_ID).
SALES_TAX_ID NUMBER (15) Yes Internal primary key that is populated from the AR_SALES_TAX_S sequence, used as a foreign key in the RA_CUSTOMER_TRX_LINES table
Query Text

Cut, paste (and edit) the following text to query this object:


SELECT LAST_UPDATE_DATE
,      LAST_UPDATED_BY
,      CREATED_BY
,      CREATION_DATE
,      LOCATION_ID
,      RATE_CONTEXT
,      ENABLED_FLAG
,      START_DATE
,      END_DATE
,      FROM_POSTAL_CODE
,      TO_POSTAL_CODE
,      TAX_RATE
,      LOCATION1_RATE
,      LOCATION2_RATE
,      LOCATION3_RATE
,      LOCATION4_RATE
,      LOCATION5_RATE
,      LOCATION6_RATE
,      LOCATION7_RATE
,      LOCATION8_RATE
,      LOCATION9_RATE
,      LOCATION10_RATE
,      ATTRIBUTE_CATEGORY
,      ATTRIBUTE1
,      ATTRIBUTE2
,      ATTRIBUTE3
,      ATTRIBUTE4
,      ATTRIBUTE5
,      ATTRIBUTE6
,      ATTRIBUTE7
,      ATTRIBUTE8
,      ATTRIBUTE9
,      ATTRIBUTE10
,      ATTRIBUTE11
,      ATTRIBUTE12
,      ATTRIBUTE13
,      ATTRIBUTE14
,      ATTRIBUTE15
,      PROGRAM_APPLICATION_ID
,      PROGRAM_ID
,      PROGRAM_UPDATE_DATE
,      REQUEST_ID
,      DATE_FIRST_USED
,      LAST_UPDATE_LOGIN
,      SALES_TAX_ID
FROM AR.AR_SALES_TAX;

Dependencies

[top of page]

AR.AR_SALES_TAX does not reference any database object

AR.AR_SALES_TAX is referenced by following:

SchemaAR
ViewAR_SALES_TAX#