When Transacting an Ingredient Using API GME_API_PUB.CREATE_MATERIAL_TXN, Receive Error "Quantity must be less than or equal to Available to transact" When Passing a Decimal Quantity in Primary UOM (Doc ID 2299588.1)

Last updated on AUGUST 22, 2017

Applies to:

Oracle Inventory Management - Version 12.2.5 and later
Information in this document applies to any platform.

Symptoms

The GME_API_PUB.CREATE_MATERIAL_TXN API is being called to fully transact a decimal ATT (Available To Transact) value for a WIP issue transaction.
For example, ATT shows a quantity of 11.262 and the transaction value being passed to the API is 11.262.
Note that negative balances are not allowed for this organization.
When doing so, the API is throwing the following error:

Quantity must be less than or equal to Available to transact

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