ZX_REPORTING_TYPES_B
This table stores the tax reporting types, which identify specific units of information, such as a date or a text comment, to associate with a specific tax usage.
Details
-
Schema: FUSION
-
Object owner: ZX
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
| Name | Columns |
|---|---|
|
ZX_REPORTING_TYPES_B_PK |
REPORTING_TYPE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| REPORTING_TYPE_ID | NUMBER | 18 | Yes | Tax reporting type identifier | |
| REPORTING_TYPE_CODE | VARCHAR2 | 30 | Yes | Tax reporting type code | |
| REPORTING_TYPE_DATATYPE_CODE | VARCHAR2 | 30 | Lookup code to indicate the data type of the reporting codes defined for this reporting type | ||
| TAX_REGIME_CODE | VARCHAR2 | 30 | Tax regime code for which this reporting type is defined | ||
| TAX | VARCHAR2 | 30 | Tax for which this reporting type is defined | ||
| FORMAT_MASK | VARCHAR2 | 30 | Format mask to be applied on reporting codes of this reporting type | ||
| MIN_LENGTH | NUMBER | Column to store minimum length of reporting codes defined for this reporting type | |||
| MAX_LENGTH | NUMBER | Column to store maximum length of reporting codes defined for this reporting type | |||
| LEGAL_MESSAGE_FLAG | VARCHAR2 | 1 | Not currently used | ||
| EFFECTIVE_FROM | DATE | Yes | Effective from date | ||
| EFFECTIVE_TO | DATE | Effective to date | |||
| HAS_REPORTING_CODES_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether users can insert new reporting codes dynamically while associating them with taxes, statuses or rates | |
| RECORD_TYPE_CODE | VARCHAR2 | 30 | Lookup code to indicate whether the record is migrated, seeded or defined by the user | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| REQUEST_ID | NUMBER | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | |||
| PROGRAM_LOGIN_ID | NUMBER | Login user identifier of last concurrent program to update this record | |||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | 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. | |
| 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 | ||
| COUNTRY_CODE | VARCHAR2 | 2 | Country code for which this reporting type is defined. | ||
| VALIDATION_LEVEL | VARCHAR2 | 30 | Lookup code to indicate whether validation is based on an error or a warning. | ||
| UNIQUENESS_VALIDATION_LEVEL | VARCHAR2 | 30 | Lookup code to indicate whether validation is for all parties or a specific party. | ||
| VALIDATION_ROUTINE | VARCHAR2 | 80 | Identifier for the selected validation routine. | ||
| REGISTRATION_TYPE | VARCHAR2 | 30 | Registration type code associated with reporting type. | ||
| SEED_DATA_SOURCE | VARCHAR2 | 512 | Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file. | ||
| MODULE_ID | VARCHAR2 | 32 | Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data. | ||
| ORA_SEED_SET1 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N. | |
| ORA_SEED_SET2 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| ZX_REPORTING_TYPES_B | zx_regimes_b | TAX_REGIME_CODE |
| zx_reporting_types_tl | zx_reporting_types_b | REPORTING_TYPE_ID |
| zx_report_types_usages | zx_reporting_types_b | REPORTING_TYPE_ID |
| zx_report_codes_assoc | zx_reporting_types_b | REPORTING_TYPE_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZX_REPORTING_TYPES_B_U1 | Unique | Default | REPORTING_TYPE_ID, ORA_SEED_SET1 |
| ZX_REPORTING_TYPES_B_U11 | Unique | Default | REPORTING_TYPE_ID, ORA_SEED_SET2 |
| ZX_REPORTING_TYPES_B_U2 | Unique | Default | REPORTING_TYPE_CODE, TAX_REGIME_CODE, TAX, ORA_SEED_SET1 |
| ZX_REPORTING_TYPES_B_U21 | Unique | Default | REPORTING_TYPE_CODE, TAX_REGIME_CODE, TAX, ORA_SEED_SET2 |