Clearing the Lines Block [message #410463] |
Sat, 27 June 2009 03:07 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kittu915
Messages: 51 Registered: February 2006 Location: Hyderabad,India
|
Member |
|
|
Hi There,
I need small help please.
I have designed a form and registered in apps 11i.
it has headers and lines parts.
In headers user will select some customer and its site. and enters lines(ex: Sales orders)
which depends on the customer and site selected above in headers.
he enters everything and saves it.
and later he comes back and query the same . and enters diff customer and site... then i need
to clear the whole lines block. As soon as user changes the customer i need to clear the
lines block.
I have used APP_FIELD.CLEAR_FIELDS API in when-validate-item of customer in the headers block.
but it was clearging the first record of the lines block only. I need to clear all the records
of the lines block.
Thanks,
Kittu.
|
|
|
|
Re: Clearing the Lines Block [message #410597 is a reply to message #410505] |
Mon, 29 June 2009 03:50 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kittu915
Messages: 51 Registered: February 2006 Location: Hyderabad,India
|
Member |
|
|
Hi Littlefoot,
Thanks for the reply.
I think for CLEAR_BLOCK... this will clears the present block....
But when i chnage in the header block lines block has to be cleared.
Yes this is the master-detail form only... but the joining is like some unique value ex: header_id....
That will not clear the things...
Thanks,
Kittu.
|
|
|
|
Re: Clearing the Lines Block [message #410621 is a reply to message #410601] |
Mon, 29 June 2009 05:10 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kittu915
Messages: 51 Registered: February 2006 Location: Hyderabad,India
|
Member |
|
|
Hi Vamsi,
Thanks for the reply.
When i write code in the headers block's item's validation trigger : go_block(lines_block) and clear block.Was giving error.
Thing is when i have the data entered in the headers ans lines... if i change i item in the headers... then whole lines have to be cleared.
Am new to Forms...
Kittu.
|
|
|
|
|
|
Re: Clearing the Lines Block [message #411477 is a reply to message #411080] |
Sat, 04 July 2009 03:30 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kittu915
Messages: 51 Registered: February 2006 Location: Hyderabad,India
|
Member |
|
|
Thanks fro reply David...
Thing is when i have the data entered in the headers and lines and save the form one number will generate... if i close the form and later i query the form with the same number generated previusly...ok... and if i change the value of one item in the headers... then whole lines have to be cleared.
Please help.
Kittu.
|
|
|
|
Re: Clearing the Lines Block [message #413338 is a reply to message #412351] |
Wed, 15 July 2009 05:14 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kittu915
Messages: 51 Registered: February 2006 Location: Hyderabad,India
|
Member |
|
|
David Please find my fmb file attached.
And also please let me know am i doing any mistake this this.
Am new to forms.... thats my problem.
Thanks,
Krishna.
|
|
|
|