How to Query the Service Contracts Tables for Header, Line, Subline and Billing Information in R12 (Doc ID 816374.1)

How to query the Service Contracts database tables (and tables from other schemas) to find underlying data about contract headers, lines, sublines and contract billing in R12.

For 11.5.10 queries please see "How to Query the Service Contracts Tables for Header, Line, Subline and Billing Information in 11i".

This note gives a variety of queries which can be used to find the required data for a particular contract.

In the SQL statements given, represents text that needs to be replaced with the actual values indicated between the brackets. For example, if you want to execute a query for a contract with number Test1, then whenever you see in the SQL below, replace it with Test1.

Sections in this note are:
A. Contract Header Data
B. Contract Line Data
C. Contract Subline Data
D. Contract Billing Data
E. Receivables Interface Data
F. Subscription Contracts

Note: If you are running queries against the contract views in a tool such as SQL*Developer or Toad and finding that the expected data is not returned, then you need to set the environment context and language. Run the following scripts:
exec MO_GLOBAL.set_policy_context('S',);
alter session set nls_language = 'american';

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document