TADB Commit

(Available with Order Execution Mgt.)

Description

TADB Commit saves the attribute value in the TADB Database.

Parameters

This function block has no parameters.

Note:

  1. 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.

  1. 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.

More information

TADB function block list.