Search Results sp_id




Overview

The XNP_SP_CONTACTS table is a core data object within the Oracle E-Business Suite (EBS) Number Portability (XNP) module. It serves as the central repository for storing contact information associated with service providers. In the context of telecommunications number portability, a service provider is typically a carrier or operator. This table enables the system to maintain detailed records of key personnel or points of contact for each provider, which is critical for managing communication, service orders, and operational workflows related to porting telephone numbers from one provider to another. Its existence is fundamental to the administrative and operational integrity of the XNP module.

Key Information Stored

The table's primary purpose is to map contact details to specific service providers. The key columns, as indicated by the provided metadata, include the primary identifier SP_CONTACT_ID, and the unique constraint columns BUSINESS_ROLE, SP_ID, and NAME. The SP_ID column is the foreign key that links each contact record directly to a specific service provider defined in the XNP_SERVICE_PROVIDERS table. The BUSINESS_ROLE and NAME columns store the contact's functional role (e.g., Technical Contact, Billing Contact) and their full name, respectively. While not explicitly listed in the brief excerpt, typical contact tables in EBS would also be expected to contain columns for data such as phone numbers, email addresses, and fax numbers, which are essential for the table's described purpose of storing contact information.

Common Use Cases and Queries

This table is primarily accessed for operational reporting, process automation, and administrative lookup. A common use case is generating contact lists for a specific service provider to facilitate communication for a batch of porting orders. Another critical scenario involves workflow notifications, where the system retrieves the email of the contact with a specific BUSINESS_ROLE to send automated status alerts. A sample query to retrieve all contacts for a given service provider, based on the user's search term "sp_id", would be:

  • SELECT NAME, BUSINESS_ROLE FROM XNP.XNP_SP_CONTACTS WHERE SP_ID = :provider_id ORDER BY BUSINESS_ROLE;

For reporting, a join with XNP_SERVICE_PROVIDERS is standard to include the provider's name alongside the contact details, enabling comprehensive service provider directories.

Related Objects

The XNP_SP_CONTACTS table has a direct and documented foreign key relationship with the XNP_SERVICE_PROVIDERS table, which is the master table for service providers in the XNP module. The relationship is defined as follows:

  • Foreign Key: From XNP_SP_CONTACTS.SP_ID to XNP_SERVICE_PROVIDERS (specific column not named in excerpt, but logically the primary key of that table).

This relationship enforces referential integrity, ensuring that every contact record is associated with a valid, existing service provider. The table's primary key (XNP_SP_CONTACTS_PK on SP_CONTACT_ID) and unique key (XNP_SP_CONTACTS_UK1 on BUSINESS_ROLE, SP_ID, NAME) are likely referenced by other XNP module objects, such as transaction tables or views, that need to link to a specific service provider contact.