I WANT MY LOV SHOULD UPDATE AUTOMATICALLY

I have a lov based on following record group. What I want is if there are 5 items (it_name) in the lov and if i select 1 item in the detail section of a master detail form. then next time when i call the lov it should show me (5-1)=4 items(it_name)
the record group is as follow, please amend my query as necessary :
select h.ord_no,d.ord_id,d.it_name,d.rate,(nvl(d.ord_qty,0)-nvl(tot_qty_supp,0)) as pend_qty
from ordheader h, orddetails d
where
d.ord_id=h.ord_id and
h.ord_no= :invdetails.ord_no and
(nvl(d.ord_qty,0)-nvl(tot_qty_supp,0))>0

Have a look to this post :
Re: LOV with restricted (not already selected) entries

Similar Messages

Maybe you are looking for

  • Please answer these questions.....Urgent

    Q You are using Data Guard to ensure high availability. The directory structures on the primary and the standby hosts are different. Referring to the scenario above, what initialization parameter do you set up during configuration of the standby data

  • My Nokia Lumia 800 has two IMEI numbers. What?!

    Hi Everyone, Purchased a Lumia 800 (white) from Nokia Store here in Bangalore, India on August 2012. The phone was working fine till August 2013 when camera stopped working. Took the phone to Nokia Care. Warranty checked out fine and the camera modul

  • DMP - Accessing other Fonts

    Working on some web page feeds into my DMP's. I am not having any luck in changing either the font size or the font style. I can see how to change the font size for a static text but not the font style. I also want to choose a font size and style for

  • Error_log in apache server keep on growing

    I found the error_log in apache server keep on growing in every second! Anyone can tell me why it's growing like this? I have Oracle 9i Database on Windows XP Professional on Core 2 Duo/ 2 GB RAM machine. I have a peculiar problem. The error_log file

  • How to specifiy  locator for pending product lots ?

    Hello i'm using this API : gme_api_pub.create_pending_product_lot it works perfectly , but , how can i pass a specific locator ? ( other than the batch material locator ) to that created pending line ?