The following database tables contain information related to Oracle ATG Web Commerce organizational roles:

dbc_organization

The dbc_organization table contains information related to the basic model for organizational hierarchies. It layers properties onto the organization model that describe a business organization.

Column

Data Type

Constraint

id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of the organization. References dps_organization(org_id).

type

INT

NULL

An enumerated property of the type of organization this organization represents. Department, company, division etc.

cust_type

INT

NULL

An enumerated property that indicates the status level of this company. Preferred, Enterprise or Standard.

duns_number

VARCHAR(20)

NULL

The company’s Dun and Bradstreet number.

dflt_shipping_addr

VARCHAR(40)

NULL

A default shipping address for this organization. References dps_contact_info(id).

dflt_billing_addr

VARCHAR(40)

NULL

A default billing address for this organization. References dps_contact_info(id).

dflt_payment_type

VARCHAR(40)

NULL

A default credit card for this organization. References dps_credit_card(id).

dflt_cost_center

VARCHAR(40)

NULL

A default cost center for this organization.

order_price_limit

NUMERIC(19, 7)

NULL

The order limit for this organization. An order limit is used to trigger an approval condition.

contract_id

VARCHAR(40)

NULL

A contract that this organization has negotiated with the site owning organization. References dbc_contract(contract_id).

approval_required

TINYINT

NULL

Indicates whether approval is required for members of this organization.

dbc_org_contact

The dbc_org_contact table contains information that associates an Organization with one or more contacts.

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of the organization. References dbc_organization(id).

contact_id

VARCHAR(40)

NOT NULL

An individual that acts as the point contact for this organization. References dps_contact_info(id).

Seq

INT

NOT NULL

(primary key)

Indicates the contact’s sequence in the list.

dbc_org_admin

The dbc_org_admin table contains information that associates an Organization with one or more administrators. Unlike contacts, administrators are required to be registered users of the site, since they can create, modify, and delete buyer accounts, organizational profile elements, etc.

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of the organization. References dbc_organization(id).

User_id

VARCHAR(40)

NOT NULL

The repository ID of the person is an administrator for the associated Organization. References dps_user(id).

Seq

INT

NOT NULL

(primary key)

The sequence in the list where the admin is located.

dbc_org_approver

The dbc_org_approver table contains information that associates an Organization with one or more order approvers. Similar to administrators, approvers are required to be registered users of the site so they can perform online approvals.

Column

Data Type

Constraint

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of the organization. References dbc_organization(id).

approver_id

VARCHAR(40)

NOT NULL

The repository ID of an individual who acts as an approver for the associated organization. References dps_user(id).

Seq

INT

NOT NULL

(primary key)

Indicates the approver’s sequence in the list.

dbc_org_costctr

The dbc_org_costctr table contains information that associates an Organization with one or more cost centers that are pre-approved for use by members of the organization.

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of the organization. References dbc_organization(id).

Cost_center

VARCHAR(40)

NOT NULL

The repository ID of a cost center that is associated with the organization.

Seq

VARCHAR(40)

NOT NULL

(primary key)

Indicates the cost center’s sequence in the list.

dbc_org_payment

The dbc_org_payment table contains information that associates an Organization with one or more payment types that are pre-approved for use by members of the organization. For now, a payment type is always a credit card.

Column

Data Type

Constraint

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of the organization. References dbc_organization(id).

Tag

VARCHAR(42)

NOT NULL,

(primary key)

A key by which the associated credit card will be known as. This value acts as a key into a map.

payment_id

VARCHAR(40)

NOT NULL

The repository ID of a credit card. References dps_credit_card(id).

dbc_org_shipping

The dbc_org_shipping table contains information that associates an Organization with one or more pre-approved shipping addresses

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of an organization. References dbc_organization(id).

Tag

VARCHAR(42)

NOT NULL

(primary key)

A key by which the associated shipping address will be known as. This value acts as a key into a map.

addr_id

VARCHAR(40)

NOT NULL

The repository ID of a contact info. This becomes a shipping address. References dps_contact_info(id).

dbc_org_billing

The dbc_org_billing table contains information that associates an Organization with one or more pre-approved billing addresses.

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of an organization. References dbc_organization(id).

Tag

VARCHAR(42)

NOT NULL,

(primary key)

A key by which the associated billing address will be known as. This value acts as a key into a map.

addr_id

VARCHAR(40)

NOT NULL

The repository ID of a contact info. This becomes a billing address. References dps_contact_info(id).

dbc_org_prefvndr

The dbc_org_prefvndr table contains information that associates an Organization with one or more preferred vendors.

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of an organization. References dbc_organization(id).

Vendor

WVARCHAR(100)

NOT NULL

A string name that identifies a vendor.

Seq

INT

NOT NULL

(primary key)

Indicates the vendors sequence in the list.

dbc_org_plist

The dbc_org_plist table contains information that associates an Organization with one or more standard purchase lists for buyers from that organization.

Column

Data Type

Constraint

org_id

VARCHAR(40)

NOT NULL

(primary key)

The unique repository ID of an organization.

list_id

VARCHAR(40)

NOT NULL

The repository ID of a purchase list.

Tag

VARCHAR(40)

NOT NULL

(primary key)

A key that is used to identify the associated purchase list.