Search Results pn_company_sites_all
Overview
The PN_COMPANY_SITES_ALL table is a core data object within the Oracle E-Business Suite (EBS) Property Manager (PN) module. It serves as the central repository for storing site-level information associated with a service provider, also known as a company. A "company site" represents a specific physical location, such as an office, branch, or facility, from which a service provider operates. This table is essential for managing the detailed location data required for lease administration, service billing, and communication within the context of property and lease management. As an ALL table, it is designed to support the EBS Multi-Org architecture, storing data partitioned by Operating Unit (ORG_ID).
Key Information Stored
The table's primary purpose is to link a service provider (company) to a specific address and define site-specific attributes. The most critical columns include the primary key, COMPANY_SITE_ID, which uniquely identifies each site record. The COMPANY_ID column is a foreign key linking the site to its parent entity in the PN_COMPANIES_ALL table. The ADDRESS_ID column is a foreign key linking to the PN_ADDRESSES_ALL table, which holds the detailed postal address for the site. Other typical columns in such a structure would include site name, site number, status (e.g., ACTIVE, INACTIVE), and the standard EBS audit columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY). The ORG_ID column is implicitly present to enforce data security across operating units.
Common Use Cases and Queries
This table is primarily queried to retrieve all operational sites for a given service provider or to find the specific address of a site for correspondence or billing. A common reporting requirement is to generate a list of all active company sites within a particular operating unit. A typical SQL pattern involves joining to the companies and addresses tables for a complete view.
- Sample Query: To retrieve site details for a specific company:
SELECT pcs.site_name, pcs.site_number, pa.address_line1, pa.city, pa.state
FROM pn_company_sites_all pcs,
pn_addresses_all pa
WHERE pcs.company_id = :p_company_id
AND pcs.address_id = pa.address_id
AND pcs.org_id = :p_org_id
AND pcs.status = 'ACTIVE'; - Use Case: When generating a lease invoice that bills for services provided from a specific vendor site, the application references this table to pull the correct site identifier and its associated address for the invoice header or remit-to details.
Related Objects
The PN_COMPANY_SITES_ALL table sits at the center of a key relationship hierarchy within Property Manager. Based on the documented foreign key constraints:
- Parent Tables: It is a child of PN_COMPANIES_ALL (via COMPANY_ID) and PN_ADDRESSES_ALL (via ADDRESS_ID).
- Child Tables: It is a parent to several tables that store information associated with a specific site:
- PN_CONTACTS_ALL: Stores contact persons linked to this company site (via COMPANY_SITE_ID).
- PN_CONTACT_ASSIGNMENTS_ALL: Stores assignments of those contacts to specific leases or properties (via COMPANY_SITE_ID).
- PN_CONTACT_ASSIGN_HISTORY: Maintains a history of changes to those contact assignments (via COMPANY_SITE_ID).
This structure ensures that all contacts and their assignments are correctly scoped to a precise physical location of the service provider.
-
Table: PN_COMPANY_SITES_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_COMPANY_SITES_ALL, object_name:PN_COMPANY_SITES_ALL, status:VALID, product: PN - Property Manager , description: Site information of a service provider , implementation_dba_data: PN.PN_COMPANY_SITES_ALL ,
-
Table: PN_COMPANY_SITES_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_COMPANY_SITES_ALL, object_name:PN_COMPANY_SITES_ALL, status:VALID, product: PN - Property Manager , description: Site information of a service provider , implementation_dba_data: PN.PN_COMPANY_SITES_ALL ,
-
View: PN_CONTACT_ASSIGN_HISTORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_CONTACT_ASSIGN_HISTORY_V, object_name:PN_CONTACT_ASSIGN_HISTORY_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_CONTACT_ASSIGN_HISTORY_V ,
-
Table: PN_CONTACTS_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_CONTACTS_ALL, object_name:PN_CONTACTS_ALL, status:VALID, product: PN - Property Manager , description: Contact information identified at the site level of a service provider , implementation_dba_data: PN.PN_CONTACTS_ALL ,
-
Table: PN_ADDRESSES_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_ADDRESSES_ALL, object_name:PN_ADDRESSES_ALL, status:VALID, product: PN - Property Manager , description: Information on locations and service providers , implementation_dba_data: PN.PN_ADDRESSES_ALL ,
-
Table: PN_CONTACT_ASSIGN_HISTORY
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_CONTACT_ASSIGN_HISTORY, object_name:PN_CONTACT_ASSIGN_HISTORY, status:VALID, product: PN - Property Manager , description: Track changes in contacts linked to the lease , implementation_dba_data: PN.PN_CONTACT_ASSIGN_HISTORY ,
-
View: PN_CONTACT_ASSIGN_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_CONTACT_ASSIGN_HISTORY_V, object_name:PN_CONTACT_ASSIGN_HISTORY_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_CONTACT_ASSIGN_HISTORY_V ,
-
Table: PN_COMPANIES_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_COMPANIES_ALL, object_name:PN_COMPANIES_ALL, status:VALID, product: PN - Property Manager , description: Information pertaining to a service provider , implementation_dba_data: PN.PN_COMPANIES_ALL ,
-
Table: PN_ADDRESSES_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_ADDRESSES_ALL, object_name:PN_ADDRESSES_ALL, status:VALID, product: PN - Property Manager , description: Information on locations and service providers , implementation_dba_data: PN.PN_ADDRESSES_ALL ,
-
Table: PN_CONTACT_ASSIGNMENTS_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_CONTACT_ASSIGNMENTS_ALL, object_name:PN_CONTACT_ASSIGNMENTS_ALL, status:VALID, product: PN - Property Manager , description: Llinks locations or leases with the site of a service provider. , implementation_dba_data: PN.PN_CONTACT_ASSIGNMENTS_ALL ,
-
Table: PN_CONTACTS_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_CONTACTS_ALL, object_name:PN_CONTACTS_ALL, status:VALID, product: PN - Property Manager , description: Contact information identified at the site level of a service provider , implementation_dba_data: PN.PN_CONTACTS_ALL ,
-
Table: PN_CONTACT_ASSIGN_HISTORY
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_CONTACT_ASSIGN_HISTORY, object_name:PN_CONTACT_ASSIGN_HISTORY, status:VALID, product: PN - Property Manager , description: Track changes in contacts linked to the lease , implementation_dba_data: PN.PN_CONTACT_ASSIGN_HISTORY ,
-
Table: PN_CONTACT_ASSIGNMENTS_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_CONTACT_ASSIGNMENTS_ALL, object_name:PN_CONTACT_ASSIGNMENTS_ALL, status:VALID, product: PN - Property Manager , description: Llinks locations or leases with the site of a service provider. , implementation_dba_data: PN.PN_CONTACT_ASSIGNMENTS_ALL ,
-
Table: PN_COMPANIES_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_COMPANIES_ALL, object_name:PN_COMPANIES_ALL, status:VALID, product: PN - Property Manager , description: Information pertaining to a service provider , implementation_dba_data: PN.PN_COMPANIES_ALL ,
-
View: PN_LOCATION_CONTACT_ASSIGN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_LOCATION_CONTACT_ASSIGN_V, object_name:PN_LOCATION_CONTACT_ASSIGN_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_LOCATION_CONTACT_ASSIGN_V ,
-
View: PN_LOCATION_CONTACT_ASSIGN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_LOCATION_CONTACT_ASSIGN_V, object_name:PN_LOCATION_CONTACT_ASSIGN_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_LOCATION_CONTACT_ASSIGN_V ,
-
View: PN_CONTACT_ASSIGNMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_CONTACT_ASSIGNMENTS_V, object_name:PN_CONTACT_ASSIGNMENTS_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_CONTACT_ASSIGNMENTS_V ,
-
View: PN_CONTACT_ASSIGNMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_CONTACT_ASSIGNMENTS_V, object_name:PN_CONTACT_ASSIGNMENTS_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_CONTACT_ASSIGNMENTS_V ,
-
View: PN_LEASE_CONTACT_ASSIGN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_LEASE_CONTACT_ASSIGN_V, object_name:PN_LEASE_CONTACT_ASSIGN_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_LEASE_CONTACT_ASSIGN_V ,
-
View: PN_LEASE_CONTACT_ASSIGN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_LEASE_CONTACT_ASSIGN_V, object_name:PN_LEASE_CONTACT_ASSIGN_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_LEASE_CONTACT_ASSIGN_V ,