My Oracle Support Banner

Datafix for 0 Onhand / Transactions Error with ORA-01476: divisor is equal to zero : Datafix invzmoqd.sql (Doc ID 267272.1)

Last updated on JULY 17, 2024

Applies to:

Oracle Inventory Management - Version 11.5.10.2 and later
Information in this document applies to any platform.
invzmoqd.sql : Datafix to remove zero quantity rows

Symptoms

Transactions error with the following error:

INV_TRX_MGR: Ex.. in Base.updateOnHand :oracle.jdbc.driver.OracleSQLException:
ORA-01476: divisor is equal to zero

Identification Script
Run the following script to confirm you have records with zero (0) quantity:

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
 Datafix
 Avoiding the issue
References

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