Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Raju Ch
Raju Ch
12. Click Finish. Save your work and in the Application Navigator you will be
seeing a workspace and a project inside that.
13. The structure should look like below:
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
19. Click Add and select only the apps88 folder and click Ok. This step will make sure that only the apps88
package will be available in the project
20. In the Application Navigator you will notice only the apps88 package.
21. Right click on the project and select New. Select Business Tier ADF
Business Components Entity Object.
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
35. An Association Object is created here in order to join the Emp and Dept table so that we get the Department
Name as well in the details.
36. Set the below values:
AO Properties:
Name EmpToDeptAO
Package apps88.oracle.apps.fnd.search.server
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
42. Click Next. Select the EmployeeEO and DepartmentEO and shuttle it to the
right side. Set the Association for DepartmentEO as EmpToDeptAO.DepartmemtEO1. Check the Updatable.
43. Click Next.
Raju Ch
44. From the EmployeeEO select Empno, Ename,Sal,Job, Hiredate,Comm and from DepartmentEO select
Dname,Loc and Deptno.
45. Click Next. In the SQL statement click on Expert Mode and use the below
query:
SQL Query:
SELECT EmployeeEO.EMPNO,
EmployeeEO.ENAME,
DepartmentEO.DEPTNO,
DepartmentEO.DNAME,
DepartmentEO.LOC,
EmployeeEO.JOB,
EmployeeEO.MGR,
EmployeeEO.HIREDATE,
EmployeeEO.SAL,
EmployeeEO.COMM
FROM DEPT DepartmentEO, EMP EmployeeEO
WHERE DepartmentEO.DEPTNO = EmployeeEO.DEPTNO
Raju Ch
Raju Ch
Raju Ch
46. Click Next and in the Java methods check EmpDetailsRowImpl.java and click Finish. Oracle standard is to
always create the rowImpl.java file for the VO's which will improve the performance.
Raju Ch
47. Right click on Apps88SearchAM and click Edit Apps88SearchAM. Whenever a VO is created it needs to be
associated with the AM before use.
48. Shuttle the EmpDetailsVO to the right side and click Ok.
Raju Ch
Raju Ch
Raju Ch
52. In the structure pane of EmployeeManagerPG, set the below properties for region1.
Raju Ch
Region1 properties:
Id PageLayoutRN
AM Definition apps88.oracle.apps.fnd.search.server.apps88searchAM
Window Title Oracle Application Search Page
Page Title Search Employee
Raju Ch
Raju Ch
Raju Ch
55. Right click on QueryRN and select New Region using wizard.
Raju Ch
56. Select the Apps88SearchAM and then select EmpDetailsVO1 and click Next.
57. Set the Region Id as ResultsTable and Region Style as table. Click Next.
Raju Ch
Raju Ch
Raju Ch
59. Change the item style of all the attributes to messageStyledText and set the Prompt as per the screen shot.
Click Next and finish.
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
69. Right click simpleSearchMappings and click new queryCriteriaMap.Set the below properties
CriteriaMap2 Properties:
Raju Ch
Raju Ch
71. When you are running the page sometimes you will get below errors. Basically OAF assumes, when building
Entities against tables, that you have added the standard WHO columns to your table.
In order to fix this problem, add:
LAST_UPDATE_DATE date
LAST_UPDATE_LOGIN integer
Raju Ch
LAST_UPDATED_BY integer
CREATION_DATE date
CREATED_BY integer
to your table, and import them into the EO you have created.
72. Click on apps88.oracle.apps.fnd.search.server.DepartmentEO then you will see the DepartmentEO structure.
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Raju Ch
Attachments can be added in a table or an advanced table where we can attach a file or text or URL. Let us see the
steps involved in implementing the attachments.
1. Go to the EmployeeManagerPG and in the Structure pane right click on the
ResultsTable and select New Item.
3. A entityMap1 gets created automatically and set its Entity property to apps88.
4. Right click on entityMap1 and select new primary Keys.
Raju Ch
Raju Ch
10. A confirmation message is displayed. You can notice a new icon in the Attach column.
Raju Ch