ZX_RULES_B_
This table stores the tax rules that are used to determine the outcome of multiple tax determination processes. Each row stores a rule for a specific tax, configuration owner and tax determination process.
Details
-
Schema: FUSION
-
Object owner: ZX
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
ZX_RULES_B_PK_ |
LAST_UPDATE_DATE, LAST_UPDATED_BY, TAX_RULE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| TAX_RULE_CODE | VARCHAR2 | 30 | Tax rule code | ||
| TAX | VARCHAR2 | 30 | Tax for this rule | ||
| TAX_REGIME_CODE | VARCHAR2 | 30 | Tax regime code for this rule | ||
| SERVICE_TYPE_CODE | VARCHAR2 | 30 | Lookup code to indicate the tax determination process for this rule | ||
| APPLICATION_ID | NUMBER | Application identifier for this rule | |||
| RECOVERY_TYPE_CODE | VARCHAR2 | 30 | Lookup code to indicate recovery type for the tax of this rule | ||
| PRIORITY | NUMBER | Priority in which this rule is evaluated when rules are processed for the same tax and tax determination process | |||
| DET_FACTOR_TEMPL_CODE | VARCHAR2 | 30 | Determining factor template code used to evaluate this rule | ||
| SYSTEM_DEFAULT_FLAG | VARCHAR2 | 1 | Y or N indicates whether this rule is defaulted by the system during migration | ||
| EFFECTIVE_FROM | DATE | Effective from date | |||
| EFFECTIVE_TO | DATE | Effective to date | |||
| ENABLED_FLAG | VARCHAR2 | 1 | Y or N indicates if this rule is enabled | ||
| RECORD_TYPE_CODE | VARCHAR2 | 30 | Lookup code to indicate whether the record is migrated, seeded or defined by the user | ||
| CREATION_DATE | TIMESTAMP | Who column: indicates the date and time of the creation of the row. | |||
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| TAX_EVENT_CLASS_CODE | VARCHAR2 | 30 | Tax event class code for this rule | ||
| PROGRAM_LOGIN_ID | NUMBER | Login user identifier of last concurrent program to update this record | |||
| TAX_RULE_ID | NUMBER | 18 | Yes | Unique identifier | |
| CONTENT_OWNER_ID | NUMBER | 18 | Party tax profile identifier for configuration owner of this rule | ||
| CREATED_BY | VARCHAR2 | 64 | Who column: indicates the user who created the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | ||
| DETERMINING_FACTOR_CQ_CODE | VARCHAR2 | 30 | Determining factor class qualifier code for this rule | ||
| GEOGRAPHY_TYPE | VARCHAR2 | 30 | Geography type code for this rule | ||
| GEOGRAPHY_ID | NUMBER | 18 | Geography Id for this rule | ||
| TAX_LAW_REF_CODE | VARCHAR2 | 30 | Tax law reference code based on which this rule is defined | ||
| LAST_UPDATE_MODE_FLAG | VARCHAR2 | 1 | Lookup code to indicate whther this record is last updated through expert entry mode or guided entry mode. Possible values are E and G. | ||
| NEVER_BEEN_ENABLED_FLAG | VARCHAR2 | 1 | Y or N indicates if this rule is not enabled even once | ||
| EVENT_CLASS_MAPPING_ID | NUMBER | 18 | Event class mapping identifier for this rule | ||
| PROGRAM_NAME | VARCHAR2 | 30 | Program name of last concurrent program to update this record | ||
| PROGRAM_APP_NAME | VARCHAR2 | 50 | Application name of last concurrent program to update this record | ||
| TAX_STATUS_CODE | VARCHAR2 | 30 | Tax status code | ||
| REPORTING_TYPE_CODE | VARCHAR2 | 30 | Foreign key identifier to ZX_REPORTING_TYPES_B. Indicates the reporting type defined for the purpose of tax box numbers. | ||
| PERIODICITY_CODE | VARCHAR2 | 30 | Type of the tax box allocation rule ie., whether the tax box rule is applied for periodic tax returns or annual tax returns. | ||
| AUDIT_ACTION_TYPE_ | VARCHAR2 | 10 | Action Type - have values like INSERT, UPDATE and DELETE. | ||
| AUDIT_CHANGE_BIT_MAP_ | VARCHAR2 | 1000 | Used to store a bit map of 1s and 0s for each column in the table. | ||
| AUDIT_IMPERSONATOR_ | VARCHAR2 | 64 | Original Impersonator User. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZX_RULES_B_N1_ | Non Unique | Default | TAX_RULE_ID |
| ZX_RULES_B_U1_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, TAX_RULE_ID |