BI Publisher (MOSC)

MOSC Banner

Regarding Custom report

in BI Publisher (MOSC) 2 commentsAnswered

Dear Team ,

Please please guide how to tune below query?

As we don't have index on this

select sum(NVL((IMT1.transaction_quantity),0))
from inv_material_txns IMT1
where IMT1.inventory_item_id = imt.inventory_item_id
and IMT1.organization_id = imt.organization_id
--and (trim(IMT1.attribute7) is null or trim(IMT1.attribute7) = trim(itrh.request_number))
and imt1.attribute7 = imt.TRANSACTION_SOURCE_ID
and imt1.attribute7 = itrh.request_number
and IMT1.LOCATOR_ID = itrl.TO_LOCATOR_ID
and IMT1.TRANSACTION_TYPE_ID = 32
and IMT1.transaction_date is not null
and IMT1.TRANSACTION_ID <> IMT.TRANSACTION_ID

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center