ZPM_PARTNER_ACCOUNTS

Accounts for Partners, modeled to define the resource allocation for monitoring and working with Partners.

Details

  • Schema: FUSION

  • Object owner: ZPM

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

ZPM_PARTNER_ACCOUNTS_PK

PARTNER_ACCOUNT_ID

Columns

Name Datatype Length Precision Not-null Comments
PARTNER_ACCOUNT_ID NUMBER 18 Yes Surrogate Primary Key for the partner account team.
PARTNER_PARTY_ID NUMBER 18 Yes The partner profile to which this partner account belongs. Foreign key to HZ_PARTIES table.
ACCOUNT_DIRECTOR_ID NUMBER 18 The PARTY_ID of the resource designated as the director of the Partner Account. Foreign key to the HZ_PARTIES table.
LAST_ASSIGNED_DATE DATE The date indicating when the Partner Account Territory Assignment was last run by Assignment Manager.
ASSGN_EXCEPTION_FLAG VARCHAR2 1 Indicates whether the partner account had the required dimensions to allow assignment manager to assign territories to the partner account.
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.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of 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 CPDRF_VER_SOR
CPDRF_VER_PILLAR NUMBER 9 CPDRF_VER_PILLAR
CPDRF_LAST_UPD VARCHAR2 15 CPDRF_LAST_UPD

Foreign Keys

Table Foreign Table Foreign Key Column
ZPM_PARTNER_ACCOUNTS hz_parties PARTNER_PARTY_ID
ZPM_PARTNER_ACCOUNTS hz_parties ACCOUNT_DIRECTOR_ID
zpm_p_acct_territories zpm_partner_accounts PARTNER_ACCOUNT_ID
zpm_p_acct_resources zpm_partner_accounts PARTNER_ACCOUNT_ID

Indexes

Index Uniqueness Tablespace Columns
ZPM_PARTNER_ACCOUNTS_N2 Non Unique Default ASSGN_EXCEPTION_FLAG
ZPM_PARTNER_ACCOUNTS_N3 Non Unique Default ACCOUNT_DIRECTOR_ID
ZPM_PARTNER_ACCOUNTS_PK Unique Default PARTNER_ACCOUNT_ID
ZPM_PARTNER_ACCOUNTS_U1 Unique Default PARTNER_PARTY_ID
ZPM_PARTNER_ACCOUNTS_U2 Unique Default LAST_UPDATE_DATE, PARTNER_ACCOUNT_ID