Search Results hz_party_sites
Overview
CS_CP_AUDIT is an audit table in the CS (Service) product schema of Oracle E-Business Suite, documented as VALID in both 12.1.1 and 12.2.2. Its stated purpose is to record audit information about products in the installed base — that is, changes made to customer product instances tracked by Service/Depot Repair and the Install Base (CSI) modules. Each row captures a before-and-after image of a single attribute group on a customer product record, together with change flags that indicate which attributes were altered.
Under the heuristic Data Vault classification supplied in the metadata, CS_CP_AUDIT is modelled as a link. This reflects its structure: the table is dominated by foreign key references to parties, sites, accounts, and related transactional entities, and it connects a customer product to the sites and accounts that applied at two points in time (the "OLD" and "CURRENT" states). It is not a pure hub, since it carries no single durable business key of its own beyond CP_AUDIT_ID, and it is not a pure satellite, since it references multiple external entities directly rather than depending on a single parent hub.
Key Information Stored
The table holds 104 documented columns. The surrogate primary key, enforced by the unique index CS_CP_AUDIT_U1, is CP_AUDIT_ID. The remaining significant columns fall into the following groups:
- Product anchor: CUSTOMER_PRODUCT_ID identifies the installed-base record being audited; SPLIT_CP_ID records the resulting product when an audit row stems from a split, with CP_SPLIT_REASON_CODE capturing the reason.
- Change flags: CUSTOMER_CHANGED_FLAG, SYSTEM_CHANGED_FLAG, PRODUCT_AGREEMENT_CHANGED_FLAG, SERVICE_AGREEMENT_CHANGED_FLAG, CP_STATUS_CHANGED_FLAG, TYPE_CODE_CHANGED_FLAG, CP_QUANTITY_CHANGED_FLAG — each signals whether the corresponding attribute pair differs between OLD and CURRENT.
- Site references (the columns most relevant to the "hz_party_sites" search): OLD_INSTALL_SITE_USE_ID and CURRENT_INSTALL_SITE_USE_ID, plus OLD_SHIP_TO_SITE_USE_ID and CURRENT_SHIP_TO_SITE_USE_ID, all of which reference HZ_PARTY_SITES. Note the OLD_*_SITE_USE and CURRENT_*_SITE_USE columns also appear in the physical schema.
- Account references: OLD_BILL_TO_SITE_USE_ID and CURRENT_BILL_TO_SITE_USE_ID reference HZ_CUST_ACCT_SITES_ALL, while OLD_CUSTOMER_ID and CURRENT_CUSTOMER_ID reference HZ_CUST_ACCOUNTS.
- Item and serial identity: OLD/CURRENT_INVENTORY_ITEM_ID, OLD/CURRENT_SERIAL_NUMBER, OLD/CURRENT_LOT_NUMBER, and OLD/CURRENT_ORIGINAL_ORDER_LINE_ID.
- Lifecycle dates: OLD/CURRENT_INSTALLATION_DATE, OLD/CURRENT_SHIPPED_DATE, OLD/CURRENT_RETURN_BY_DATE, OLD/CURRENT_ACTUAL_RETURNED_DATE, OLD/CURRENT_CONFIG_START_DATE, OLD/CURRENT_CONFIG_END_DATE, OLD/CURRENT_START_DATE_ACTIVE and OLD/CURRENT_END_DATE_ACTIVE.
- Configuration and project links: OLD/CURRENT_CONFIG_PARENT_ID, OLD/CURRENT_CONFIG_TYPE, OLD/CURRENT_PROJECT_ID, OLD/CURRENT_TASK_ID, OLD/CURRENT_PLATFORM_VERSION_ID.
- Audit and security: CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER, SECURITY_GROUP_ID (referencing FND_SECURITY_GROUPS), and migration-control flags UPGRADED_STATUS_FLAG, VALID_FOR_CSI_MIGRATION, and MIGRATED_STATUS_FLAG.
Common Use Cases and Queries
The most common reporting need is a change history for a given installed-base product. Because each row carries OLD and CURRENT values of the same attribute, a simple query reconstructs the timeline:
SELECT cp_audit_id, customer_product_id, cp_status_changed_flag, old_cp_status_id, current_cp_status_id, last_update_date FROM cs.cs_cp_audit WHERE customer_product_id = :cp_id ORDER BY last_update_date;
A site-change report joins both site columns back to HZ_PARTY_SITES to resolve the party site and location:
SELECT a.customer_product_id, a.old_install_site_use_id, a.current_install_site_use_id, s.party_site_id, s.location_id FROM cs.cs_cp_audit a, hz.hz_party_sites s WHERE a.current_install_site_use_id = s.party_site_id;
Typical scenarios include reconciliation after customer reorganisation or account merges, investigation of incorrectly installed locations, migration validation (using VALID_FOR_CSI_MIGRATION and MIGRATED_STATUS_FLAG), and audit evidence for split or transferred product instances.
Related Objects
- HZ_PARTY_SITES — referenced four times through CURRENT_INSTALL_SITE_USE_ID, OLD_INSTALL_SITE_USE_ID, CURRENT_SHIP_TO_SITE_USE_ID, and OLD_SHIP_TO_SITE_USE_ID.
- HZ_CUST_ACCT_SITES_ALL — referenced by CURRENT_BILL_TO_SITE_USE_ID and OLD_BILL_TO_SITE_USE_ID.
- HZ_CUST_ACCOUNTS — referenced by CURRENT_CUSTOMER_ID and OLD_CUSTOMER_ID.
- FND_SECURITY_GROUPS — referenced by SECURITY_GROUP_ID.
- Service / Install Base product tables (CS_*, CSI_*) — the CUSTOMER_PRODUCT_ID and SPLIT_CP_ID columns logically depend on the customer product instance and its split lineage.
-
Table: CS_CP_AUDIT
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_CP_AUDIT, object_name:CS_CP_AUDIT, status:VALID, product: CS - Service , description: Audit information about products in the installed base , implementation_dba_data: CS.CS_CP_AUDIT ,
-
Table: CS_CP_AUDIT
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_CP_AUDIT, object_name:CS_CP_AUDIT, status:VALID, product: CS - Service , description: Audit information about products in the installed base , implementation_dba_data: CS.CS_CP_AUDIT ,
-
Table: CS_SYSTEM_AUDIT
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_SYSTEM_AUDIT, object_name:CS_SYSTEM_AUDIT, status:VALID, product: CS - Service , description: Audit information for system attributes , implementation_dba_data: CS.CS_SYSTEM_AUDIT ,
-
Table: CS_INCIDENTS_ALL_B
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_INCIDENTS_ALL_B, object_name:CS_INCIDENTS_ALL_B, status:VALID, product: CS - Service , description: This table stores non-translated information about service requests. , implementation_dba_data: CS.CS_INCIDENTS_ALL_B ,
-
Table: CS_SYSTEM_AUDIT
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_SYSTEM_AUDIT, object_name:CS_SYSTEM_AUDIT, status:VALID, product: CS - Service , description: Audit information for system attributes , implementation_dba_data: CS.CS_SYSTEM_AUDIT ,
-
Table: CS_INCIDENTS_ALL_B
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_INCIDENTS_ALL_B, object_name:CS_INCIDENTS_ALL_B, status:VALID, product: CS - Service , description: This table stores non-translated information about service requests. , implementation_dba_data: CS.CS_INCIDENTS_ALL_B ,
-
Table: CS_SYSTEMS_ALL_B
12.2.2
product: CS - Service , description: Systems , implementation_dba_data: Not implemented in this database ,
-
Table: CS_SYSTEMS_ALL_B
12.1.1
product: CS - Service , description: Systems , implementation_dba_data: Not implemented in this database ,
-
Table: CS_ESTIMATE_DETAILS
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_ESTIMATE_DETAILS, object_name:CS_ESTIMATE_DETAILS, status:VALID, product: CS - Service , description: Transaction table that stores details of Charge lines in Service , implementation_dba_data: CS.CS_ESTIMATE_DETAILS ,
-
Table: CS_ESTIMATE_DETAILS
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_ESTIMATE_DETAILS, object_name:CS_ESTIMATE_DETAILS, status:VALID, product: CS - Service , description: Transaction table that stores details of Charge lines in Service , implementation_dba_data: CS.CS_ESTIMATE_DETAILS ,
-
Table: CS_CUSTOMER_PRODUCTS_ALL
12.1.1
product: CS - Service , description: The Customer installed base Products information. , implementation_dba_data: Not implemented in this database ,
-
Table: CS_CUSTOMER_PRODUCTS_ALL
12.2.2
product: CS - Service , description: The Customer installed base Products information. , implementation_dba_data: Not implemented in this database ,
-
View: CS_CP_SYSTEMS_MAINT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CP_SYSTEMS_MAINT_V, object_name:CS_CP_SYSTEMS_MAINT_V, status:VALID, product: CS - Service , description: System details of a product in InstalledBase , implementation_dba_data: APPS.CS_CP_SYSTEMS_MAINT_V ,
-
View: CS_CP_SYSTEMS_MAINT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CP_SYSTEMS_MAINT_V, object_name:CS_CP_SYSTEMS_MAINT_V, status:VALID, product: CS - Service , description: System details of a product in InstalledBase , implementation_dba_data: APPS.CS_CP_SYSTEMS_MAINT_V ,
-
Lookup Type: CS_SR_LOCATION_TYPE_CODE
12.1.1
product: CS - Service , meaning: Service Request Location Types , description: Service Request Location Types ,
-
Lookup Type: CS_SR_LOCATION_TYPE_CODE
12.2.2
product: CS - Service , meaning: Service Request Location Types , description: Service Request Location Types ,
-
View: CS_SYSTEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SYSTEMS_V, object_name:CS_SYSTEMS_V, status:VALID, product: CS - Service , implementation_dba_data: APPS.CS_SYSTEMS_V ,
-
View: CS_SYSTEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SYSTEMS_V, object_name:CS_SYSTEMS_V, status:VALID, product: CS - Service , implementation_dba_data: APPS.CS_SYSTEMS_V ,
-
Table: CS_LINE_INST_DETAILS
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_LINE_INST_DETAILS, object_name:CS_LINE_INST_DETAILS, status:VALID, product: CS - Service , description: Installation details of a product captured at the time of order or quote entry. , implementation_dba_data: CS.CS_LINE_INST_DETAILS ,
-
Table: CS_LINE_INST_DETAILS
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_LINE_INST_DETAILS, object_name:CS_LINE_INST_DETAILS, status:VALID, product: CS - Service , description: Installation details of a product captured at the time of order or quote entry. , implementation_dba_data: CS.CS_LINE_INST_DETAILS ,
-
View: CS_SYSTEM_BILLTO_LOC_RG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SYSTEM_BILLTO_LOC_RG_V, object_name:CS_SYSTEM_BILLTO_LOC_RG_V, status:VALID, product: CS - Service , implementation_dba_data: APPS.CS_SYSTEM_BILLTO_LOC_RG_V ,
-
View: CS_SYSTEM_BILLTO_LOC_RG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SYSTEM_BILLTO_LOC_RG_V, object_name:CS_SYSTEM_BILLTO_LOC_RG_V, status:VALID, product: CS - Service , implementation_dba_data: APPS.CS_SYSTEM_BILLTO_LOC_RG_V ,
-
View: CS_CP_BILLTOADD_RG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CP_BILLTOADD_RG_V, object_name:CS_CP_BILLTOADD_RG_V, status:VALID, product: CS - Service , description: Bill To Address info of a Product , implementation_dba_data: APPS.CS_CP_BILLTOADD_RG_V ,
-
View: CS_CP_BILLTOADD_RG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CP_BILLTOADD_RG_V, object_name:CS_CP_BILLTOADD_RG_V, status:VALID, product: CS - Service , description: Bill To Address info of a Product , implementation_dba_data: APPS.CS_CP_BILLTOADD_RG_V ,
-
View: CS_SR_INCIDENT_ADDRESS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_INCIDENT_ADDRESS_V, object_name:CS_SR_INCIDENT_ADDRESS_V, status:VALID, product: CS - Service , description: This view has the address of the contacts for a service request. , implementation_dba_data: APPS.CS_SR_INCIDENT_ADDRESS_V ,
-
View: CS_CP_ADDRESSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CP_ADDRESSES_V, object_name:CS_CP_ADDRESSES_V, status:VALID, product: CS - Service , description: Installed at / Ship To information of the Product , implementation_dba_data: APPS.CS_CP_ADDRESSES_V ,
-
View: CS_SR_INCIDENT_ADDRESS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_INCIDENT_ADDRESS_V, object_name:CS_SR_INCIDENT_ADDRESS_V, status:VALID, product: CS - Service , description: This view has the address of the contacts for a service request. , implementation_dba_data: APPS.CS_SR_INCIDENT_ADDRESS_V ,
-
View: CS_CP_ADDRESSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CP_ADDRESSES_V, object_name:CS_CP_ADDRESSES_V, status:VALID, product: CS - Service , description: Installed at / Ship To information of the Product , implementation_dba_data: APPS.CS_CP_ADDRESSES_V ,
-
View: CS_CUSTOMER_PRODUCTS_MAINT_V
12.1.1
product: CS - Service , description: Products in the installed base , implementation_dba_data: Not implemented in this database ,
-
View: CS_CUSTOMER_PRODUCTS_MAINT_V
12.2.2
product: CS - Service , description: Products in the installed base , implementation_dba_data: Not implemented in this database ,
-
View: CS_SR_TERRITORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_TERRITORY_V, object_name:CS_SR_TERRITORY_V, status:VALID, product: CS - Service , description: This view shows information about Service Request, and this is being used by Territory Management. , implementation_dba_data: APPS.CS_SR_TERRITORY_V ,
-
View: CS_CUST_PROD_FORM_V
12.1.1
product: CS - Service , implementation_dba_data: Not implemented in this database ,
-
View: CS_SR_TERRITORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_TERRITORY_V, object_name:CS_SR_TERRITORY_V, status:VALID, product: CS - Service , description: This view shows information about Service Request, and this is being used by Territory Management. , implementation_dba_data: APPS.CS_SR_TERRITORY_V ,
-
View: CS_CUSTOMER_PRODUCTS_REPORT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CUSTOMER_PRODUCTS_REPORT_V, object_name:CS_CUSTOMER_PRODUCTS_REPORT_V, status:VALID, product: CS - Service , description: - Retrofitted , implementation_dba_data: APPS.CS_CUSTOMER_PRODUCTS_REPORT_V ,
-
View: CS_CUST_PROD_FORM_V
12.2.2
product: CS - Service , implementation_dba_data: Not implemented in this database ,
-
View: CS_CUSTOMER_PRODUCTS_REPORT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CUSTOMER_PRODUCTS_REPORT_V, object_name:CS_CUSTOMER_PRODUCTS_REPORT_V, status:VALID, product: CS - Service , description: - Retrofitted , implementation_dba_data: APPS.CS_CUSTOMER_PRODUCTS_REPORT_V ,
-
View: CS_SR_TASK_TERRITORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_TASK_TERRITORY_V, object_name:CS_SR_TASK_TERRITORY_V, status:VALID, product: CS - Service , description: This view shows combined information of Service Request and task , and this is being used by Territory Management. , implementation_dba_data: APPS.CS_SR_TASK_TERRITORY_V ,
-
View: CS_SR_NEW_PRODUCTS_MAINT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_NEW_PRODUCTS_MAINT_V, object_name:CS_SR_NEW_PRODUCTS_MAINT_V, status:VALID, product: CS - Service , description: This view contains the information about all products in the InstallBase release 11.5.6 and higher . This view is used to get all product information for a particular account in Service request. , implementation_dba_data: APPS.CS_SR_NEW_PRODUCTS_MAINT_V ,
-
View: CS_SR_NEW_PRODUCTS_MAINT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_NEW_PRODUCTS_MAINT_V, object_name:CS_SR_NEW_PRODUCTS_MAINT_V, status:VALID, product: CS - Service , description: This view contains the information about all products in the InstallBase release 11.5.6 and higher . This view is used to get all product information for a particular account in Service request. , implementation_dba_data: APPS.CS_SR_NEW_PRODUCTS_MAINT_V ,
-
View: CS_SR_TASK_TERRITORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_SR_TASK_TERRITORY_V, object_name:CS_SR_TASK_TERRITORY_V, status:VALID, product: CS - Service , description: This view shows combined information of Service Request and task , and this is being used by Territory Management. , implementation_dba_data: APPS.CS_SR_TASK_TERRITORY_V ,
-
View: CS_CHARGE_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CHARGE_DETAILS_V, object_name:CS_CHARGE_DETAILS_V, status:VALID, product: CS - Service , description: Charge Lines associated with Service request,depot repair and Field Service Report , implementation_dba_data: APPS.CS_CHARGE_DETAILS_V ,
-
View: CS_CHARGE_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CHARGE_DETAILS_V, object_name:CS_CHARGE_DETAILS_V, status:VALID, product: CS - Service , description: Charge Lines associated with Service request,depot repair and Field Service Report , implementation_dba_data: APPS.CS_CHARGE_DETAILS_V ,