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 JUNE 21, 2023

Applies to:

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


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:


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

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