My Oracle Support Banner

Using API OKS_IMPORT_LINE_PUB.CREATE_CONTRACT_LINE Unable To Set Coverage To The Contract Line If Line Type Is Extended Warranty (Doc ID 2904430.1)

Last updated on DECEMBER 21, 2023

Applies to:

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

Symptoms

On : 12.2.8 version, API Generator
 

ACTUAL BEHAVIOR
---------------
Unable to set coverage details to the service contract line if line type is Extended Warranty  using API OKS_IMPORT_LINE_PUB.CREATE_CONTRACT_LINE
Coverage_id column of the okc_k_lines_b is set to NULL and API returns success .

API appropriately sets the coverage details when the service contract line type is "Service".

 
EXPECTED BEHAVIOR
-----------------------
Expect to be able to create Extended warranty lines using API OKS_IMPORT_LINE_PUB.CREATE_CONTRACT_LINE along with coverage details.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Execute API OKS_IMPORT_LINE_PUB.CREATE_CONTRACT_LINE to create an Extended Warranty contract line

 OKS_IMPORT_LINE_PUB.CREATE_CONTRACT_LINE(p_api_version => 1.0,
                                           p_init_msg_list => okc_api.g_false,
                                           x_return_status => l_return_status,
                                           x_msg_count => l_msg_count,
                                           x_msg_data => l_msg_data,
                                           p_line_tbl => lp_line_tbl,
                                           x_line_tbl => lx_line_tbl);


Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.