Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
22Activity
0 of .
Results for:
No results containing your search query
P. 1
Apps Reviewer

Apps Reviewer

Ratings: (0)|Views: 1,150|Likes:
Published by oramel

More info:

Published by: oramel on May 20, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/16/2011

pdf

text

original

 
Developer Guide
 
Page 1 of 14 
 
NOTES :flex field
 
is a flexible data field that your organizationcan customize to your business needswithout programming.
Key Flexfield is
used to describe unique identifiersthat will have a better meaning than using number IDs. e.g a part number, a cost centre etc
Desc Flex
is used to just capture extra information.Key Flexfields have qualifiers whereas DescFlexfields do not. Desc Flexfields can have contextsensitive segments while Key flexfields cannot.
KEY FLEX FIELDS
General LedgerAccounting Flex FieldAccountReceivablesSales Tax Location Flex FieldTerritory Flex FieldFixed AssetsAsset key Flex FieldCategory Flex FieldLocation Flex FieldHumanResourceManagementSystemGrade Flex FieldItem Flex FieldJob Flex FieldPosition Flex FieldPersonal Analysis Flex FieldSoft Coded Key Flex FieldInventoryAccount AliasesItem CatalogsItem CategoriesSales Order Stock LocationSystem ItemPay RollBank Details Key Flex FieldCost allocation Flex FieldPeople group Flex FieldOraclePurchasingAccountPayablesCashManagementNo Key Flex Fields
System Administrator Navigation Paths
SECURITY
USER
DEFINE
RESPONSIBILITY
DEFINE 
REQUESTCONCURRENT
PROGRAM
DEFINE 
EXECUTABLEPROFILE
SYSTEM 
PERSONALAPPLICATION
REGISTER 
FUNCTION 
MENU 
VALIDATION
FLEXFIELD 
ADMINISTER FOLDER 
DOCUMENT
 APPLICATION DEVELOPER (form registration)
APPLICATION
REGISTER
FORM 
FUNCTION 
MENU
REPORTS :
Building :
- Create a lexical parameter P_CONC_REQUEST_ID withthe datatype Number. The concurrent manager passes theconcurrent request ID to your report using this parameter.• Call FND SRWINIT in the ”Before Report Trigger.”• Call FND SRWEXIT in the ”After Report Trigger.”
Report Triggers
1.BEFORE PARAMETER FORM2.AFTER PARAMETER FORM3.BEFORE REPORT4.BETWEEN PAGES5.AFTER REPORT6.
 
Steps to Create a Bit Map Report
1.
Build the query2.Draw the layout3. Close the Layout Editor window. Under Data Model,open up the 'System Parameters'4.Right Click on 'MODE' and select 'Properties' Enter 'BITMAP' as the 'Initial Value' and click OK.5. Copy the report file in the appropriate directory.6. Set the FORMAT to POSTSCRIPT and style as A4 inthe concurrent program
Bind variables
 
(:)
- used to replace a single value in SQLor PL/SQL, such as a character string, number, or date.Specifically, bind references may be used to replaceexpressions in SELECT, WHERE, GROUP BY, ORDERBY, HAVING, CONNECT BY, and START WITH clausesof queries.
Lexical references (&)
-placeholders for text that youembed in a SELECT statement. You can use lexicalreferences to replace the clauses appearing after SELECT,FROM, WHERE, GROUP BY, ORDER BY, HAVING,CONNECT BY, and START WITH.
Anchor -
defines the relative position of an object to theobject to which it is anchored.
 
You need anchors to definewhere you want objects to appear relative to one another.
 
Page 2 of 14
FORMS
The
TEMPLATE
form is the required starting point for all development of new forms. Start developing eachnew form by copying the TEMPLATE.fmb file, locatedin $AU_TOP/forms/US.
Standard Libraries
  
FNDSQF
contains packages and procedures for Message Dictionary, flexfields, profiles, andconcurrent processing. It also has various other utilities for navigation, multicurrency, WHO, etc.
  
APPCORE and APPCORE2
contain the packagesand procedures that are required of all forms tosupport the menu, Toolbar, and other requiredstandard behaviors. APPCORE2 is a near duplicate of APPCORE intended for use with theCUSTOM library.
  
APPDAYPK
contains the packages that control theApplications Calendar.
  
APPFLDR
contains all of the packages that enablefolder blocks.
  
