ZPM_P_ACCT_TERRITORIES
A Territory in which the partner account falls. Each partner account may fall into one or more territories. A partner account falls into a territory by comparing its attributes with the attributes of the territories. This comparison is performed by the Assignment Manager.
Details
-
Schema: FUSION
-
Object owner: ZPM
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
ZPM_P_ACCT_TERRITORIES_PK |
P_ACCT_TERRITORY_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| P_ACCT_TERRITORY_ID | NUMBER | 18 | Yes | Unique ID for sales account territories. | |
| PARTNER_ACCOUNT_ID | NUMBER | 18 | Yes | Foreign key to the ZPM_PARTNER_ACCOUNTS table's PARTNER_ACCOUNT_ID column. | |
| TERRITORY_ID | NUMBER | 18 | Yes | This is the Territory Id column. | |
| TERRITORY_VERSION_ID | NUMBER | 18 | Yes | This is the Territory Version Id column. | |
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| USER_LAST_UPDATE_DATE | TIMESTAMP | Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). | |||
| CPDRF_VER_SOR | NUMBER | 9 | Standard replication column | ||
| CPDRF_VER_PILLAR | NUMBER | 9 | Standard replication column | ||
| CPDRF_LAST_UPD | VARCHAR2 | 15 | Standard replication column |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| ZPM_P_ACCT_TERRITORIES | zpm_partner_accounts | PARTNER_ACCOUNT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZPM_P_ACCT_TERRITORIES_N1 | Non Unique | Default | LAST_UPDATE_DATE |
| ZPM_P_ACCT_TERRITORIES_PK | Unique | Default | P_ACCT_TERRITORY_ID |
| ZPM_P_ACCT_TERRITORIES_U1 | Unique | Default | PARTNER_ACCOUNT_ID, TERRITORY_ID |