My Oracle Support Banner

R12: Project Contracts API OKE_CONTRACT_PUB.UPDATE_CONTRACT_HEADER Updating PRIME_K_NUMBER Value To NULL (Doc ID 2007264.1)

Last updated on OCTOBER 31, 2022

Applies to:

Oracle Project Contracts - Version 12.1.1 and later
Information in this document applies to any platform.

Symptoms

Project Contracts API issue

Using Project Contract API to update contract header Product Line value. For some reason API is making prime_k_number value to null. No where we are using prime_k_number in the update statement. Used the below API

apps.oke_contract_pub.update_contract_header(p_api_version => l_api_version,
  p_init_msg_list => l_init_msg_list,
  x_return_status => l_return_status,
  x_msg_count => l_msg_count,
  x_msg_data => l_msg_data,
  p_restricted_update => l_restricted_update,
  p_chr_rec => l_header_in_rec,
  p_chrv_rec => l_chrv_in_rec, --okc_contract_pub.chrv_rec_type,
  x_chr_rec => l_header_out_rec, --OUT NOCOPY oke_chr_pvt.chr_rec_type,
  x_chrv_rec => l_chrv_out_rec --OUT NOCOPY okc_contract_pub.chrv_rec_type
  );

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
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.