Each row of this table represents a price rule
element. Multiple elements function together to determine the flow
of a price rule. For example, price rule element could be price
list, condition, equation, branch and coordinator etc.
Column Descriptions:
| Name | Type | Description |
| PRELEMENT_ID | BIGINT NOT NULL | Generated Key |
| IDENTIFIER | VARCHAR (64) NOT NULL | The identifier of the price rule element. |
| DESCRIPTION | VARCHAR (254) | A description of the element, suitable for
display to business users. |
| PRELETEMPLATE_ID | BIGINT NOT NULL | The template id of the price rule element. |
| PRICERULE_ID | BIGINT NOT NULL | The price rule id. |
| PARENT | VARCHAR (64) | The identifier of the parent element. |
| SEQUENCE | DOUBLE NOT NULL | The sequence of this element under its parent
element. |
| FIELD1 | VARCHAR (254) | Customizable. |
| FIELD2 | VARCHAR (254) | Customizable. |
| FIELD3 | VARCHAR (254) | Customizable. |
| OPTCOUNTER | SMALLINT NOT NULL DEFAULT 0 | The optimistic concurrency control counter for
the table. Every time there is an update to the table, the counter
is incremented. |
Indexes:
| Name | Column Names | Type |
| <SYSTEM-GENERATED> | PRELEMENT_ID | Primary Key |
| I0001345 | IDENTIFIER+PRICERULE_ID | Unique Index |
| I0001346 | PRELETEMPLATE_ID+PRICERULE_ID | Non-Unique Index |
| I0001347 | PRICERULE_ID | Non-Unique Index |
Constrained By Parent Tables:
| Constraint | Columns | Parent Table | Parent Columns | Type |
| F_3633 | PRICERULE_ID | PRICERULE | PRICERULE_ID | Cascade |
| F_3634 | PRELETEMPLATE_ID | PRELETEMPLATE | PRELETEMPLATE_ID | Cascade |
Referenced By Child Tables:
| Constraint | Columns | Child Table | Child Columns | Type |
| F_3635 | PRELEMENT_ID | PRELEMENTATTR | PRELEMENT_ID | Cascade |