XITEM Failing for Buyer Pack with ORA-01400: Cannot Insert Null (Doc ID 2042788.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Merchandising System - Version 14.0.1 to 14.0.2 [Release 14.0]
Information in this document applies to any platform.

Symptoms

Creation of buyer pack item using Xitem interface fails with the following error when UNIT COST and COST ZONE GROUP ID is not supplied. It should not fail as the cost is calculated by adding the cost of the individual components in the pack.

ORA-01400: cannot insert NULL into ("RMSAPPS"."ITEM_COST_HEAD"."BASE_COST") returned by program unit ITEM_COST_SQL.COMPUTE_ITEM_COST_BULK.


Steps To reproduce:

  1. Use Xitem interface to create Buyer Pack item without supplier Unit Cost and Cost Zone Group ID.
  2. Notice that creation fails with the mentioned error.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms