PL/SQL (MOSC)

MOSC Banner

Need to lock a record based on only one primark_key from multiple tables

edited Jan 20, 2013 7:29PM in PL/SQL (MOSC) 4 commentsAnswered
 HI, I am currently working for a custom packing_screen in that based on upc scanned i need to lock particular record
i am using the below query

 select wdd.delivery_detail_id,wnd.delivery_id,ooh.header_id,'444444221',nvl(ooh.attribute1,'No Insert Code')
                        from oe_order_headers_all  ooh,
                                oe_order_lines_all        ool,
                                wsh_delivery_details   wdd,
                               wsh_delivery_assignments wda,
                               wsh_new_deliveries wnd,
                               msn_vsku_attributes vsku,
                               msn_ssku_attributes  ssku,
                               mtl_system_items_b msib
                   where ooh.header_id=ool.header_id
                      and ool.line_id=wdd.source_line_id
                      and wdd.source_header_id=ooh.header_id

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