My Oracle Support Banner

Sales Order Number Number Missing on Contract Header for Contracts Related to an Order (Doc ID 1680076.1)

Last updated on NOVEMBER 01, 2018

Applies to:

Oracle Service Contracts - Version 11.5.10.2 and later
Information in this document applies to any platform.

Goal

In Service Contracts Authoring, find that the Sales Order number (SO) is not populated in Order field for a contract apparently created from Order Management
The contract appears to be created through one order but the Order filed is blank in contract header. Sales Order number not populated.
How can this be entered?

The following SQL seems to point to a relationship the SO.

SQL:

SELECT Hdr.Order_Number
FROM okx_order_headers_v Hdr,
  okc_k_rel_objs_v Rel,
  okc_k_headers_b k_hdr
WHERE Hdr.Id1 = Rel.Object1_Id1
AND Rel.Jtot_Object1_Code = 'OKX_ORDERHEAD'
AND Rel.chr_id = k_hdr.id
AND k_hdr.contract_number = '&contract_number';
('RVBD82179');
ORDER NUMBER=178637

Fig1.


 

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
Goal
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.