ZX_TRX_TELEMETRY_DATA
This table stores the metrics for transactional tax API calls for a document for which the tax calculation API is called. Currently, a record will be created for every transaction for which the tax calculation call is performed by a Tax Partner.
Details
-
Schema: FUSION
-
Object owner: ZX
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
ZX_TRX_TELEMETRY_DATA_PK |
TRX_ID, EVENT_CLASS_CODE, ENTITY_CODE, APPLICATION_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
APPLICATION_ID | NUMBER | 18 | Yes | Application Identifier of the transaction | |
ENTITY_CODE | VARCHAR2 | 30 | Yes | Entity code of the application event class for the transaction | |
EVENT_CLASS_CODE | VARCHAR2 | 30 | Yes | Application event class of the transaction | |
TRX_ID | NUMBER | 18 | Yes | Identifier of the transaction header | |
INTERNAL_ORGANIZATION_ID | NUMBER | 18 | Yes | Internal organization identifier of the transaction | |
LEGAL_ENTITY_ID | NUMBER | 18 | Yes | Legal entity identifier for the transaction | |
FIRST_PTY_ORG_ID | NUMBER | 18 | Yes | Party tax profile identifier for the first party organization of the transaction | |
DEFAULT_TAXATION_COUNTRY | VARCHAR2 | 2 | Default taxation country code for the transaction | ||
TAX_PROVIDER_ID | NUMBER | 18 | Yes | Party tax profile identifier of the third party service provider that has determined the tax for the transaction | |
BILLING_CALENDAR_YEAR_MONTH | VARCHAR2 | 15 | Yes | Indicates the specific period during which the tax calculation API was first called for the transaction. Valid format YYYY-MM | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of 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 | 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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
ZX_TRX_TELEMETRY_DATA | xle_entity_profiles | LEGAL_ENTITY_ID |
ZX_TRX_TELEMETRY_DATA | zx_party_tax_profile | FIRST_PTY_ORG_ID |
ZX_TRX_TELEMETRY_DATA | zx_party_tax_profile | TAX_PROVIDER_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
ZX_TRX_TELEMETRY_DATA_N1 | Non Unique | Default | BILLING_CALENDAR_YEAR_MONTH |
ZX_TRX_TELEMETRY_DATA_U1 | Unique | Default | TRX_ID, EVENT_CLASS_CODE, ENTITY_CODE, APPLICATION_ID |