Webadi -a_sample_implementation

6,887 views

Published on

Webadi -a_sample_implementation

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,887
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
250
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Webadi -a_sample_implementation

  1. 1. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com ADI Set Up StepsThe Basic Mandatory step before starting with the ADI Set Up is to enable Security settings inInternet Explorer, Word, Excel as follows:- (a) Word:- (i)Tools->Macro->Security->Security Level tab->check low button (ii)Tools->Macro->Security->Trusted Publishers tab->check Trust Access to Visual Basic Project checkbox also. (b) Excel:- Same as above (c) Internet Explorer:- (i) Tools->Internet Options-> Security-> Custom Level-> Initialize and script ActiveX controls not marked as safe-> Prompt (ii) Tools->Internet Options-> Security-> Custom Level-> Automatic prompting for file downloads-> enable (iii) Tools->Internet Options-> Security-> Custom Level-> Use Pop-up Blocker-> Disable Requirement: 1. Need to download all the applicant details who does not have SIT values using Oracle WEBADI for specific business group 2. Need to insert SIT values for the applicants data which is downloaded 3. Need to upload the applicant’s data to which changes have been done. 4. Need to check weather the data is updated or not from the front end. 1) Create a new view to retrieve data for the applicants http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  2. 2. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Who does not contain SIT VALUES?CREATE OR REPLACE VIEW XXGENAPPSITDETAILS_VASSELECT DISTINCT papf.first_name Applicant_First_Name, papf.last_name Applicant_Last_Name, papf.applicant_number, pav.name vacnacy_name, NULL person_analysis_id, NULL CEDS_Attended, NULL CEDS_Writing_Score, NULL CEDS_Reading_Score, NULL CEDS_Listening_Score, NULL CEDS_Free_Speach_Score, NULL HAWK_Attended, NULL object_version_numberFROM per_all_people_f papf, per_all_assignments_f paaf, per_all_vacancies pav, APPS.per_person_types ppt, PER_PERSON_TYPE_USAGES_F pptufWHERE papf.business_group_id = ppt.business_group_idand papf.business_group_id = paaf.business_group_idand papf.person_id = paaf.person_idand paaf.vacancy_id = pav.vacancy_idand pav.business_group_id = paaf.business_group_idAND papf.business_group_id IN (SELECT business_group_id FROM per_business_groups WHERE name = Genpact Guatemala )AND pptuf.person_id = papf.person_idand pptuf.person_type_id = ppt.person_type_idAND upper(PPT.USER_PERSON_TYPE) IN (APPLICANT)AND sysdate BETWEEN papf.effective_start_date AND papf.effective_end_dateAND (papf.person_id,pav.name)NOT in(SELECT papf.person_id, pac.SEGMENT1 Vacancy_Number FROM apps.per_person_analyses ppa, apps.per_analysis_criteria pac, per_all_people_f papf, APPS.per_person_types PPT , per_person_type_usages_f pptuf, fnd_id_flex_structures FIFS, per_business_groups bgWHERE ppa.business_group_id= bg.business_group_idAND bg.NAME = Genpact GuatemalaAND pptuf.person_id = papf.person_idAND ppt.person_type_id = pptuf.person_type_idAND fifs.id_flex_num = PPA.ID_FLEX_NUMAND FIFS.id_flex_structure_code = XX_CEDS_GUATEMALAAND upper(PPT.USER_PERSON_TYPE) IN (APPLICANT)and papf.person_id=ppa.person_idand ppa.analysis_criteria_id=pac.analysis_criteria_idand sysdate BETWEEN papf.effective_start_date and papf.effective_end_dateAND TRUNC(sysdate) BETWEEN pptuf.EFFECTIVE_START_DATE AND pptuf.EFFECTIVE_END_DATE)minusSELECT DISTINCT papf.first_name Applicant_First_Name, http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  3. 3. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com papf.last_name Applicant_Last_Name, papf.applicant_number, pav.name vacnacy_name, NULL person_analysis_id, NULL CEDS_Attended, NULL CEDS_Writing_Score, NULL CEDS_Reading_Score, NULL CEDS_Listening_Score, NULL CEDS_Free_Speach_Score, NULL HAWK_Attended, NULL object_version_numberFROM per_all_people_f papf, per_all_assignments_f paaf, per_all_vacancies pav, APPS.per_person_types ppt, PER_PERSON_TYPE_USAGES_F pptufWHERE papf.business_group_id = ppt.business_group_idand papf.business_group_id = paaf.business_group_idand papf.person_id = paaf.person_idand paaf.vacancy_id = pav.vacancy_idand pav.business_group_id = paaf.business_group_idAND papf.business_group_id IN (SELECT business_group_id FROM per_business_groups WHERE name = Genpact Guatemala )AND pptuf.person_id = papf.person_idand pptuf.person_type_id = ppt.person_type_idAND upper(PPT.USER_PERSON_TYPE) IN (APPLICANT)AND sysdate BETWEEN papf.effective_start_date AND papf.effective_end_dateAND (papf.person_id,pav.name) in(SELECT papf.person_id, pac.SEGMENT1 Vacancy_Number FROM apps.per_person_analyses ppa, apps.per_analysis_criteria pac, per_all_people_f papf, APPS.per_person_types PPT , per_person_type_usages_f pptuf, fnd_id_flex_structures FIFS, per_business_groups bgWHERE ppa.business_group_id= bg.business_group_idAND bg.NAME = Genpact GuatemalaAND pptuf.person_id = papf.person_idAND ppt.person_type_id = pptuf.person_type_idAND fifs.id_flex_num = PPA.ID_FLEX_NUMAND FIFS.id_flex_structure_code = XX_CEDS_GUATEMALAAND upper(PPT.USER_PERSON_TYPE) IN (APPLICANT)and papf.person_id=ppa.person_idand ppa.analysis_criteria_id=pac.analysis_criteria_idand sysdate BETWEEN papf.effective_start_date and papf.effective_end_dateAND TRUNC(sysdate) BETWEEN pptuf.EFFECTIVE_START_DATE AND pptuf.EFFECTIVE_END_DATE) http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  4. 4. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.comConceptsIntegrator – This is the definition that stores the information about the action the user wishes to perform. For example,downloading specific data to a spreadsheet for viewing or to modify and upload back to the database. For ADE users, thisequated to the Style.API – Application Programming Interface. This is the pl/sql interface by which data is validated and uploaded into Oracle HRMS.You would associate an api with an integrator if it was intended to either create new data in the application or update data thathad been previously downloaded. See Oracle HRMS Configuring,Reporting and System Administration manual for a list ofsupported apis.View – A view is an object by which you can query data on a table or tables. If the action you are intending to perform involvesdownloading data, you must associate a view with the integrator. If you are using Create style APIs, you do not require a view.You can elect to use a seeded view, for example, PER_PEOPLE_V, to use with your integrator. However, if the integrator is forupdating data, then it is recommended that you create your own views and remember to include theOBJECT_VERSION_NUMBER, and any other In/Out parameters used by your chosen API.One thing to beware of is the use of Aliases in views if you are downloading from a form. For example,if you use an alias forApplicant_Name called Starter, and then use a restrictive query in the form on Applicant Name before running the integrator inWeb ADI, you will get the following error in the BNE log.BneBaseSQL.executeBneQuery: Exception while running query. Error Code: 904, Message: ORA-00904:"APPLICANT_NAME": invalid identifierThe column APPLICANT_NAME has been overwritten by the alias in the definition loaded into the BNE tables.Layout – This is where the user selects the columns to be displayed in the spreadsheet or Word document from the API and/orView used by the integrator. An integrator can have more than one layout defined for it. You can choose which one to use whenyou create your document.Mapping – the mapping definition links the data source to the api columns. If no view is specified against the integrator or notext file used to load data, then no mapping is needed. When the data source is a view, the mapping is created automatically,however if a text file is being used then a mapping needs to be manually defined to associate each column in the file (source) tothe relevant api parameter (target). See example c) in section, A Step by Step Guide to Creating HRMS Integrators. Login to Oracle Apps http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  5. 5. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Select Oracle WEB ADI Responsibility Click on Create Document Select Excel 2003 option from the viewer Click on Next button http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  6. 6. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Select Integrator “HR Integrator Setup” Click on Next button- Select Layout as “Integrator Setup” Click on Next button http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  7. 7. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Select Content as „None” Click on Next button Click on create document button http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  8. 8. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com- click on openDetail information for column heading in the above Template 1. Upl - ignore 2. Metadata Type - select List of Values from Oracle menu 3. or right click on mouse.Choose UPDATE 4. Application Short Name- Choose your Application Short Name 5. (see Getting Started) 6. Integrator User Name - Enter a name for your integrator 7. (eg Update Asg Details) 8. View Name - Create your own view, but must include 9. object_version_number from http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  9. 9. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com 10. per_all_assignments_f. See Getting 11. Started. 12. Form Name - GENERAL 13. API Package Name - HR_ASSIGNMENT_API 14. API Procedure Name - UPDATE_EMP_ASG_CRITERIA 15. Interface User Name - Enter a unique name 16. Interface Param List - Enter a unique name 17. API Type - select List of Values from Oracle menu 18. or right click on mouse.Choose PROCEDURE 19. API Return Type - ignoreMetadata Type : UPDATEApplication Short name : PERIntergrator User name : XXTEST_SITAPPView name : XXGENAPPSITDETAILS_VForm Name : GENERALAPI Package Name : XX_GENGUATAPPLSIT_PKGAPI Procedure Name : XX_GENGUATAPPLSIT_PRCInterface User Name : XXTEST_SITAPPInterface Parameter List Name : XXTEST_SITAPPAPI Type : PROCEDURENote : Interface User Name and Interface Parameter List Name should be same as Integrator name goto menu Oracleupload http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  10. 10. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com If upload is successful it will show in green colour which as shown below Goto home page of Oracle Webadi responsibility http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  11. 11. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com- Click on Create Documnet Select excel 2003 option http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  12. 12. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Select HR Maintain Integrator Form Function Association Click on Next button Select Form Function Associations option Click on Next button Select Form Function Associations option Click on Next button http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  13. 13. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com  Give Application Short name (#App_short_name)  Give Integrator Short name (#integrator_name)  Click on Next continue Click on Create document button http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  14. 14. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Form Function Template(3) Define a Form Function likeFunction : XXTEST_SITAPP_WEBADIUser Function name : XXTEST_SITAPP_WEBADI http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  15. 15. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.comProperties : SSWA Servlet FunctionWeb HTML: oracle.apps.bne.webui.BneApplicationServiceNote: SELECT Integrator_code FROM BNE_INTEGRATORS_TL WHERE user_name LIKE „XXTEST_SITAPP‟ (< Integrator Name >)Parameters: bne: page=BneCreateDoc&bne: integrator=800 :< Integrator_code>Parameters: bne: page=BneCreateDoc&bne: integrator=800:GENERAL_1420_INTG http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  16. 16. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com System Administrator  RequestsDefine Query Oracle Web Adi responsibility Copy Menu Name http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  17. 17. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Query Menu Name Add the defined function name (#function_name) to menu Goback to Form Function template (#Form_Function)Integrator Application Shot name: PERIntegrator User name: XXTEST_SITAPPForm Function: XXTEST_SITAPP_WEBADI http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  18. 18. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Goto menu Oracle Upload Goto Oracle Web Adi Responsibility home page Select Define Layout http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  19. 19. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Select the Defined Integrator Name Click go Provide suitable layout name and unique layout key Click Continue http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  20. 20. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Select all the fields which need to populate in the layout. Select the fields which are defined in the Procedure parameters. Goto Oracle Web Adi Responsibility home page Select Define Mapping http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  21. 21. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.comClick go Define Mapping Provide mapping name and number of fields to be mapped http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  22. 22. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Here mapping is done for defined view columns and procedure parameters Click on Lookup and Click on apply button http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  23. 23. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Goto  System Administration  Requests Responsibility Query the responsibility to which webadi template to be attached Query genpact Guatemala irec hiring team http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  24. 24. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com copy the menu name. Add the function to menu Goto Genpact Guatemala Irec Hiring Team Responsibility Click Genpact Guatemala Web Adi http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  25. 25. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Select Excel 2003 Click Next Select the mapping name which we have defined Click Continue http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  26. 26. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Click Create Document Click Open Here it displays all the applicant details who does not have SIT values http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  27. 27. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Before inserting SIT values for a specific applicant http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  28. 28. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Applicant does not contain SIT values http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  29. 29. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Insert SIT values to the applicant “Sambit Swain”CEDSATTENDED1 = „Y‟CEDSWRITINGSCORE1 = 2CEDSREADINGSCORE1 = 2CEDSLISTININGSCORE = 4CEDSFREESPEACHSCORE = 5HAWKATTENDED = „Y‟ http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  30. 30. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com goto menu  OracleUpload Select Flagged rows option http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  31. 31. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com click close Check after uploading SIT values http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com
  32. 32. Title http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com Here SIT values for the applicant is updated. http://oracleapps-atechniciansview.blogspot.com/Author : Ashish Harbhajanka Email : ashish1234u@gmail.com

×