DBA Data[Home] [Help]

APPS.CTO_UTILITY_PK dependencies on WSH_DELIVERY_DETAILS_OB_GRP_V

Line 3855: from wsh_delivery_details_ob_grp_v wdd -- Modified by Renga on 11/02/03

3851: -- Bugfix 2638216 : added LEAST fn. in case of over-shipping after discussion with Usha and Vidyesh.
3852:
3853: select nvl(sum( LEAST(nvl(wdd.shipped_quantity,0), nvl(wdd.picked_quantity,0)) ), 0)
3854: into l_shipped_qty
3855: from wsh_delivery_details_ob_grp_v wdd -- Modified by Renga on 11/02/03
3856: where wdd.source_line_id = p_order_line_id
3857: and wdd.source_code = 'OE'
3858: and wdd.released_status = 'C' -- Closed [C]
3859: and nvl(wdd.inv_interfaced_flag, 'N') <> 'Y';