Thursday 31 July 2014

Using array list in OAF:
Most of the java requierements we need define arralist:

ArrayList parameters = new ArrayList(4);
parameters.add(lprogId);

Wednesday 30 July 2014


Difference Between getAllRowsInRange and getRowAtRangeIndex

We can retrieve the rows in several methods

Example 1
oracle.jbo.Row rows[] = getdataVo.getAllRowsInRange();
for (int i = 0; i < rows.Lengthi++) { GetsomeVORowImpl someVORow = (GetsomeVORowImpl )rows(i); } Example 2 for (int i = 0; i < getDataVo.getRowCount(); i++) { GetsomeVORowImpl someVORow = (GetsomeVORowImpl )GetsomeVO.getRowAtRangeIndex(i); }


when to use ADF and when to use OAF


The Integration of the custom bolt-on or Extensions we want to maintain tightly with E-Business Suite we should use the OAF Release 12 technology stack(which uses J developer 10g) or OAF Release 11 technology stack(which uses J developer 9i)
If your application does not need to integrate with the E-Business suite or doesn't require any of the E-Business suite-specific capabilities enumerated like Flex fields and personalization you should use ADF 10g with SOA based integration with E-Business Suite.
If you are building a separate Application that does not integrate tightly with the E-Business suite, but needs E-Business Suite-specific capabilities like Flex fields and personalization, you should use the OAF Release 12 technology stack
If you are building a separate application that does not need to integrate at all with the E-Business Suite and you need an AJAX-style rich client user interface you should use ADF 11g.


Thursday 10 July 2014

Change the font into upper case:

CSSStyle ora = new CSSStyle();

ora.setProperty("text-transform", "uppercase");

OAMessageTextInputBean Serial=(OAMessageTextInputBean)webBean.findChildRecursive("Serial");
Serial.setInlineStyle(ora);


Getting person id from userId:

select papf.PERSON_ID,papf.LAST_NAME
from fnd_user fu
,per_all_people_f papf
where fu.USER_ID=:usid
and fu.EMPLOYEE_ID=papf.PERSON_ID
and trunc(sysdate) between trunc(papf.EFFECTIVE_START_DATE) and trunc(papf.EFFECTIVE_END_DATE)