The behavior table lists each source item, with its value, of a transaction cost. Each row in a behavior table:
A behavior table contains the following columns with a maximum field length as noted:
Position |
Name | Maximum Field Length | Description |
1 |
Time | Char 32 | The period for the transaction costs |
2 |
ID | Char 32 | The identifying reference for the behavior |
3 |
Name | Char 64 | The name of the behavior |
4 |
TotalValue | Numeric 8 | The total source amount that will be spread |
5 |
UnitValue | Numeric 8 | The unit cost for each transaction with this source |
A behavior table must conform to the following rules:
Different behaviors can have the same ID.
This is frequently the case when the behaviors represent different time periods.
Because rules are attached to behaviors by the behavior ID,
having identical IDs allows you to attach the same rule to behaviors
from different time periods.
Note: If two behaviors have the same ID, then they must have the same name.
The following picture shows an example of behaviors with the same ID.
The following picture shows a sample behavior table: