| Field Index | SQL Mapping |
| Type | Field Name |
|---|---|
| poid | PIN_FLD_POID |
| timestamp | PIN_FLD_CREATED_T |
| timestamp | PIN_FLD_MOD_T |
| string | PIN_FLD_READ_ACCESS |
| string | PIN_FLD_WRITE_ACCESS |
| string | PIN_FLD_CREATE_ACCESS |
| poid | PIN_FLD_ACCOUNT_OBJ |
| string | PIN_FLD_DESCR |
| timestamp | PIN_FLD_END_T |
| string | PIN_FLD_NAME |
| string | PIN_FLD_CODE |
| string | PIN_FLD_PERMITTED |
| string | PIN_FLD_PROVISIONING_TAG |
| timestamp | PIN_FLD_START_T |
| enum | PIN_FLD_TYPE |
| enum | PIN_FLD_MODE |
| decimal | PIN_FLD_PRIORITY |
| decimal | PIN_FLD_OWN_MAX |
| decimal | PIN_FLD_OWN_MIN |
| decimal | PIN_FLD_PURCHASE_MAX |
| decimal | PIN_FLD_PURCHASE_MIN |
| poid | PIN_FLD_ATTRIBUTE_OBJ |
| enum | PIN_FLD_APPLY_MODE |
| int | PIN_FLD_DISCOUNT_VALIDITY_ROUNDING |
| array | PIN_FLD_USAGE_MAP |
| string | |
| string | |
| string | |
| int | |
| int | |
| array | PIN_FLD_DISCOUNT_CYCLE_VALIDITY |
| enum | |
| array | PIN_FLD_DISCOUNT_USAGE_VALIDITY |
| enum |
| Type | Field Name | Table | Column Name |
|---|---|---|---|
| base-class | /discount | discount_t | |
| poid | PIN_FLD_POID | poid* | |
| timestamp | PIN_FLD_CREATED_T | created_t | |
| timestamp | PIN_FLD_MOD_T | mod_t | |
| string | PIN_FLD_READ_ACCESS | read_access | |
| string | PIN_FLD_WRITE_ACCESS | wrtie_access | |
| string | PIN_FLD_CREATE_ACCESS | create_access | |
| poid | PIN_FLD_ACCOUNT_OBJ | account_obj* | |
| string | PIN_FLD_DESCR | descr | |
| timestamp | PIN_FLD_END_T | end_t | |
| string | PIN_FLD_NAME | name | |
| string | PIN_FLD_CODE | code | |
| string | PIN_FLD_PERMITTED | permitted | |
| string | PIN_FLD_PROVISIONING_TAG | provisioning_tag | |
| timestamp | PIN_FLD_START_T | start_t | |
| enum | PIN_FLD_TYPE | type | |
| enum | PIN_FLD_MODE | disc_mode | |
| decimal | PIN_FLD_PRIORITY | priority | |
| decimal | PIN_FLD_OWN_MAX | own_max | |
| decimal | PIN_FLD_OWN_MIN | own_min | |
| decimal | PIN_FLD_PURCHASE_MAX | purchase_max | |
| decimal | PIN_FLD_PURCHASE_MIN | purchase_min | |
| poid | PIN_FLD_ATTRIBUTE_OBJ | attribute_obj* | |
| enum | PIN_FLD_APPLY_MODE | apply_mode | |
| int | PIN_FLD_DISCOUNT_VALIDITY_ROUNDING | discount_validity_rounding | |
| array | PIN_FLD_USAGE_MAP | discount_usage_map_t | |
| string |
PIN_FLD_EVENT_TYPE
|
event_type | |
| string |
PIN_FLD_DISCOUNT_MODEL
|
discount_model | |
| string |
PIN_FLD_MODEL_SELECTOR
|
model_selector | |
| int |
PIN_FLD_FLAGS
|
flags | |
| int |
PIN_FLD_SNOWBALL_FLAG
|
snowball_flags | |
| array | PIN_FLD_DISCOUNT_CYCLE_VALIDITY | discount_cycle_validity_t | |
| enum |
PIN_FLD_DISCOUNT_FLAGS
|
discount_flags | |
| array | PIN_FLD_DISCOUNT_USAGE_VALIDITY | discount_usage_validity_t | |
| enum |
PIN_FLD_DISCOUNT_FLAGS
|
discount_flags | Column names marked with * are actually column prefixes. For poid type fields, the column prefix is used to create the columns poid_id0, poid_db and poid_type if the prefix is "poid". For PIN_FLD_POID in the base table, an additional column named poid_rev is created to hold the poid revision. For buffer fields, two columns are created - one in the containing table and one in the buffer table. For example if the prefix is "buf", then the column name in the buffer table is buffer_buf and the column name in the containing table is buffer_size. |
| Field Index | This Class |