RMSSUB_RECEIVING.CONSUME Throws ORA-01476 "divisor is equal to zero" Error

(Doc ID 2088830.1)

Last updated on MAY 01, 2017

Applies to:

Oracle Retail Merchandising System - Version 14.0.2 and later
Information in this document applies to any platform.


When AV_COST of the item is zero, the RMSSUB_RECEIVING.CONSUME raises the below error:

Steps to Reproduce:

1. Create Item with AV_COST of the component Item of the Pack Item as 0.
2. Create Transfer using RMSSUB_XTSF.
3. Create shipment.
4. Receive the Pack Item through RMSSUB_RECEIVING.CONSUME.
5. Notice the error ORA-01476: divisor is equal to zero returned by program unit STOCK_ORDER_RCV_SQL.PACK_LEVEL_PROC.


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