Please tell me what is wrong in the below query:
(Very Urgent)
=================================================
function BeforePForm return boolean is
begin
if :from_invoice_date is null OR :to_invoice_date is
null then
aiv.PERIOD_NMAE:=:gl_period
elsif :gl_period is null then
aiv.INVOICE_DATE between :from_invoice_date
and :to_invoice_date
end if;
return (TRUE);
end;
Answer Posted / sudipta santra
The function will be like that:-
function BeforePForm return boolean is
begin
if :from_invoice_date is null OR :to_invoice_date is null
then
aiv.PERIOD_NMAE:=:gl_period
elsif :gl_period is null or aiv.INVOICE_DATE between
:from_invoice_date and :to_invoice_date then
aiv.PERIOD_NMAE:=<insert value>
end if;
return (TRUE);
end;
Like that way it will be solved. In else part the assigned
value should be fixed how it would between two range of date?
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to have multiple layouts in a report?
Can we invoke one form from another in a multi-forms application?
What do you understand by oracle forms and why are they required?
if u want to delete all these detail block etc what will happen in form
In what situation u create the BPA.
What is responsibility and how u attach How to create user and how u attach with responsibility.
difference between global n context sensitive segments?
If the valueset if of type –TABLE then how many tables can we attach in the valueset ?
Can you convert a bit-mapped report to ASCII (character-mode) Report ? How ?
What is the difference between BPA AND Contract What are documents and test cases u followed
what are bind variables?
In oracle forms report, what is the maximum length of record group column? What are the different types of record groups?
How to create Drill down report?
if i want to change the functionality of a item in report during runtime how like what do u write in when_button_pressed
what is difference between group above and group left report