TM_DATA_SOURCE_ATTRIB
This table stores Transaction Matching data source attributes.
Details
Object type: TABLE
Primary Key
Name | Columns |
---|---|
DATASOURCEATTRIB_PK |
DATA_SOURCE_ATTRIB_ID |
Columns
Name | Data Type | Length | Precision | Scale | Null Allowed | Comments |
---|---|---|---|---|---|---|
CALC_ID |
NUMBER |
18 |
0 |
Yes |
Internal Use Only. Calculation associated with the attribute |
|
DATA_SOURCE_ID |
NUMBER |
18 |
0 |
No |
Foreign Key to TM_DATA_SOURCE |
|
DATA_SOURCE_ATTRIB_ID |
NUMBER |
18 |
0 |
No |
Primary key |
|
TEXT_ID |
NVARCHAR2 |
100 |
No |
Text ID of the attribute |
||
NAME |
NVARCHAR2 |
50 |
No |
Name of the attribute |
||
DATA_TYPE |
NVARCHAR2 |
20 |
No |
Data Type of the attribute. 1=Date, 3=Integer, 4=List, 6=Number, 8=Text, 10=Yes/No |
||
COLUMN_TYPE |
NVARCHAR2 |
25 |
No |
Type of the attribute, to distinguish between user input or calculated column (i.e. Input, Calculated, Reference) |
||
IS_REQUIRED |
NUMBER |
1 |
0 |
No |
1=True. indicates this attribute is mandatory during data entry, or 0=False indicates attribute not mandatory during data entry. |
|
IS_KEY |
NUMBER |
1 |
0 |
No |
1=True, indicates whether this attribute is a key, or 0=False, attribute not a key. |
|
DEFAULT_VALUE |
NVARCHAR2 |
1000 |
Yes |
Use Default Value is 1 (True) then the corresponding default value is stored here. |
||
TOTALING_METHOD |
NVARCHAR2 |
40 |
Yes |
Indicates totaling method for Integer and Number type of attributes. e.g. Sum, Average, Count, None |
||
OBJECT_VERSION_NUMBER |
NUMBER |
9 |
0 |
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. |
|
CREATED_BY |
NVARCHAR2 |
255 |
No |
Who column. Stores the ID of the user who created this row. |
||
UPDATED_BY |
NVARCHAR2 |
255 |
Yes |
Who column. Stores the ID of the user who last updated this row. |
||
CREATE_DATE |
TIMESTAMP(6) |
No |
Who column. Stores the date when this row was created in the database. |
|||
UPDATE_DATE |
TIMESTAMP(6) |
Yes |
Who column. Stores the date when this row was last updated. |
|||
IS_BALANCING_ATTRIB |
NUMBER |
1 |
0 |
Yes |
1=If the attribute is a balancing attribute, 0=attribute not the balancing attribute |
|
IS_ACCOUNTING_DATE |
NUMBER |
1 |
0 |
Yes |
1=If the attribute is selected as Accounting date, 0=attribute not selected as Accounting date |
|
IS_ALLOWED_TO_EDIT |
NUMBER |
1 |
0 |
Yes |
1=Indicates the attribute is editable during transaction edit, 0=not editable during transaction edit |
Indexes
Index | Uniqueness | Columns |
---|---|---|
DATASOURCEATTRIB_PK |
UNIQUE |
DATA_SOURCE_ATTRIB_ID |
UNIQUE_DATASOURCEATTRIB_IDX001 |
UNIQUE |
DATA_SOURCE_ID, SYS_NC00021$ |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
TM_DATA_SOURCE_ATTRIB |
TM_DATA_SOURCE |
DATA_SOURCE_ID |