VERT, GLOBE, PSAC, PQH_GEN, GHR, JA, JE,and JL
exist to support globalization and verticalmarkets. These libraries are for Oracle Applicationsuse only and may not be attached the customforms. However, they appear to be attached tomost forms based on the TEMPLATE formbecause they are attached to the APPCORE libraryor other standard libraries.  
CUSTOM
contains stub calls that may be modified toprovide custom code for Oracle Applications formswithout modifying the Oracle Applications formsdirectly.The CUSTOM package contains the followingfunctions and procedure:CUSTOM.ZOOM_AVAILABLE - If Zoom is availablefor this block, then return TRUE; otherwise returnFALSE.CUSTOM.STYLECUSTOM.EVENT - This procedure allows you toexecute your code at specific events.Always
use FND_FUNCTION.EXECUTE to open anew session of a form.
API’s
Menu and Toolbar Control:
Use the APP_SPECIALpackage to enable and customize menu entries andbuttons on the toolbar.APP_SPECIALAPP_SPECIAL.INSTANTIATEAPP_SPECIAL.ENABLE
Calendar Package
: For coding calendars into your forms. CALENDAR:CALENDAR.SHOWCALENDAR.SETUPCALENDAR.EVENT
Function Security APIs for PL/SQL Procedures
FND_FUNCTION.TESTFND_FUNCTION.QUERYFND_FUNCTION.EXECUTEFND_FUNCTION.USER_FUNCTION_NAMEFND_FUNCTION.CURRENT_FORM_FUNCTION
FND_PROFILE: User Profile APIs
FND_PROFILE.PUTFND_PROFILE.GETFND_PROFILE.VALUE
Concurrent Processing APIs for PL/SQLProcedures
FND_CONC_GLOBAL PackageFND_CONC_GLOBAL.REQUEST_DATAFND_CONC_GLOBAL.SET_REQ_GLOBALS
FND_CONCURRENT Package
FND_CONCURRENT.AF_COMMITFND_CONCURRENT.AF_ROLLBACKFND_CONCURRENT.GET_REQUEST_STATUSFND_CONCURRENT.WAIT_FOR_REQUESTFND_CONCURRENT.SET_COMPLETION_STATUS
FND_FILE: PL/SQL File I/O
FND_FILE.PUTFND_FILE.PUT_LINEFND_FILE.NEW_LINEFND_FILE.PUT_NAMESFND_FILE.CLOSE
FND_GLOBAL:
WHO Column Maintenance andDatabase InitializationFND_GLOBAL.USER_ID (Server)FND_GLOBAL.APPS_INITIALIZE (Server)FND_GLOBAL.LOGIN_ID (Server)FND_GLOBAL.CONC_LOGIN_ID (Server)FND_GLOBAL.PROG_APPL_ID (Server)FND_GLOBAL.CONC_PROGRAM_ID (Server)FND_GLOBAL.CONC_REQUEST_ID (Server)
FND_STANDARD: Standard APIs
FND_STANDARD.FORM_INFOFND_STANDARD.SET_WHOFND_STANDARD.SYSTEM_DATEFND_STANDARD.USER
FND_REQUEST Package
FND_REQUEST.SET_OPTIONS (Client or Server)FND_REQUEST.SET_REPEAT_OPTIONSFND_REQUEST.SET_PRINT_OPTIONSFND_REQUEST.SUBMIT_REQUEST (Client or Server)FND_REQUEST.SET_MODE (Server)
APP_EXCEPTION: Exception Processing APIs
APP_EXCEPTION.RAISE_EXCEPTIONAPP_EXCEPTION.RETRIEVEAPP_EXCEPTION.GET_TYPEAPP_EXCEPTION.GET_CODEAPP_EXCEPTION.GET_TEXTAPP_EXCEPTION.RECORD_LOCK_EXCEPTIONAPP_EXCEPTION.RECORD_LOCK_ERRORAPP_EXCEPTION.DISABLED
FND_SUBMIT: Request Set Submission
FND_SUBMIT.SET_MODEFND_SUBMIT.SET_REL_CLASS_OPTIONSFND_SUBMIT.SET_REPEAT_OPTIONSFND_SUBMIT_SET.REQUEST_SETFND_SUBMIT.SUBMIT_PROGRAMFND_SUBMIT.SUBMIT_SET
APP_ITEM_PROPERTY: Property Utilities
APP_ITEM_PROPERTY.GET_PROPERTY
 
 
Page 3 of 14APP_ITEM_PROPERTY.SET_PROPERTYAPP_ITEM_PROPERTY.SET_VISUAL_ATTRIBUTE
APP_NAVIGATE: Open a Form Function
APP_NAVIGATE.EXECUTE
PL/SQL:
Two parameters that are mandatory for pl/sql typeconcurrent program
Procedure/function (ERRBUF OUTRETCODE OUT………………….) 
ERRBUF -
Used to write the error message tolog or request file. 
RETCODE -
Populate log request file withprogram submission details info1
. Describe the difference between a procedure,function and anonymous pl/sql block.
should mention use of DECLARE statement, Afunction and procedure are the same in that they areintended to be a collection of PL/SQL code thatcarries a single task. a function must return a valuewhile a procedure doesn’t have to.2.
What is a mutating table error and how can youget around it?
This happens with triggers. It occurs because thetrigger is trying to update a row it is currently using.The usual fix involves either use of views or temporary tables so the database is selecting fromone while updating the other.
3. Describe the use of %ROWTYPE and %TYPE inPL/SQL
%ROWTYPE allows you to associate a variable withan entire table row. The %TYPE associates a variablewith a single column type.
4. What packages (if any) has Oracle provided for use by developers?
Oracle provides the DBMS_ series of packages.Such as DBMS_SQL, DBMS_PIPE,DBMS_TRANSACTION, DBMS_LOCK,DBMS_ALERT, DBMS_OUTPUT, DBMS_JOB,DBMS_UTILITY, DBMS_DDL, UTL_FILE.
5. Describe the use of PL/SQL tables
PL/SQL tables are scalar arrays that can bereferenced by a binary integer. They can be used tohold values for use in later queries or calculations. InOracle 8 they will be able to be of the %ROWTYPEdesignation, or RECORD.
6. When is a declare statement needed ?
The DECLARE statement is used in PL/SQLanonymous blocks such as with stand alone, non-stored PL/SQL procedures. It must come first in aPL/SQL stand alone file if it is used.
7. In what order should a open/fetch/loop set of commands in a PL/SQL block be implemented if you use the %NOTFOUND cursor variable in theexit when statement? Why?
OPEN then FETCH then LOOP followed by the exitwhen. If not specified in this order will result in thefinal return being done twice because of the way the%NOTFOUND is handled by PL/SQL.
8. What are SQLCODE and SQLERRM and why arethey important for PL/SQL developers?
SQLCODE returns the value of the error number for thelast error encountered. The SQLERRM returns theactual error message for the last error encountered.They can be used in exception handling to report, or,store in an error log table, the error that occurred in thecode. These are especially useful for the WHENOTHERS exception.
9. How can you find within a PL/SQL block, if acursor is open?
Use the %ISOPEN cursor status variable.
10. How can you generate debugging output fromPL/SQL?
Use the DBMS_OUTPUT package. Another possiblemethod is to just use the SHOW ERROR command, butthis only shows errors. The DBMS_OUTPUT packagecan be used to show intermediate results from loops andthe status of variables as the procedure is executed.The new package UTL_FILE can also be used.
11. What are the types of triggers?
There are 12 types of triggers in PL/SQL that consist of combinations of the BEFORE, AFTER, ROW, TABLE,INSERT, UPDATE, DELETE and ALL key words:BEFORE ALL ROW INSERT, AFTER ALL ROWINSERT, BEFORE INSERT ,AFTER INSERT etc.
What is the dual table?
A single row table provided by oracle for selectingvalues and expressions.
Describe the block structure of PLSQL
. Declaration,Begin, exception, end.
What is an anonymous block?
Unnamed PL/SQL block. 
What is a PL/SQL collection?
PL/SQL Table, Varray, PL/SQL Array, etc.
What is a nested subquery?
A subquery in a where clause.
How can you tell if an UPDATE updated no rows?
SQL%NOTFOUND.
How can you tell if a SELECT returned no rows.
NO_DATA_FOUND exception.
How do you run Native Dynamic SQL?
Execute immediate.
What is an autonomous transaction?
Identified by pragma autonomous. A child transactionseparate from the parent that MUST be committed or rolled back.
Implicit cursors
- created for every SQL Query by theDBMS without user interaction.
Explicit cursors
- explicitly declared, opened, fetchedand closed by the user explicitly. The user has completecontrol over the explicit cursor.
Delete
command will log the data changes in the log filewhere as the
truncate
will simply remove the datawithout it. Hence Data removed by Delete command canbe rolled back but not the data removed by TRUNCATE.Truncate is a DDL statement whereas DELETE is aDML statement.

Activity (22)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
raulpalav2775 liked this
someshmtcsr liked this
jskchakri liked this
radical208 liked this
manojkkara liked this
manu4india liked this
shanmuga liked this
cpsiva liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->