ZX_FORMULA_B
This table stores tax formulas that will be used to calculate taxable basis and tax amounts. Each row stores a formula to determine taxable basis or tax amount for a specific tax.
Details
-
Schema: FUSION
-
Object owner: ZX
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
Name | Columns |
---|---|
ZX_FORMULA_B_PK |
FORMULA_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
FORMULA_TYPE_CODE | VARCHAR2 | 30 | Yes | Lookup code that indicates whether this formula is for calculation of taxable basis or tax amount | |
FORMULA_CODE | VARCHAR2 | 30 | Yes | Formula code | |
TAX_REGIME_CODE | VARCHAR2 | 30 | Tax regime code for which this formula is applicable | ||
TAX | VARCHAR2 | 30 | Tax for which this formula is applicable | ||
EFFECTIVE_FROM | DATE | Yes | Effective from date | ||
EFFECTIVE_TO | DATE | Effective to date | |||
ENABLED_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether this formula is enabled | |
TAXABLE_BASIS_TYPE_CODE | VARCHAR2 | 30 | Column to store whether the transaction line amount, the prior tax amount or the quantity is to be treated as the taxable basis. Possible values are LINE AMOUNT, PRIOR TAX and QUANTITY. | ||
RECORD_TYPE_CODE | VARCHAR2 | 30 | Yes | Lookup code to indicate whether the record is migrated, seeded or defined by the user | |
BASE_RATE_MODIFIER | NUMBER | Base rate modifier percentage for taxable basis of type LINE AMOUNT | |||
CASH_DISCOUNT_APPL_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether cash discount is applicable for determining taxable basis of type LINE AMOUNT | |
VOLUME_DISCOUNT_APPL_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether volume discount is applicable for determining taxable basis of type LINE AMOUNT | |
TRADING_DISCOUNT_APPL_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether trading discount is applicable for determining taxable basis of type LINE AMOUNT | |
TRANSFER_CHARGE_APPL_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether transfer charge is applicable for determining taxable basis of type LINE AMOUNT | |
TRANSPORT_CHARGE_APPL_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether transportation charge is applicable for determining taxable basis of type LINE AMOUNT | |
INSURANCE_CHARGE_APPL_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether insurance charge is applicable for determining taxable basis of type LINE AMOUNT | |
OTHER_CHARGE_APPL_FLAG | VARCHAR2 | 1 | Yes | Y or N indicates whether other charges are applicable for determining taxable basis of type LINE AMOUNT | |
ATTRIBUTE_CATEGORY | VARCHAR2 | 150 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE16 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE17 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE18 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE19 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE20 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
CREATION_DATE | TIMESTAMP | Yes | 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 | 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 | |||
FORMULA_ID | NUMBER | 18 | Yes | Unique identifier | |
CONTENT_OWNER_ID | NUMBER | 18 | Yes | Party tax profile identifier for configuration owner of this formula | |
CREATED_BY | VARCHAR2 | 64 | Yes | 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 | 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 | ||
PACKING_CHARGE_APPL_FLAG | VARCHAR2 | 1 | Indicates whether packing charge is applicable for determining taxable basis of type LINE AMOUNT. Valid values: Y and N. | ||
APPLY_UNIT_PRC_THRSHLD_FLAG | VARCHAR2 | 1 | Indicates if unit price threshold is applied for the formula. Valid values: Y and N. | ||
APPLY_TXBS_VAL_ADD_FLAG | VARCHAR2 | 1 | Indicates if taxable basis value addition is applied for the formula. Valid values: Y and N. | ||
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. | ||
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_formula_tl | zx_formula_b | FORMULA_ID |
zx_formula_details | zx_formula_b | FORMULA_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
ZX_FORMULA_B_U1 | Unique | Default | FORMULA_ID, ORA_SEED_SET1 |
ZX_FORMULA_B_U11 | Unique | Default | FORMULA_ID, ORA_SEED_SET2 |
ZX_FORMULA_B_U2 | Unique | Default | FORMULA_CODE, EFFECTIVE_FROM, ENABLED_FLAG, CONTENT_OWNER_ID, TAX_REGIME_CODE, ORA_SEED_SET1 |
ZX_FORMULA_B_U21 | Unique | Default | FORMULA_CODE, EFFECTIVE_FROM, ENABLED_FLAG, CONTENT_OWNER_ID, TAX_REGIME_CODE, ORA_SEED_SET2 |