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;

Answers were Sorted based on User's Feedback



Please tell me what is wrong in the below query: (Very Urgent) ===================================..

Answer / hari

else if body is not correct.

Is This Answer Correct ?    2 Yes 0 No

Please tell me what is wrong in the below query: (Very Urgent) ===================================..

Answer / 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

More Oracle Forms Reports Interview Questions

What are the built-ins that are used to Attach an LOV programmatically to an item?

1 Answers  


Which is the cheapest and quality Oracle Education provider in Bangladesh?

1 Answers  


based on parameter value layout of report should change

1 Answers  


Can you attach an lov to a field at run-time? if yes, give the build-in name.

1 Answers  


if some data is not transfered where it will get stored

0 Answers  






What are different types of images?

1 Answers  


What are the different types of Coordinations of the Master with the Detail block?

2 Answers  


How do u print the data horizantally by using XML report? EX:Suppose there is one table names as SAMPLE in that we have only two columns say empno,ename.I want the output like this,At run time user may enter 3 colums(i.e to data print horizantally). empno ename empno ename empno ename 100 aaa 101 bbb 102 ccc 103 ddd 104 eee 105 fff

0 Answers   Intelligroup, TTPL,


what is Oracle10g? Please refer some sites...

1 Answers  


What is an implicit anchor and how is it a different form explicit anchor in a report builder?

0 Answers  


What do you mean by a block in forms4.0?

1 Answers  


Deleting a page removes information about all the fields in that page ?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)