(Available with Order Execution Mgt.)
Description
TADB Initilize initializes the TADB Root object.
Parameters
This function block has the following parameters.
Parameter |
Description |
Item ID |
Item ID to get the attribute value that belongs this Item ID. |
Item Type |
Item type |
Item Group |
Item Type Group defined in the TADB Database. |
Note:
When you want to set the value of more than one attribute in the database you need to call the following function blocks in the following order.
Function Block |
Procedure |
|
1 |
TADB Initilize |
When called TADB Initilize initializes the TADB Root object. |
2 |
TADB Set Attribute |
Call consecutively TADB Set Attribute function blocks for each attribute that belongs to that item type group. |
3 |
TADB Commit |
When you have completed setting the attributes immediately call TADB Commit to update the value in TADB Database. |
Example
TADB Initilize
TADB Set Attribute //For attribute 1 Set Item ID.
TADB Set Attribute //For attribute 2
TADB Set Attribute //For attribute 3
TADB Set Attribute //For attribute 4
TADB Commit //this will save all the attribute value in database.
If you are setting attributes in the TADB Database where:
Tables have a relationship with Items and
The Item ID is the foreign key in the respective record that is set
Then you need to set the:
Attribute ID as id. and
Attribute value as Item ID.
TADB function block list. |