oracle apps technical questions collection

87
Sanjay Challagundla ………….. [email protected] DA164287 TRANACTION PASS – YB159633 Oracle app’s technical document 1) What is ERP? Architecture of apps? A packaged business software system that lets a company automate and integrate the majority of its business processes; share common data and practices across the enterprise; [and] produce and access information in a real-time environment. 2) Tell me some thing about SQL-LOADER. Sql * loader is a bulk loader utility used for moving data from external files into the oracle database. Sql * loader supports various load formats, selective loading, and multi-tables loads. 1) conventional --The conventional path loader essentially loads the data by using standard ‘insert’ statement. 2) direct 1

Upload: kuljasbir-singh

Post on 21-Feb-2015

496 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

DA164287

TRANACTION PASS – YB159633

Oracle app’s technical document

1) What is ERP? Architecture of apps?

A packaged business software system that lets a company automate and

integrate the majority of its business processes; share common data and

practices across the enterprise; [and] produce and access information in a

real-time environment.

2) Tell me some thing about SQL-LOADER.

Sql * loader is a bulk loader utility used for moving data from external files

into the oracle database.

Sql * loader supports various load formats, selective loading, and multi-

tables loads.

1) conventional

--The conventional path loader essentially loads the data by using

standard ‘insert’ statement.

2) direct

-- the direct path loader (direct = true) by possess of logic involved with

that, and loads directly in to the oracle data files.

EX:-

My data.csv file

1001, “scott tiger”,1000,40

1002,”gvreddy”,2345,50

Load data

Infile ‘c:\data\mydata.csv’

Into table emp

1

Page 2: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Fields terminated by “,” optionally enclosed by ‘”’

(empno, empname,sal,deptno)

>sqlldr scott/tiger@vis

control=loader.ctl log= gvlog.log bad=gvbad.bad discard=gvdis.dsc .

3) how do u dump data from pl/sql block to flat files?

Using utl_file package, we can dump data from pl/sql block to flat file. PRE-REQUIREMENTS for UTL_FILE is specify the accessible directories for the UTL_FILE function in the initialization file (INIT.ORA) Using the UTL_FILE_DIR parameters. Ex: UTL_FILE_DIR = <Directory name>

EX:---remember to update INITSID.ORA,

--utl_file_dir = ‘c:\oradata’

Declare

Fp utl_file.file_type;

Begin

Fp := utl_file.fopen(c:\oradata’,tab1.txt’,’w’);

Utl_file.putf(fp,’%s %s \n ‘text field’, 55);

Utl_file.fclose(fp);

End;

4) What is SET-OF-BOOKS?

Collection of Chat of Accounts and Currency and Calendars is called SOB

4.1 ) How to compile a form in R12.

$>frmcmp_batch FORM_name.fmb userid=APPS/APPS

output_file=/d02/oracle/VIS12/apps/apps_st/appl/XXXXX/12.0.0/f

orms/US/FORM_name.fmx module_type=form

compile_all=special

4.2) How to compile a form in R11i.1) Login to the Forms server node as applmgr and set the applications environment

(this is important).

2) Change directory to $AU_TOP/forms/US (even this is important).

3) Use the “f60gen” command to generate the fmx files for the fmb files.

2

Page 3: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

$ f60gen module=<formname>.fmb userid=apps/<apps_pwd>

output_file=/forms/US/<formname>.fmx

“f60gen” is for Unix.  On Windows the command is ifcmp60.exe

Qns: Where do I pick the fmb files delivered by oracle?

Ans: These are picked from $AU_TOP/forms/uso

5) What is the interface?

Interface Table is a table which is used as medium for transfer of data

between two systems.

6) What is invoice?

Send you a request for payment

7) What is INBOUND and OUT BOUND? (Different types of interfaces)

Inbound Interface:

For inbound interfaces, where these products are the destination,

interface tables as well as supporting validation, processing, and maintenance

programs are provided.

Outbound Interface:

For outbound interfaces, where these products are the source,

database views are provided and the destination application should provide the

validation, processing, and maintenance programs

8) Tell me what r the Base tables in the AR?

hz_parties (party_id) (store info about org, groups and people) HZ_PARTIES stores information about parties such as organizations, people, and groups, including the identifying address information for the party.

hz_cust_accounts (cust_account_id) HZ_CUST_ACCOUNTS stores information about customer relationships. If a party becomes a customer, information about the customer account is stored in this table. You can

3

Page 4: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

establish multiplecustomer relationships with a single party, so each party can have multiple customer account records in this table.

hz_cust_acct_sites_all (cust_acct_site_id) HZ_CUST_ACCT_SITES_ALL stores information about customer sites.One customer account can have multiple sites. The address is maintained in HZ_LOCATIONS.

hz_cust_site_uses_all (site_use_id) HZ_CUST_SITE_USES_ALL stores information about site uses or business purposes. A single customer site can have multiple site uses, such as bill to or ship to, and each site use is stored as a record in this table.

hz_party_sites (party_site_id) HZ_PARTY_SITES stores information about the relationship between Parties and Locations. The same party can have multiple party sites.Physical addresses are stored in HZ_LOCATIONS.

hz_locations (location_id) HZ_LOCATIONS stores information about physical locations.

hz_Person_Profiles (person_profile_id) HZ_PERSON_PROFILES stores detail information about people.

hz_Organization_Profiles (organization_profile_id) HZ_ORGANIZATION_PROFILES stores credit rating, financial statistics, socioeconomic and corporate linkage information for business sites. The primary key for this table is ORGANIZATION_PROFILE_ID.

9) What r the table’s interface tables in the customer interface tables?

1) Ra_customers_interface_all

This table stores customer, address, and business purpose information. You do not have to enter values in this table if you do not want to import customers, addresses, or business purposes.

ADDRESS1 through 4 Enter the address for your customer in these four columns. You can enter up to four lines of an address.

Validation: If you enter a value in ORIG_SYSTEM_ADDRESS_REF, you must enter a value in ADDRESS1. For multiple rows with the same address reference, insert values in address 1–4.

4

Page 5: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Destination: HZ_LOCATIONS.ADDRESS1, HZ_LOCATIONS.ADDRESS2, HZ_LOCATIONS.ADDRESS3, HZ_LOCATIONS.ADDRESS4

2) Ra_customer_profile_int_all

A customer level profile must exist in A_CUSTOMER_PROFILES_INTERFACE for new customers and each bill–to business purpose. 3) Ra_contact_phones_int_all

This table stores telephone numbers for customers, addresses and contacts as well as contacts for customers and addresses. 4) Ra_customer_banks_int_all

This table stores bank information for a customer or for a specific Bill–To address, you must enter a bank account for this customer, 5) Ra_cust_paymethod_int_all

To import payment methods for customers and bill–to business purposes,

10) What r the staging tables in the customer interface?

Ra_customers_stg

Ra_customers_address_stg

Ra_customers_point_stg

Ra_customers_contact points_stg

Ra_customers_relate_stg

Ra_customer_error.

11)Tell me some mandatory columns in the customer interface tables?

a) Ra_customers_interface_all

1) Orig_system_customer_ref

2) insert_update_flag

3) customer_number

4) customer_status

5)last_updated_by 6) last_updated_date

5

Page 6: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

7)created_by

8) creation_date. b) Ra_customer_profile_int_all

1) customer_profile_class_name

c) Ra_contact_phones_int_all

1)orig_system_telephone_ref

2)telephone

3) telephone_type

d) Ra_customer_banks_int_all

1) bank_a/c_name

2)bank_a/c_no

3)bank_a/c_currency_code

e) Ra_cust_paymethod_int_all

1) payment_method_name

12)Tell me the Navigation for customer interface?

Receivables Interface Customers

1. What tables cannot be updated through customer interface?

No updates will be allowed to be made through customer interface for 

Following tables

RA_SITE_USES_ALL

RA_CUSTOMER_RELATIONSHIPS_ALL

RA_CUST_RECEIPT_METHODS

AP_BANK_BRANCHES

6

Page 7: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

AP_BANK_ACCOUNTS_ALL

AP_BANK_ACCOUNT_USES_ALL

2. How to send additional customer and address information through customer interafce 

Here is where attribute columns are used.

* Additional Customer data can be populated in 

RA_CUSTOMERS_INTERFACE_ALL.customer_attribute1 to 15

This will go into RA_CUSTOMERS.attribute1 to 15

* Additional address information can be populated in 

RA_CUSTOMERS_INTERFACE_ALL.address_attribute1 to 15

This will go into RA_ADDRESSES_ALL.attribute1 to 15

And so on.

5. What should be the batch size (number of customer records) general guidelines for optimal performance

About 10,000 records per bacth is ideal, it is suggested to keep the batch

size small.

   6. Why does customer interface error out if there is mismatch in address information?

Because the code validates against these mismatches. 

arplscin.sql and arplbcin.sql 

It validates the address being inserted or updated with respect to the tax 

location flexfield structure.  For each row being inserted or updated in 

RA_CUSTOMERS_INTERFACE, and that has not already been marked in error, 

the set_location_ccid function is called to return either an existing ccid 

7

Page 8: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

for the address entered or to create a new entry in AR_LOCATION_VALUES for 

this new address.  The RA_CUSTOMERS_INTERFACE record is then updated with the 

value of the ccid returned.                                

7. How do you send records at customer level profile and address/site level profile?

For every customer record in RA_CUSTOMERS_INTERFACE_ALL, insert two records  in table RA_CUSTOMER_PROFILES_INT_ALL.    (Refer Note: 1070800.6 )

9. Does Customer Interface import salesperson data? 

No, Refer Enhancement Bug: 147495 

11. Customer Interface process can be used for updating the customer information How does the UPDATE work?

Current functionality of Customer Interface is to update all the data.  You cannot run Customer Interface to update only changed data. (Refer Bug: 879121 for the intended functinality)

12. What are some of the important fields that Customer Interface does not load?

Not all fields in RA_CUSTOMERS are being loaded by the interface. 

SIC_CODE                

GSA_INDICATOR                

FOB_POINT                

SALES_CHANNEL_CODE                

FREIGHT_TERM                

8

Page 9: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

WAREHOUSE_ID                

PRICE LIST     

SHIP_PARTIAL                               

PAYMENT_TERM_ID   in RA_SITE_USES.PAYMENT_TERM_ID 

(Refer Enhancement Request Bug: 245300)

13. New TCA/Customer Model, how to load customer as PERSON or ORGANIZATION through Customer Interface?

a) Populate ra_customers_interface_all . person_flag = 'Y'

   Run Customer Interface process will load this record as PERSON

b) Populate ra_customers_interface_all . person_flag = 'N' ( or NULL ) 

   Run Customer Interface process will load this record as ORGANIZATION

13) Tell me what is the procedure to develop an interface?

a. First we will get the Requirement document.

b. We will create control file based on that plot file.

c. Then the control files which loads the data into staging tables.

d. Through pl/sql programs we will mapping and validate the data and then

dump into the interface tables.

e. Through the standard programs we will push the data from interface tables

to Base tables.

14) What validations u did in the customer interface?

a. customer name : the same customer reference can’t have different customer

names with in this table

HZ_PARTIES.PARTY_NAME

b. customer number : must be null if your r using automatic customer

numbering, must exit if you are not using automatic customer numbering.

This value much be unique with in HZ_PARTIES

9

Page 10: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

c. customer status : must be ‘A’ for active or ‘I’ for inactive

HZ_PARTIES_STATUS

d. bank account num or bank account currency code :

if the bank a/c already exist do not enter a value

if the bank a/c does not exist you must enter a value

e. bank a/c name : it must exist in AP_BANK_ACCOUNTS or if it does not

exist values must exist for BANK_A/C_CURRENCY_CODE

BANK_A/C_NUM

BANK_NAME

BANK_BRANCH_NAME

Note : every interface table has two error msg

1) Error code.

2) Error msg.

15) How can u call a standard interface program from sql or pl/sql code?

FND_REQUEST.SUBMIT_REQUEST (‘PO’,’EXECUTABLE NAME’,,,,PARAMETERS)

16) API’s FOR CUSTOMER INTERFACE?

HZ_CUST_A/C_VZPUB.UPDATE_CUST_A/C

HZ_CUST_A/C_VZPUB.CREATE_CUST_A/C

FND_PROFILES

FND_APPLICATIONS

FND_GLOBAL

FND-FILE

FND_CONCSUB(can submit conc program in host invironment)

17) Tell me some API?

FND_FILE.PUTLINE(FND_FILE.LOG)

FND_FILE.PUTLINE(FND_FILE.OUTPUT)

Is the Program exits, delete conc program and its executables.

IF FND_PROGRAM.PROGRAM_EXITS(‘EMP’,APPLICATION_NAME_IN) THEN

FND_PROGRAM.DELETE_PROGRAM(‘EMP’,APPLICATION_NAME_IN)

FND_PROGRAM.DELETE_EXECUTABLE(‘EMP’,APPLICATION_NAME_IN)

END;

18) What are profile options?

10

Page 11: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Is the Functional and Technical behavior of Oracle Applications Package.

EX: - I want to assign the user3 responsibility to p4 printer then

System Administrator Profile System

(FND_PROFILE_OPTIONS)

19) Oracle E-Business suite?

Oracle apps + analytical components software.

(Oracle discover)

(Oracle sales analyzer)

(Oracle financial analyzer)

(Oracle marketing analyzer)

24) What is multi org?

“Legal entity has more than one operating unit is called as multi org”

a) Business group --- Human resources information is secured by

Business group

b) Legal entity. --- inter-company and fiscal/tax reporting.

Security responsibility operating unit.

c) Operating unit --- secures AR, OE, AP, PA and PO Information.

d) Organizations --- is a specialize unit of work at particular locations

25) What are the User PARAMETERS in the Reports?

P_CONC_REQUEST_ID

P_FLEX_VALUE

26) FND USER EXITS:-

FND SRWINIT sets your profile option values, multiple organizations and allows

Oracle Application Object Library user exits to detect that they have been called by an

Oracle Reports program.

FND SRWEXIT ensures that all the memory allocated for AOL user exits have been

freed up properly.

FND FLEXIDVAL are used to display flex field information like prompt, value etc

11

Page 12: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

FND FLEXSQL these user exits allow you to use flex fields in your reports

FND FORMAT_CURRENCY is used to print currency in various formats by using

formula column

26) PL/SQL stored procedure parameters? or what are the two parameters that are mandatory for pl/sql type concurrent program? Procedure/function (ERRBUF OUT

RETCODE OUT

………………….)

ERRBUF :- Used to write the error message to log or request file.

RETCODE :- Populate log request file with program submission details info.

27) What is Value Set?

--The value set is a collection (or) container of values.

--When ever the value set associated with any report parameters. It provides

list of values to the end user to accept one of the values as report parameter value.

-- If the list of values needed to be dynamic and ever changing and define a

table based values set.

27) What r the validation types?

1) None -------- validation is minimal.

2) Independent ------input must exist on previously defined list of values

3) Dependent ------input is checked against a subset of values based on a

prior value.

3) Table ----- input is checked against values in an application table

4) Special ------values set uses a flex field itself.

5) Pair ------ two flex fields together specify a range of valid values.

6) Translatable independent ----- input must exist on previously defined list

of values; translated values can be used.

12

Page 13: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

7) Translatable dependent ------- input is checked against a subset of values

based on a prior values; translated value can be used.

28) Form development process?

a) open template form

b) Save as <your form>.fmb

c) Change the form module name as form name.

d) Delete the default blocks, window, and canvas

e) Create a window.

f) Assign the window property class to window

g) Create a canvas (subclass info)

h) Assign canvas property class to the canvas

I) assign the window to the canvas and canvas to the window

j) Create a data block

k) Modify the form level properties. (sub class item Text item)

l) Modify the app_cusom package. In the program unit.

m) Modify the pre-form trigger (form level)

n) Modify the module level properties ((console window, First navigation

p) Save and compile the form.

Place the .fmx in the server directory.

Q) Register in the AOL

APPLICATION FORM

APPLICATION FUNCTION

APPLICATION MENU

29)How do u customize the Reports?

a. Identify the Short name of the standard report in which module we

have to customize

Ex: - if u want to customize in the AR module path is

Appl top\ar\11.5.0\reports\US\ .rdf

13

Page 14: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

b. Open the .rdf file in Report builder and change the name of the

module.

c. Open the data module and modify the query (what is client

requirements) assign the columns to the attributes.

d. Go to report wizard and select, what r the newly created columns.

e. Then Compile it. Then u will get a .rep file in the specified module.

If it is not in the specified directory then we have to put in the server

directory.

f. Then Register in the AOL Concurrent executable.

Concurrent program.

g. go to system administrator SecurityResponsibilityrequest

h) Add and assign a concurrent program to a request group

30) Registering parametric report?

Any applications will have two parameters,

1) from-period 2) to-period

a) Go to object navigator and create the parameters.

User parameters from_no, to_no (data type char and width 30)

b) Open the report layout and write the query(we have to reg the table in AOL)

Select empno,ename,from g_emp where empno between :from_no and to_no

c) Compile and put the .RDP file in the server directory.

d) Registering in AOL.

Concurrent executable

Concurrent program then go to “PARAMETERS”

e) Go to Application validation set. then go to “EDIT INTO”

After entering the VALUE SETS (1) And TOKENS (2)

f) Go to Administrations

Sequrity responsibility Request

h) Add and assign a concurrent program to a request group

14

Page 15: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

31) Tell me some report names and their table names in GL, AP, AR, and

PO?

1) ra_customer_trx_all customer_trx_id trx_number (invoice no, debit memo no, credit memo no) cust_trx_type_id

2) ra_customer_lines_all (details of invoice) cutomer_trx_id

3) ar_payment_schdules_all check_id

This table stores all transactions except adjustments and miscellaneous cash receipts. Oracle Receivables updates this table when activity occurs against an invoice, debit memo, chargeback, credit memo, on account credit, or receipt.

4) ra_cust_trx_types_all (invoice types) cust_trx_type_id

5) ra_batches_all Batch_id This table stores information about each receipt batch that you create inOracle Receivables. Each row includes information about a specific batch such as batch source, status, batch type, control count, and control amount

6) ra_receivable_application_all

7) ra_adjustments_all This table stores information about your invoice adjustments. Each row includes general information about the adjustment you are making such as activity name, amount, accounting information, reason, and type of adjustment. You need one row for each adjustment you are making to an invoice.

8) ra_cash_receiots_all Cash_receipt_id

This table stores one record for each receipt that you enter. Oracle Receivables creates records concurrently in the AR_CASH_RECEIPT_HISTORY_ALL, AR_PAYMENT_SCHEDULES_ALL, and AR_RECEIVABLE_APPLICATIONS tables for invoice–related receipts.

1) ap_invoice_all invoice_amount, base_amount, payment_status_flag(‘y’ –fully paid ‘n’—unpaid ‘p’ –partially paid)

15

Page 16: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

2) ap_invoice_payments_all invoice_id,3) ap_invoice_distibutions_All amount, base_amount, dist_code_combination_id, line_type_lookup_code4) ap_payment_schdules payment_status_flag(“ ‘’’’’”)5) ap_payment_dustributions_all6) ap_checks_all check_id,

AP_CHECKS_ALL stores information about payments issued to suppliers or refunds received from suppliers. You need one row for each payment you issue to a supplier or refund received from a supplier. Your Oracle Payables application uses this information to record payments you make to suppliers or refunds you receive from suppliers.

7) ap_accounting_events_all

8) ap_bank_accounts_all AP_BANK_ACCOUNTS_ALL contains information about your bank accounts. You need one row for each bank account you define. Each bank account must be affiliated with one bank branch. When you initiate an automatic payment batch, enter a manual check, or create a Quick payment, you can select a bank account that you define in this table.

9) ap_bank_accounts_uses_all AP_BANK_ACCOUNT_USES_ALL stores information for the internal and external bank accounts you define in Oracle Payables and OracleReceivables applications.

1) po_vendors_all2) po_vendors_sites_all3) po_headers_all po_header_id4) po_lines_all po_line_id5) po_line_locations_All6) po_distributions_all po_distribution_id,

1) Gl_code_combinations

GL_CODE_COMBINATIONS stores valid account combinations for each Accounting Flexfield structure within your Oracle General Ledger application. Associated with each account are certain codes and flags, including whether the account is enabled, whether detail posting or detail budgeting is allowed, and others.

2) Gl_je_batches. GL_JE_BATCHES stores journal entry batches.

3) Gl_je_headers GL_JE_HEADERS stores journal entries. There is a one–to–many relationship between journal entry batches and journal entries. Each row in this table includes the associated batch ID,

16

Page 17: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

the journal entry name and description, and other information about the journal entry. This table corresponds to the Journals window of the Enter Journals form. STATUS is ’U’ for unposted, ’P’ for posted. Other statuses indicate that an error condition was found. A complete list is below.

4) Gl_je_lines. GL_JE_LINES stores the journal entry lines that you enter in the Enter Journals form. There is a one–to–many relationship between journal entries and journal entry lines. Each row in this table stores the associated journal entry header ID, the line number, the associated code combination ID, and the debits or credits associated with the journal line. STATUS is ’U’ for unposted or ’P’ for posted

5) Gl_set of books GL_SETS_OF_BOOKS stores information about the sets of books you define in your Oracle General Ledger application. Each row includes the set of books name, description, functional currency, and other information. This table corresponds to the Set of Books form.

6) Gl_periods GL_PERIODS stores information about the accounting periods you define using the Accounting Calendar form. Each row includes the start date and end date of the period, the period type, the fiscal year, the period number, and other information. There is a one–to–many relationship between a row in the GL_PERIOD_SETS table and rows in this table.

1) OPEN-DEBIT MEMO REPORT? This report shows all the open-debit memo transactions, based on customer number and dates. Columns :- type, customer_no, trx_no, amt_due, remaining. Parameter :- type, customer, from_date, to_date.2) GENERATING POSITIVE PAY FILE FOR BANK REPORT?

Basically this report generates a flat file of all the payments in order to send in to the bank.

3) UPDATE POSITIVEPAY CHECKS REPORT?This report which updates the data into the (AP) account payables system from the plot file, the file which is sent by bank

4) UPDATE POSITIVEPAY OUT STANDING CHECKS?This report which shows the out standing checks

5) CUSTOMER PAYMENT DETAILS REPORT?Which shows each customer original amount, amount pay and due amount based on transaction type (books, pens)

Transaction types in AR Credit memo transaction typesInvoice, debit memo, and charge back transaction typesCommitment transaction types

Q) HOW DO YOU RECTIFY THE ERRORS IN INTERFACE TABLES?

17

Page 18: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Depending on the naming convention used, errors appear in either alphabetical order or

by error code number.

31) How do u identity its name of report?

System administrator concurrent program define

System administrator concurrent program executable

32) Who information’s?

1) Created by

2) Creation date

3) Last _updated by

4) last_update_date

5) last_update_value

33) FLEX FIELDS?

Used to capture the additional business information.

DFF KFF

Additional Unique Info, Mandatory

Captured in attribute prefixed columns Segment prefixed

Not reported on standard reports Is reported on standard reports

To provide expansion space on your form With the help of []. [] Represents descriptive Flex field.

FLEX FILED : DESCRIPTIVE : REGIGSTER

Used for entering and displaying key informationFor example Oracle General uses a key Flex field called Accounting Flex field to uniquely identifies a general account.

FLEX FILED : KEY : REGIGSTER

Oracle Applications KEY FLEX FIELDS

1) GL :- ACCOUNTING

2) AR :- SALES TAX LOCATION, TERRITORY,

3) AP :- BANK DETAILS, COST ALLOCATION, PEOPLE GROUP

18

Page 19: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Oracle Applications DESCRIPTIVE FLEX FIELDS (Partial)

1) GL :- daily rates

2) AR :- credit history, information

3) PA :- bank branch, payment terms, site address,

34) What are the requests groups?

a) Single request: - this allows you to submit an individual request.

b) Request set : - this allows you to submit a pre-defined set of requests.

35) Sys Admin Module?

a) Define Custom Users, b) Define Login Users, c) Register oracle DB users,

d) Define Concurrent Programs, e) Register Concurrent Executables, f) Setting

Profile Option Values, g) Define Request Types.

36) AOL?

a) Registering tables. b) Registering views c) Registering db sequences

d) Registering profile options e) Registering lookups and lookup codes

f) Registering forms g) Registering Form and Non-Form functions i) registering

Menus and sub-menus. j) Registering DFF and KFF. k) Libraries

37) What r the type Models in the system parameters of the report?

1) Bit map 2) Character mode

38) .What is SRW Package? (Sql Report Writer) The Report builder Built in package know as SRW Package This package extends reports ,Control report execution, output message at runtime, Initialize layout fields, Perform DDL statements used to create or Drop temporary table, Call User Exist, to format width of the columns, to page break the column, to set the colorsEx: SRW.DO_SQL, It’s like DDL command, we can create table, views , etc., SRW.SET_FIELD_NUM

SRW. SET_FILED_CHARSRW. SET FILED _DATE

37) Difference between Bind and Lexical parameters?BIND VARIABLE :

19

Page 20: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

-- are used to replace a single value in sql, pl/sql-- bind variable may be used to replace expressions in select, where, group, order by, having, connect by, start with cause of queries.-- bind reference may not be referenced in FROM clause (or) in place of reserved words or clauses.LEXICAL REFERENCE:-- you can use lexical reference to replace the clauses appearing AFTER select, from, group by, having, connect by, start with.-- you can’t make lexical reference in a pl/sql statmetns.

38) Matrix Report: Simple, Group above, Nested Simple Matrix Report : 4 groups 1.Cross Product Group

2. Row and Column Group3. Cell Group4. Cell column is the source of a cross product summary that

becomes the cell content. Frames: 1.Repeating frame for rows(down direction)

2.Repeating frame for columns(Across ) 3.Matrix object the intersection of the two repeating frames

39) what is Flex mode and Confine mode?Confine mode

On: child objects cannot be moved outside their enclosing parent objects.Off: child objects can be moved outside their enclosing parent objects.

Flex mode:On: parent borders "stretch" when child objects are moved against them.Off: parent borders remain fixed when child objects are moved against

them.

40) What is Place holder Columns? A placeholder is a column is an empty container at design time. The placeholder can hold a value at run time has been calculated and placed in to It by pl/sql code from anther object.You can set the value of a placeholder column is in a Before Report trigger. Store a Temporary value for future reference. EX. Store the current max salary as records are retrieved.

23) What is Formula Column?

20

Page 21: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

A formula column performs a user-defined computation on another column(s) data, including placeholder columns.

24) What is Summary columns? A summary column performs a computation on another column's data. Using the Report Wizard or Data Wizard, you can create the following summaries: sum, average, count, minimum, maximum, % total. You can also create a summary column manually in the Data Model view, and use the Property Palette to create the following additional summaries: first, last, standard deviation, variance.

50) What is cursor?

A Cursor is a pointer, which works on active set, I.e. which points to only one

row at a time in the context area’s ACTIVE SET. A cursor is a construct of pl/sql,

used to process multiple rows using a pl/sql block.

28) Types of cursors? 1) Implicit: declared for all DML and pl/sql statements. By default it selects one row only. 2) Explicit: Declared and named by the programmer. Use explicit cursor to individually process each row returned by a Multiple statements, is called ACTIVE SET. Allows the programmer to manually control explicit cursor in the Pl/sql block

a)declare: create a named sql areab)Open: identify the active set.c)Fetch: load the current row in to variables.d)Close: release the active set.

CURSOR ATTRIBUTES

a) %is open: evaluates to true if the cursor is open.b) %not found: evaluates to true if the most recent fetch does not return a

rowc) %found: evaluates to true if the most recent fetch returns a row.d) %row count: evaluates to the total number of rows returned to far.

Example for cursor:1) Declare Vno emp.empno%type; Vname emp.ename %type; Cursor emp_cursor is Select empno,ename From emp; Begin

21

Page 22: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Open cursor; For I in 1..10 loop Fetch emp_cursor into vno,vname; Dbms_output.putline(to_char(vno) ||’ ‘||vname); End if; E nd; 2) Begin Open emp_cursor; Loop Fetch when emp_cursor % rowcount >10 or Emp_curor % not found; Bdms_output_put_line(to_char(vno)||’ ‘|| vname); End loop; Close emp_cursor; End;

CURSOR FOR LOOPA) cursor for loop is a short cut to process explicit cursorsB) it has higher performanceC) cursor for loop requires only the declaration of the cursor, remaining

things like opening, fetching and close are automatically take by the cursor for loop

Example: 1) Declare Cursor emp_cursor is Select empno,ename From emp; Begin For emp_record in emp_cursor loop Dbms_output.putline(emp_record.empno); Dbms_output.putline(emp_record.ename) End loop End;

Can we create a cursor without declaring it?

Yes – by using cursor for loop using subqueries.

BEGIN FOR emp_record IN ( SELECT empno, ename

FROM emp) LOOP -- implicit open and implicit fetch occur IF emp_record.empno = 7839 THEN ... END LOOP; -- implicit close occursEND;

a) for update clause:

22

Page 23: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

1) use explicit locking to deny access for the duration of a transaction 2) lock the rows before update or delete Ex : select ……. From……. For update[ of column ref] [no_wait] b) where current of clause? 1) use cursor to update or delete the current row Where current of < column ref>

29) Attribute data types? 1) %type 2) %row type.

30) Exception Handilings? Is a mechanism provided by pl/sql to detect runtime errors and process them with out halting the program abnormally

1) pre-defined2) user-defined.

PRE-DEFINED: 1) cursor_already_open--------attempted to open an already open cursor.2) Dup_val_on_index --------attempted to insert a duplicate values.3) Invalid_cursor -------- illegal cursor operation occurred.4) Invalid_number -------- conversion of character string to number fails.5) Login_denied ---------loging on to oracle with an invalid user name and password.6) program_error -------- pl/sql has an internal problem.7) storage_error -------- pl/sql ran out of memory or memory is corrupted.8) to_many_row ---------single row select returned more than one row.9) value_error -------- arithmetic,conversion,truncation or size constraint error occurred.10) zero_devided -------- attempted to divided by zero.

USER-DEFINED: Declare : name the exception Raise : explicitly raise the exception by using the raise statements Reference: exception handing section.

The Raise_Application_Error_Procedure: You can use this procedure to issue user-defined error messages from

stored sub programs.

23

Page 24: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

You can report errors to your applications and avoid returning unhandled exceptions.

Raise_Application_Error(error_number,message[,{true/false}] Error number between -20000 to -20999

pragma exception_init? It tells the compiler to associate an exception with an oracle error. To get an error message of a specific oracle error. Ex: pragma exception_init(exception name, oracle error number)

Example for Exceptions? 1) Check the record is exist or not? Declare E emp% rowtype Begin e.empno := &empno; select * into e from emp where empno =e.empno; Dbms_output.putline(‘empno’ || e.empno); Exception When no_data_found then Dbms_output.putline(e.empno ||’doest exist’); End;

2) User defined exceptions? Define p_dept_desc =’gvreddy’ Define p_dept_number =1236

Declare E_invalid_dept exception; Begin Update departments Set dept_name=’&p_dept_desc’ Where dept_id =’&p_dept_number’; If sql% not found then Raise e_invalid_departments; End if; Commit; Exception When e_invalid_departments then Dbms_output.putline(‘no such dept’); End; 52) what is REF Cursor?

To execute a multi-row query, oracle opens an unnamed work area that stores

processing information, to access the information, an explicit, which names the

work area or, a cursor variable, which points to the work area.

24

Page 25: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

where as a cursor always refers to the same query work area, a cursor variable

can refer to a different work areas, cursor variable area like ‘c’ or ‘pascal’

pointers, which hold the memory location(address) of some object instead of the

object itself.

So, declaring a cursor variable creates a pointers, not an object.

32) Can u define exceptions twice in same block? No33) Can you have two functions with the same name in a pl/sql block? Yes34) Can you have two stored functions with in the same name? Yes35) Can function be overload? Yes36) What is the maximum number of statements that can be specified in a

trigger statement?One.

32) Stored procedure? Stored procedure is a sequence of statements that perform specific function.

53) What is procedure?

---- is a named pl/sql block to perform a specific task.

---- A procedure may have DML statements.

---- It may or may not return a value.

---- Procedure can return more than one value.

Example for procedure

1) To accept the year as a parameter and list emp belong to the year?

Create or replace Procedure empy(y number) is

Cursor emp_cursor is Select * from emp where to_char(hiredate,’yyyy’)=’y’; Emp_record emp%rowtype; Begin

25

Page 26: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

For emp_record in emp_cursor loop Print (emp_record.empno); Print (emp_record.ename); Print (emp_record.sal); End loop; End;Output : var empx number; Begin :empx := ‘1234’; End; Exec empy(:empx); Print empy;54) What is function?

---- is a named pl/sql block to perform a specific task, is mainly used for

calculation purpose.

---- A function is called as part of an exception.

---- Every function should return a value

Example for function

Create or replace Function get_sal(p_id in emp.emp_no% type) Return number Is

v_sal emp.sal%type :=0; Begin Select salary into v_salary From emp Where emp_no = p_id; Return v_salary End get_sal; End;

Output : var g_sal number; Exec :g_sal := get_sal(99); Print g_salary;

9.Can functions be overloaded ?

Yes.

26

Page 27: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

10.Can 2 functions have same name & input parameters but differ only by return datatype

No.

55) What is the package?

---- Group logically related pl/sql types, items and subprograms.

1) package specification

2) package body

Advantages of a package:

Modularity Easier Application Design Information Hiding Overloading

You cannot overload:•Two subprograms if their formal parameters differ only in name or parameter mode. (datatype and their total number is same).•Two subprograms if their formal parameters differ only in datatype and the different datatypes are in the same family (number and decimal belong to the same family)•Two subprograms if their formal parameters differ only in subtype and the different subtypes are based on types in the same family (VARCHAR and STRING are subtypes of VARCHAR2)

•Two functions that differ only in return type, even if the types are in different families.

56) What is FORWARD DECLARATION in Packages?

PL/SQL allows for a special subprogram declaration called a forward declaration. It consists of the subprogram specification in the package body terminated by a semicolon. You can use forward declarations to do the following:• Define subprograms in logical or alphabetical order.• Define mutually recursive subprograms.(both calling each other).• Group subprograms in a package

Example of forward Declaration:

CREATE OR REPLACE PACKAGE BODY forward_pack ISPROCEDURE calc_rating(. . .); -- forward declaration PROCEDURE award_bonus(. . .) IS -- subprograms defined BEGIN -- in alphabetical order calc_rating(. . .);

27

Page 28: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

. . . END; PROCEDURE calc_rating(. . .) IS BEGIN . . . END; END forward_pack;

56) What are triggers?

---- triggers are similar to procedures, in that they are the named pl/sql blocks

with declarative, executable and exception-handling sections, how ever a

procedure is executed explicitly from another block via a procedure call, which

can also pass arguments.

---- A trigger is executed implicitly when ever a particular event task places. And

is nothing but a event.

---- The triggering event is a DML (insert, update, delete) operations on a data

base table

----- fires whenever a data event(such as DML) or system event(such as login

or shutdown) occurs on a schema or database

Trigger timing : 1) before

2) after

3) instead of ( this is used for views)

Triggering events : 1) insert

2)update

3) delete

Trigger type : 1) statement level

2) row level.

Firing sequence of database triggers

1) before statement trigger

28

Page 29: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

2) before row trigger

3) after row trigger

4) after statement trigger

Ex:

1) Create or replace trigger secure_emp

Before Insert on emp Begin If (to_char(sysdate,’dy’) in(‘sat’,’sun’)) or To_char(sysdate,’hh24:mi’) Not between ’08:00’ and ’18:00’)Then raise_application_error(-20500,’u can insert in the office timings’)End if;End;Ex :- 2) write a program to all transitions with name smith?

Create or replace

Trigger trigger_name

Before insert or update or delete

On emp

For each row

When (old.ename =’smith’ or

New.ename =’smith’)

Begin

Raise_application_error(-20003,’smith’);

End;

57) Difference between triggers and procedures?

Defined with create trigger Defined with create procedure

The data dictionary contains source

code in the user_triggers.

Data dictionary contains source code

in user_source

Implicitly invoked Explicitly invoked

29

Page 30: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Commit, save point and rollback are

not allowed(TCL)

Those are allowed

58) LOCKS?

-- Is to reduce concurrency

1) share lock

---it allows the other users for only reading not to insert or update or delete.

2) exclusive lock

--- only one user can have the privileges of insert or update and delete of

particular object

--- others can only read.

3) update lock

----multiple user can read, update delete

Lock levels :

1) table level 2) table space 3) data base level.

58) What is template?

a) The TEMPLATE form is the required starting point for all development of new Forms. b) The TEMPLATE form includes platform–independent attachments of several Libraries. APPSCORE :- It contains package and procedures that are required of all forms to support the MENUS ,TOOLBARS. APPSDAYPK :- It contains packages that control the oracle applications CALENDER FEATURES. FNDSQF :- it contains packages and procedures for MESSAGE DICTONARY, FLEX FIELDS, PROFILES AND CONCURRENT PROCESSING. CUSTOM :- it allows extension of oracle applications forms with out modification of oracle application code, you can use the custom library for customization such as zoom ( such as moving to another form and querying up specific records)

59) What are ad-hoc reports?Ans.: Ad-hoc Report is made to meet one-time reporting needs. Concerned with or formed for a particular purpose. For example, ad hoc tax codes or an ad hoc database query

60) What is responsibility?

30

Page 31: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Is collection of menus, request security groups and data groups Menus: collection of forms is nothing but menus Request security groups: collection of programs. Data groups: is a group of modules to be made accessible by the user through Responsibility System adminsecuritydefine Securityuserdefine

61) What are different execution methods of executabls? FlexRpt The execution file is wrnitten using the FlexReport API.FlexSql The execution file is written using the FlexSql API.Host The execution file is a host script.Oracle Reports The execution file is an Oracle Reports file.PL/SQL Stored Procedure The execution file is a stored procedure.SQL*Loader The execution file is a SQL script.SQL*Plus The execution file is a SQL*Plus script.SQL*Report The execution file is a SQL*Report script.Spawned The execution file is a C or Pro*C program.Immediate The execution file is a program written to run as a subroutine of the

concurrent manager. We recommend against defining new immediate concurrent programs, and suggest you use either a PL/SQL Stored Procedure or a Spawned C Program instead.

Composite Datatypes :– PL/SQL TABLES– PL/SQL RECORDS

- Nested TABLE - VARRAY

What is the sequence of functions – group by,having,orderby in a select statements ?Select…..Group by…Having…Orderby..

Difference between User and Super User?User : login user or front end userSuper user : it has full access of particular module

31

Page 32: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

ANIL PASSI QUESTIONS

Question: How will you migrate Oracle General Ledger Currencies and Sets of Books Definitions fromone environment to another without reKeying? Will you use FNDLOAD?Answer: FNDLOAD can not be used in the scenario. You can use migrator available in "Oracle iSetup" Responsibility

Question: This is a very tough one, almost impossible to answer, but yet I will ask. Which Form in Oracle Applications has most number of Form Functions?Answer: "Run Reports". And why not, the Form Function for this screen has a parameter to which we pass name of the "Request Group", hence securing the list of Concurrent Programs that are visible in "Run Request" Form. Just so that you know, there are over 600 form functions for "Run Reports"

Question: Which responsibility do you need to extract Self Service Personalizations?Answer:Functional Administrator

Question: Can you list any one single limitation of Forms Personalization feature that was delivered with 11.5.10Answer:You can not implement interactive messages, i.e. a message will give multiple options for Response. The best you can get from Forms Personalization to do is popup up Message with OK option.

Question: You have just created two concurrent programs namely "XX PO Prog1" & "XX PO Prog2". Now you wish to create a menu for Concurrent Request submission such that only these two Concurrent Programs are visible from that Run Request menu. Please explain the steps to implement this?Answer: a) Define a request group, lets say with name "XX_PO_PROGS"b) Add these two concurrent programs to the request group "XX_PO_PROGS"c) Define a new Form Function that is attached to Form "Run Reports"d) In the parameter field of Form Function screen, enter REQUEST_GROUP_CODE="XX_PO_PROGS" REQUEST_GROUP_APPL_SHORT_NAME="XXPO" TITLE="XXPO:XX_PO_PROGS"e) Attach this form function to the desired menu.

Question: Does Oracle 10g support rule based optimization? Answer: The official stance is that RBO is no longer supported by 10g. 

Question: Does oracle support partitioning of tables in Oracle Apps?Answer: Yes, Oracle does support partitioning of tables in Oracle Applications. There are several implementations that partition on GL_BALANCES. However your client must buy licenses to if they desire to partition tables. To avoid the cost of licensing you may suggest the clients may decide to permanently close their older GL Periods, such that historical records can be archived.Note: Before running the archival process the second time, you must clear down the archive table GL_ARCHIVE_BALANCES (don’t forget to export archive data to a tape).

Question: What will be your partitioning strategy on GL_BALANCES? Your views please?

32

Page 33: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Answer: This really depends upon how many periods are regularly reported upon, how many periods are left open etc. You can then decide to partition on period_name, or period ranges, or on the status of the GL Period.

Question: Does Oracle support running of gather stats on SYS schema in Oracle Apps?Answer: If your Oracle Applications instance is on 10g, then you can decide to run stats for SYS schema. This can be done by  exec dbms_stats.gather_schema_stats('SYS'); Alternately using command dbms_stats.gather_schema_stats('SYS',cascade=>TRUE,degree=>20);I will prefer the former with default values.If you wish to delete the stats for SYS use exec dbms_stats.delete_schema_stats('SYS'); You can schedule a dbms_job for running stats for SYS schema.

Question: Can you use concurrent program "Gather Schema Statistics" to gather stats on sys schema in oracle apps?Answer: No, "Gather Schema Statistics" has no parameters for SYS schema.  Please use dbms_job.

Question: Which table is used to provide drill down from Oracle GL into sub-ledger?Answer: GL_IMPORT_REFERENCES

Question: What is the significance of profile option “Node Trust Level” in Oracle Apps.Answer: If this profile option is set to a value of external against a server, then it signifies that the specific mid-tier is External i.e. it will be exposed to the www. In other words this server is not within the firewall of your client. The idea behind this profile option is to flag such middle-tier so that special restrictions can be applied against its security, which means a very restricted set of responsibilities will be available from such Middle-Tier.

Question: What is the significance of profile option “Responsibility Trust Level”.Answer: In order to make a responsibility accessible from an external web tier, you must set profile option “Responsibility Trust Level” at responsibility level to “External”. Only those responsibilities that have this profile option against them will be accessible from External Middle tiers.

Question: What else can you suggest to restrict the access to screens from external web tiers?Answer: You may use URL filtering within Apache.

Question: What is the role of Document Manager in Oracle Purchasing?Answer: POXCON is an immediate concurrent program. It receives pipe signal from the application when a request is made for approval/reservations/receipts.

Question: How to debug a document manager in Oracle Apps? Answer: Document manger runs within the concurrent manager in Oracle Applications.  When an application uses a Document Manager, it sends a pipe signal which is picked up by the document manager.There are two mechanisms by which to trace the document manager1. Set the debugging on by using profile option    STEP 1. Set profile option "Concurrent:Debug Flags" to TCTM1    This profile should only generate debugs when set at Site level(I think, as I have only tried site), because Document Manager runs     in a different session.    STEP 2. Bounce the Document Managers    STEP 3. Retry the Workflow to generate debugs.    STEP 4. Reset profile option "Concurrent:Debug Flags" to blank    STEP 5. have a look at debug information in table fnd_concurrent_debug_info

2. Enable tracing for the document managers This can be done by setting profile option “Initialization SQL Statement – Custom” against your username before reproducing the issue. The value of this profile will be set so as to enable trace using event 10046, level 12.

Question: You have written a Java Concurrent Program in Oracle Apps. You want to modify the CLASSPATH such that new class CLASSPATH is effective just for this program.

33

Page 34: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Answer: In the options field of the concurrent program you can enter something similar to below.-cp <your custom lib pathused by Java Conc Prog> :/home/xxvisiondev/XXDEVDB/comn/java/appsborg.zip:/home/xxvisiondev/XXDEVDB/comn/java

Question: How will you open a bc4j package in jdeveloper?Answer: Oracle ships a file named server.xml with each bc4j package. You will need to ftp that file alongside other bc4j objects(VO’s, EO’s, AM, Classes etc).Opening the server.xml will load the complete package starting from AM(application module). This is a mandatory step when building Extensions to framework.

Question: In OA Framework Self-Service screen, you wish to disable a tab. How will you do it?Answer: Generally speaking, the tabs on a OA Framework page are nothing but the SubMenus. By entering menu exclusion against the responsibility, you can remove the tab from self service page.

Question: In self service, you wish to change the background color and the foreground text of the OA Framework screens to meet your corporate standards. How will you do it?Answer: You will need to do the below stepsa….Go to Mid Tier, and open $OA_HTML/cabo/styles/custom.xssb…Enter below text( change colours as needed)  <style name="DarkBackground">    <property name="background-color">#000066</property>  </style>  <style name="TextForeground">    <property name="color">#0000FF</property>  </style>c… cd $OA_HTML/cabo/styles/cached…Take a backup of all the css files.e…Delete all the files of following pattern oracle-desktop*.cssThe idea here is to delete the cache. Next time when you logon to Oracle Apps Self Service, the Framework will rebuild the css file if found missing for your browser.

Question: Can you extend and substitue a root AM ( Application Module) in OA Framework using JDeveloper.Answer: You can extend the AM in jDeveloper, but it doesn’t work( at least it didn’t work in 11.5.9). I am hopeful that Oracle will deliver a solution to this in the future.

Question: In a workflow notification, you have a free text response field where the user enters the Vendor Number for the new vendor. You want to validate the value entered in the notification response field upon the submission of a response. How will you do it?Answer: You will need to attach a post notification function to the Workflow Notification.The PL/SQL code will look similar to below:-

34

Page 35: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

The below code will display an error in the notification when user attempts to create a Duplicate Vendor Number.PROCEDURE validate_response_from_notif(  itemtype IN VARCHAR2 ,itemkey  IN VARCHAR2 ,actid    IN NUMBER ,funcmode IN VARCHAR2 ,RESULT   IN OUT VARCHAR2) IS  l_nid                      NUMBER;  l_activity_result_code     VARCHAR2(200);  v_newly_entered_vendor_num VARCHAR2(50);  CURSOR c_get_response_for_new_vendor IS    SELECT wl.lookup_code    FROM   wf_notification_attributes wna          ,wf_notifications           wn          ,wf_message_attributes_vl   wma          ,wf_lookups                 wl    WHERE  wna.notification_id = l_nid    AND    wna.notification_id = wn.notification_id    AND    wn.message_name = wma.message_name    AND    wn.message_type = wma.message_type    AND    wna.NAME = wma.NAME    AND    wma.SUBTYPE = 'RESPOND'    AND    wma.format = wl.lookup_type    AND    wna.text_value = wl.lookup_code    AND    wma.TYPE = 'LOOKUP'    AND    decode(wma.NAME, 'RESULT', 'RESULT', 'NORESULT') = 'RESULT';BEGIN  IF (funcmode IN ('RESPOND'))  THEN    l_nid := wf_engine.context_nid;    OPEN c_get_response_for_new_vendor;    FETCH c_get_response_for_new_vendor      INTO l_activity_result_code;    CLOSE c_get_response_for_new_vendor;    v_newly_entered_vendor_num := wf_notification.getattrtext(l_nid,'NEWLY_ENTERED_VENDOR_NUM_4_PO');    IF l_activity_result_code = 'NEW_VENDOR'       AND does_vendor_exist(p_vendor => v_newly_entered_vendor_num)    THEN      RESULT := 'ERROR: VendorNumber you entered already exists';      RETURN;    END IF;  END IF;

35

Page 36: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

EXCEPTION  WHEN OTHERS THEN    RESULT := SQLERRM;END validate_response_from_notif;

Question: How to make concurrent program end with warning?Answer: If the concurrent program is of type PL/SQL, you can assign a value of 1 to the “retcode” OUT Parameter.For a Java Concurrent program, use the code similar to belowReqCompletion lRC;//get handle on request completion object for reporting statuslRC = pCpContext.getReqCompletion();lRC.setCompletion(ReqCompletion.WARNING, "WARNING");

Question: How do you link a Host type concurrent program to Concurrent Manager?Answer: Assuming your executable script is LOADPO.prog, then use the commands belowcd $XXPO_TOP/binln -s $FND_TOP/bin/fndcpesr $XXPO_TOP/bin/LOADPO

Question: How do you know if a specific Oracle patch has been applied in apps to your environment.Answer: Use table ad_bugs, in which column bug_number is the patch number.SELECT bug_number      ,to_char(creation_date, 'DD-MON-YYYY HH24:MI:SS') datedFROM   apps.ad_bugsWHERE  bug_number = TRIM('&bug_number') ;

Question: How do you send a particular Oracle Apps Workflow Activity/Function within a workflow process into background mode.Answer: If cost of the workflow activity is greater than 50, then the workflow activity will be processed in background mode only, and it won’t be processed in online mode.

Question: What are the various ways to kick-off a workflowAnswer: You can eiter use wf_engine.start_process or you can attach a runnable process such ghat it subscribes to a workflow event.

Question: When starting (kicking off) an oracle workflow process, how do you ensure that it happens in a background mode?--a)if initiating the process using start_process, do the below    wf_engine.threshold := -1;    wf_engine.createprocess(l_itemtype

36

Page 37: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

                           ,l_itemkey                           ,'<YOUR PROCESS NAME>');    wf_engine.startprocess(l_itemtype, l_itemkey)--B) When initiating the workflow process through an event subscription, set the Execution Condition Phase to be equal to or above 100 for it to be executed by background process.

Question: On 10g, how will you use awr?Answer: By running below scripts. These are both the same scripts, but with differing parameters.$ORACLE_HOME/rdbms/admin/awrrpt.sql$ORACLE_HOME/rdbms/admin/awrrpti.sql

Question : How will you configure Apache to run in Debug mode, specifically usefull when debugging iProcurement ( prior to 11.5.10).Answer: After 11.5.10, FND Logging  can be used for debugging Oracle iProcurement.Prior to 11.5.10 ----STEPS IN A NUTSHELL-----cd $ORACLE_HOME/../iAS/Apachevi $ORACLE_HOME/../iAS/Apache/Jserv/etc/ssp_init.txt    DebugOutput=/home/<<SID>>/ora9/iAS/Apache/Apache/logs/debug.log    DebugLevel=5    DebugSwitch=ON

vi $ORACLE_HOME/../iAS/Apache/Jserv/etc/jserv.conf    ApJServLogLevel debug

vi $ORACLE_HOME/../iAS/Apache/Jserv/etc/jserv.properties    log=true

Question: How will you add a new column to a List Of Values ( LOV ) in Oracle Applications Framework? Can this be done without customization?Answer: Yes, this can be done without customization, i.e. by using OA Framework Extension coupled with Personalization. Implement the following Steps :-a) Extend the VO ( View Object ), to implement the new SQL required to support the LOV.b) Substitute the base VO, by using jpximport [ similar to as explained in Link ]c) Personalize the LOV Region, by clicking on Add New Item. While adding the new Item, you will cross reference the newly added column to VO.

Question: Can you do fnd_request.submit_request from SQL Plus in Oracle?Answer: You will need to initialize the global variables first using fnd_global.initializeDECLARE    v_session_id INTEGER := userenv('sessionid') ;BEGINfnd_global.initialize

37

Page 38: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

( SESSION_ID        =>    v_session_id,USER_ID                =>    <your user id from fnd_user.user_id>,RESP_ID                =>    <You may use Examine from the screen PROFILE/RESP_ID>,RESP_APPL_ID           =>    <You may use Examine from the screen PROFILE/RESP_APPL_ID>,SECURITY_GROUP_ID      =>    0      ,SITE_ID                =>    NULL        ,LOGIN_ID               =>    3115003--Any number here,CONC_LOGIN_ID          =>    NULL                ,PROG_APPL_ID           =>    NULL                ,CONC_PROGRAM_ID        =>    NULL                ,CONC_REQUEST_ID        =>    NULL                ,CONC_PRIORITY_REQUEST  =>    NULL                ) ;commit ;END ;/Optionally you may use fnd_global.apps_initialize, which internally calls fnd_global.initialize  fnd_global.apps_initialize(user_id => :user_id,                             resp_id => :resp_id,                             resp_appl_id => :resp_appl_id,                             security_group_id => :security_group_id,                             server_id => :server_id);By doing the above, your global variables upon which Concurrent Managers depend upon will be populated. This will be equivalent to logging into Oracle Apps and submitting the concurrent request from a responsibility.

Question: You are told that the certain steps in the Oracle Apps Form/Screen are running slow, and you are asked to tune it. How do you go about it.Answer: First thing to do is to enable trace. Preferably, enable the trace with Bind Variables. This can be done by selecting menu Help/Diagnostics/Trace/”Trace With Binds and Wait”Internally Oracle Forms issues a statement similar to below:-alter session set events='10046 trace name context forever, level 12' ;

Enable Trace with Bind Variables in Apps

This will enable the trace with Bind Variable values being shown in the trace file.The screen in Oracle Apps will also provide the name of the trace file which is located in directly identified by select value from v$parameter where name like '%us%r%dump%'Doing a tkprof with explain plan option, reviewing plans  and stats in trace file can help identify the slow performing SQL.

38

Page 39: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Question: What is the difference between running Gather Stats and “Program – Optimizer[RGOPTM]” in Oracle General Ledger?Answer: “Gather Stats” will simply gather the stats against existing tables, indexes etc. However Gather Stats does not create any new indexes. But “Program – Optimizer[RGOPTM]” can create indexes on GL_CODE_COMBINATIONS, provided accounting segment has the indexed flag enabled,

Question: You have written a piece of code in POR_CUSTOM_PKG for Oracle iProcurement, but its not taking any effect? What may be the reason?Answer: Depending upon which procedure in POR_CUSTOM_PKG has been programmed, one or more of the below profile options must be set to YesPOR: Enable Req Header CustomizationPOR: Enable Requisition Line CustomizationPOR: Enable Req Distribution Customization

Question: What is the key benefit of punching out to suppliers catalogs rather than loading their catalogs locally in Oracle iProcurement?Answer: Punchout has several advantages like, Catalogs don’t need to be loaded locally saves space on your system. You can get up-to-date list of catalogs by punching out and also you get the benefit of up-to-date pricing information on vendor items.

Question: Does oracle have a test environment on exchange?Answer: http://testexchange.oracle.com

Question: Does Oracle Grants use its own schema or does it uses Oracle Project Accounting schema?Answer: Although Oracle Grants has its own schema i.e. GMS, it reuses many of the tables with in Oracle Projects Schema like PA_PROJECTS_ALL, PA_EXPENDITURE_ITEMS_ALL, PA_EXPENDITURE_TYPES etc.

Question: How to make an Oracle Report Type concurrent program produce an excel friendly output?Answer: Comma can be concatenated between the column values, however a better option is to create tab delimited file, as it takes care of commas within the string.For this, use SQL similar to below in the report select 'a'  || chr(9) || 'b' from dual;

Question: What are the settings needed for printing bitmap reports?Answer: Get your DBA to configure two files i.e. uiprint.txt & default.ppdFor details, refer to Metalink Note 189708.1

Question: For a PL/SQL based concurrent program do you have to issue a commit at the end?Answer: The concurrent program runs within its own new session. In APPS, the default database setting enforces a commit at the end of each session. Hence no explicit COMMIT is required.

Question: What is the best  way to add debugging to the code in apps?Answer: Use fnd_log.string , i.e. FND Logging. Behind the scenes Oracles FND Logging uses autonomous transaction to insert records in a table named fnd_log_messages.For exampleDECLAREBEGIN    fnd_log.STRING(log_level => fnd_log.level_statement                  ,module    => 'xxxx ' || 'pkg/procedurename '                  ,message   => 'your debug message here');END ;Three profile options effecting FND Logging areFND: Debug Log ModeFND: Debug Log EnabledFND: Debug Log Module

Question: If you wish to trigger of an update or insert in bespoke table or take some action in response to

39

Page 40: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

a TCA record being created or modified, how would you do it? Will you write a database triggers on TCA Tables?Answer: There are various pre-defined Events that are invoked from the Oracle TCA API’s.TCA was Oracle’s first initiative towards a fully API based approach, which means the screen and the processes all use the same set of APIs for doing same task.In order to take an action when these events occur, you can subscribe a custom PL/SQL procedure or a Custom Workflow to these events. Some of the important TCA events are listed below:-oracle.apps.ar.hz.ContactPoint.updateoracle.apps.ar.hz.CustAccount.createoracle.apps.ar.hz.CustAccount.updateoracle.apps.ar.hz.CustAcctSite.createoracle.apps.ar.hz.CustAcctSite.updateoracle.apps.ar.hz.CustAcctSiteUse.createoracle.apps.ar.hz.CustAcctSiteUse.updateoracle.apps.ar.hz.Location.createoracle.apps.ar.hz.Location.updateoracle.apps.ar.hz.Organization.createoracle.apps.ar.hz.Organization.updateoracle.apps.ar.hz.PartySite.createoracle.apps.ar.hz.PartySite.updateoracle.apps.ar.hz.PartySiteUse.createoracle.apps.ar.hz.PartySiteUse.updateoracle.apps.ar.hz.Person.createoracle.apps.ar.hz.Person.update

Question: In Oracle OA Framework, is the MDS page/document definition stored in database or in the file  system?Answer: The MDS document details are loaded into database, in the following sets of tables.JDR_ATTRIBUTESJDR_ATTRIBUTES_TRANSJDR_COMPONENTSJDR_PATHSThe Document is loaded via XMLImporter, as detailed in XMLImporter Article

Question: In a Oracle Report data group, you have a “data link” between two queries. How do you ensure that the data link is made Outer Joined?Answer: The data link is an Outer Join by default.

Question: How does substitution work in OA Framework?What are the benefits of using Substitution in OA Framework? Answer: Based on the user that has logged into OA Framework, MDS defines the context of the logged in user. Based upon this logged in context, all applicable personalization are applied by MDS. Given that substitutions are loaded as site level personalizations, MDS applies the substituted BC4J objects along with the personalizations. The above listed steps occur as soon as Root Application module has been loaded.The benefit of using Substitution is to extend the OA Framework without customization of the underlying code. This is of great help during Upgrades. Entity Objects and Validation Objects can be substituted. I think Root AM’s can’t be substituted given that substitution kicks off after Root AM gets loaded.

Question: In OA Framework, once your application has been extended by substitutions, is it possible to revert back to remove those substitutions?Answer: yes, by setting profile option “Disable Self-Service Personal%” to Yes, keeping in mind that all your personalizations will get disabled by this profile option. This profile is also very useful when debugging your OA Framework based application in the event of some error. By disabling the personalization via profile, you can isolate the error, i.e. is being caused by your extension/substitution code or by Oracle’s standard functionality.

Question: How can you import invoices into Oracle Receivables?Answer: You can either use AutoInvoice by populating tables RA_INTERFACE_LINES_ALL,  RA_INTERFACE_DISTRIBUTIONS_ALL &  RA_INTERFACE_SALESCREDITS_ALL.Alternately you may decide to use API ar_invoice_api_pub.create_single_invoice for Receivables Invoice Import.

40

Page 41: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Question: How do you setup a context sensitive flexfieldAnswer: Note: I will publish a white paper to sho step by step approach. But for the purpose of your interview, a brief explanation is…a)Create a reference field, b) Use that reference field in “Context Field” section of DFF Segment screen c) For each possible value of the context field, you will need to create one record in section “Context Field Value” ( beneath the global data elements).

Question: Does Oracle iProcurement use same tables as Oracle Purchasing?Answer: Yes, iProcurement uses the same set of requisition tables as are used by Core Purchasing.

Question: What is the name of the schema for tables in tcaAnswer: AR (at least till 11.5.10, not sure about 11.5.10).

Question: Are suppliers a part of TCA?Answer: Unfortunately not yet. However, Release 12 will be merging Suppliers into TCA.

Question: What is the link between order management and purchasingAnswer: Internal Requisitions get translated into Internal Sales Orders.

Question: How would you know if the purchase order XML has been transmitted to vendor, looking at the tables.Answer: The XML delivery status can be found from a table named ecx_oxta_logmsg. Use the query belowSELECT edoc.document_number      ,decode(eol.result_code, 1000, 'Success', 'Failure') AS status      ,eol.result_textFROM   ecx_oxta_logmsg   eol      ,ecx_doclogs       edoc      ,ecx_outbound_logs eogWHERE  edoc.msgid = eol.sender_message_idAND    eog.out_msgid = edoc.msgidORDER  BY edoc.document_number

Question: You have done forms personalization, now how will you move it from one environment to another?Answer: Use FNDLOAD. For examples visit FNDLOAD Article

Question: What are the key benefits of forms personalization over custom.pll?Answer: -->Multiple users can develop forms personalization at any given point in time.-->It is fairly easy to enable and disable forms personalizations.-->A programmer is not required to do simple things such as hide/disable fields or buttons.-->Provides more visibility on customizations to the screen.

Question: Tell me some limitations of forms personalization when compared to CUSTOM.pll?Answer: -->Can't create record group queries, hence can’t implement LOV Query changes.-->Can't make things interactive, i.e. can’t have a message box that gives multiple choices for example Proceed or Stop etc.

Question: Give me one example where apps uses partitioning?Answer: WF_LOCAL_ROLES

Question: Give me one example of securing attributes in iProcurement.Answer: You can define Realm to bundle suppliers into a Category. Such realm can then be assigned to the User using Define User Screen. Security Attribute ICX_POR_REALM_ID can be used. By doing so, the user will only be made visible those Punchout suppliers that belong to the realm against their securing attributes.

Question: Can you send blob attachments via workflow notifications?Answer: Yes, you can send BLOB Attachments. For details on how to do this, refer to link for   BLOG atachments to notifications

41

Page 42: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Apps Questions -2

Oracle Apps Technical Interview Questions Sunday, 22 June 2008 15:17 Anil Passi

  E-mail |   Print   | PDF  

Which is the most commonly used package in apps that uses Autonomous

Transaction?

FND_LOG, this is used for debugging. This has a procedure named string, which does a

commit.

Hence your debug messages are not lost in the event of rollback during unhandled

exception.

 

 

What is one of the limitations of Forms Personalization?

You can not display interactive messages as you can using fnd_message

 

 

How to use  Flexfields in reports  ?

Ans : Most common way is to use FND user exits provided by oracle applications.

Other way is to directly use the DB views (TableName  || ‘_KFV’ or ’_DFV’) created by

apps, and use the concatenated_segments column which holds the concatenated segments

of the key or descriptive flexfields.

42

Page 43: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

 

 

 

What are Autonomous transactions ? Give a scenario where you have used

Autonomous transaction in your reports ?

Ans: An autonomous transaction is an independent transaction started by another

transaction, the main transaction. Autonomous transactions let you suspend the main

transaction, do SQL operations, commit or roll back those operations, then resume the

main transaction.

Once started, an autonomous transaction is fully independent. It shares no locks,

resources, or commit-dependencies with the main transaction. So, you can log events,

increment retry counters, and so on, even if the main transaction rolls back.

 

More important, autonomous transactions help you build modular, reusable software

components. For example, stored procedures can start and finish autonomous transactions

on their own. A calling application need not know about a procedure's autonomous

operations, and the procedure need not know about the application's transaction context.

That makes autonomous transactions less error-prone than regular transactions and easier

to use.

 

Furthermore, autonomous transactions have all the functionality of regular transactions.

They allow parallel queries, distributed processing, and all the transaction control

statements including SET TRANSACTION.

 

43

Page 44: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Scenario : You can use autonomous transaction in your report for writing error messages

in your database tables.

 

 

 

What is record group ?

Ans: Record group are used with LOVs to hold sql query for your list of values. The

record group can contain static data as well it can access data from database tables thru

sql queries.

 

 

What is a FlexField ? What are Descriptive and Key Flexfields ?

Ans: An Oracle Applications field made up of segments. Each segment has an assigned

name and a set of valid values. Oracle Applications uses flexfields to capture information

about your organization.

 

 

 

What are different report triggers and what is their firing sequence ?

Ans. : There are five report trigger :

<!--[if !supportLists]-->         <!--[endif]-->Before Report

44

Page 45: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

<!--[if !supportLists]-->         <!--[endif]-->After Report

<!--[if !supportLists]-->         <!--[endif]-->Before Parameter Form    

<!--[if !supportLists]-->         <!--[endif]-->After Parameter Form

<!--[if !supportLists]-->         <!--[endif]-->Between Pages

 

The Firing sequence for report triggers is

        Before Parameter Form – After Parameter Form – Before Report – Between

Pages – After Report.

 

 

 

What is the use of cursors in PL/SQL ? What is REF Cursor ?

Ans. : The cursor are used to handle multiple row query in PL/SQL. Oracle uses implicit

cursors to handle all it’s queries. Oracle uses unnamed memory spaces to store data used

in implicit cursors, with REF cursors you can define a cursor variable which will point to

that memory space and can be used like pointers in our 3GLs.

 

 

How to attach reports in Oracle Applications ?

Ans:  The steps are as follows :

<!--[if !supportLists]-->         <!--[endif]-->Design your report in D2K

45

Page 46: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

<!--[if !supportLists]-->         <!--[endif]-->Generate the executable file of the report

as .rdf.

<!--[if !supportLists]-->         <!--[endif]-->Move the executable as well as source file to

the appropriate product’s folder.

<!--[if !supportLists]-->         <!--[endif]-->Register the report as concurrent executable.

<!--[if !supportLists]-->         <!--[endif]-->Define the concurrent program for the

executable registered.

<!--[if !supportLists]-->         <!--[endif]-->Add the concurrent program to the request

group of the responsibility.

 

 

 

What is the use of triggers in Forms ?

Ans : Triggers are used in forms for event handling. You can write PL/SQL code in

triggers to respond to a particular event occurred in your forms like when user presses a

button or when he commits the form.

The different type of triggers available in forms are :

<!--[if !supportLists]-->         <!--[endif]-->Key-triggers

<!--[if !supportLists]-->         <!--[endif]-->Navigational-triggers

<!--[if !supportLists]-->         <!--[endif]-->Transaction-triggers

<!--[if !supportLists]-->         <!--[endif]-->Message-triggers

<!--[if !supportLists]-->         <!--[endif]-->Error-triggers

46

Page 47: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

<!--[if !supportLists]-->         <!--[endif]-->Query based-triggers

 

 

What is the use of Temp tables in Interface programs ?

Ans : Temporary tables are used in Interface programs to hold the intermediate data. The

data is loaded into temporary tables first and then, after validating through the PL/SQL

programs, the data is loaded into the interface tables.

 

 

What are the steps to register concurrent programs in Apps ?

Ans : The steps to register concurrent programs in apps are as follows :

<!--[if !supportLists]-->         <!--[endif]-->Register the program as concurrent

executable.

<!--[if !supportLists]-->         <!--[endif]-->Define the concurrent program for the

executable registered.

<!--[if !supportLists]-->         <!--[endif]-->Add the concurrent program to the request

group of the responsibility

 

 

How to pass parameters to a report ? do you have to register them with AOL ?

47

Page 48: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Ans: You can define parameters in the define concurrent program form. There is no need

to register the parameters with AOL. But you may have to register the value sets for those

parameters.

 

 

Do you have to register feeder programs of interface to AOL ?

Ans : Yes ! you have to register the feeder programs as concurrent programs to Apps.

 

 

What are forms customization steps ?

Ans:  The steps are as follows :

<!--[if !supportLists]-->         <!--[endif]-->Copy the template.fmb and Appstand.fmb

from AU_TOP/forms/us.Put it in custom directory. The libraries (FNDSQF,

APPCORE, APPDAYPK, GLOBE, CUSTOM, JE, JA, JL, VERT) are automatically

attached .

<!--[if !supportLists]-->         <!--[endif]-->Create or

open new Forms. Then customize.

<!--[if !supportLists]-->         <!--[endif]-->Save this Form in Corresponding Modules.

 

 

 

What is Key and Descriptive Flexfield.

48

Page 49: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Ans : Key Flexfield: #unique identifier, storing key information

                                      # Used for entering and displaying key information.

                   For example Oracle General uses a key Flexfield called Accounting

                   Flexfield to uniquely identifies a general account.

 

             Descriptive Flexfield: # To Capture additional information.

                                                   # to provide expansion space on your form

                                                       With the help of [] . [] Represents descriptive

                                                        Flexfield.

Difference between Key and Descriptive Flexfield?

Ans :

Key Flexfield Descriptive Flefield

1. Unique Identifier 1.To capture extra information

2. Key Flexfield are stored in segment 2.Stored in attributes

3.For key flexfield there are flexfield

Qualifier and segment Qualifier

3. Context-sensitive flexfield is a feature

 of DFF. (descriptive flexfield)

 

49

Page 50: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

 

 

What are the steps in Customer Interface ?

Ans:

 

How to handle errors in Customer interface ?

Ans:

 

What was your role in Customer Interface?

Ans:

 

What is the use of CUSTOM Library in Oracle Apps?

Ans:

 

Can you call APPCORE library in CUSTOM library ?

Ans : you cannot attach the APPCORE library to CUSTOM because it would cause a

recursion problem    

          (because CUSTOM is attached to APPCORE). As of Oracle Applications Release

11i, you may

           attach the APPCORE2 library to CUSTOM. The APPCORE2 library duplicates

most APPCORE  

50

Page 51: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

           routines with the following packages:

<!--[if !supportLists]-->         <!--[endif]-->APP_ITEM_PROPERTY2

<!--[if !supportLists]-->         <!--[endif]-->APP_DATE2

<!--[if !supportLists]-->         <!--[endif]-->APP_SPECIAL2

These packages contain the same routines as the corresponding

           APPCORE packages. Follow the documentation for the corresponding

           APPCORE routines, but add a 2 to the package names.

 

Can you use REF cursors in CUSTOM library?

Ans:

 

 

What is FlexField?

Ans: Oracle Application uses Flexfield to capture information about

             Your organization. Flexfield have flexible structure for storing key information.

              Like Company, Cost Center, and Account. They also give u highly adaptable

               Structure for storing customized information in oracle Applications.

 

 

How many Flexfields are there in AR and what are they ?

51

Page 52: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Ans:

 

 

 

What are User Exits and what are different types of User Exits in Oracle Apps ?

Ans:

 

 

What is MRC and what are it’s use?

Ans: The Multi Reporting Currency Feature allows you to report and maintain records at

the transaction level in more than one functional currency. You can do by defining one or

more set of books in addition to primary set of books.

 

 

How many reporting currencies can be attached to Primary Set Of Books ?

Ans:

 

What are the new features in Release 11I ?

Ans:

 

 

52

Page 53: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

What are ad-hoc reports ?

Ans: Ad-hoc Report is made to meet one-time reporting needs. Concerned with or

formed for a particular purpose. For example, ad hoc tax codes or an ad hoc database

query

 

 

What is FSG and what is it’s use ?

Ans:  FSG is a powerful and flexible tool you can use to build your own custom  reports

without programming. FSG is only available with GL.

 

 

What are different types of transactions in AR ?

Ans:

 

 

What are value sets ?

Ans:

 

What do you mean by HZ_ in customer tables ?

Ans:

 

53

Page 54: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

 

How can you handle multiple rows without using loops in PL/SQL ?

Ans:

 

 

What are the different types of files used in SQL Loader ?

Ans:

 

 

 

What are Interface table in AP, AR,GL ?

Ans: AP INTERFACE TABLE: 1). AP_INTERFACE_CONTROLS.

                                                        2). AP_INTERFACE_REJECTIONS

                                                         3). AP_INVOICE_INTERFACE

                                                          4). AP_INVOICE_LINES_INTERFACE.

AR INTERFACE TABLE:

                                                    1). AR_PAYMENTS_INTERFACE_ALL

                                                    2). AR_TAX_INTERFACE

                                                    3). HZ_PARTY_INTERFACE

                                                    4). HZ_PARTY_INTERFACE_ERRORS

54

Page 55: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

                                                    5). RA_CUSTOMERS_INTERFACE_ALL

                                                    6). RA_INTERFACE_DISTRIBUTIONS_ALL

                                                    7). RA_INTERFACE_ERRORS_ALL

                                                    8). RA_INTERFACE_LINES_ALL

                                                    9). RA_INTERFACE_SALESCREDITS_ALL

GLINTERFACE TABLE:

                                                  1). GL_BUDGET_INTERFACE

                                                  2). GL_DAILY_RATES_INTERFACE

                                                  3). GL_IEA_INTERFACE

                                                  4). GL_interface

                                                  5). GL_INTERFACE_CONTROL

                                                  6). GL_INTERFACE_HISTORY

 

 

What are different period types ?

Ans:

 

 

What are different types of Journal entries ?

55

Page 56: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

Ans:

 

 

What are the setup steps for testing ?

Ans:

 

 

What are User Exits ?

Ans:

 

 

What is an Invoice ? How many types of invoices are there in AP and AR ?

Ans:

 

 

 

What is recurring invoices ?

Ans:

 

 

56

Page 57: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

If the valueset if of type –TABLE then how many tables can we attach in the

valueset ?

 

Ans:

 

 

Can you add a descriptive FlexField to a table which already have data in it ?

Ans:

 

If any conflict occurs in FSG the who will override Column Set or Row Set ?

Ans:

 

 

How to take care of null values in SQL Loader ?

Ans:

 

 

 

What is Set of Books ? What are the four conditions when you change your SOBs?

Ans:

57

Page 58: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

 

 

What is Multiple Organization technical architecture?

Ans:

 

 

What can we find TEMPLATE.FMB file ?

Ans:

 

 

What are the libraries attached to TEMPLATE form ?

Ans:

 

 

What is the difference between cross-validation rules and security-rules?

Ans:

 

 

In how many ways can you enter a journal in GL?

Ans:

58

Page 59: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

 

 

What are the setup steps for AP, AR, GL?

Ans:

 

 

How to register tables and columns in AOL?

Ans:

 

 

What is the difference between discounts and adjustments?

Ans:

 

 

What are different types of invoices and what is a recurring invoice?

Ans:

 

What are cycles of GL, AP, and AR?

Ans:

 

59

Page 60: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

 

What are Summary Accounts and Rollup groups ?

Ans:

These questions were emaied to me by a job seeker.

1) How did you generate the PDF on the report builder?

2) How will you develop the report if my organization is having two operating units one

is in India and one is US. I want two operating units data in the report separately? How?

3) If I run the report with query like select * from emp? First which trigger will fire?

4) In which directory init.ora is stored.

5) I want to get a particular report periodically to my email account how?

6) Where you will execute your pl/sql code in reports i.e. in which trigger?

7) Performance point of view which is good? Decode or case?

8) How u reduce the time execution of query?

9) How do you track a Request Set? If an error occurs in the first program in a Request

Set, I need to control the execution of other programs in the Request Set, How do you

achieve this

11) How can I join if I have one set of books and 5 operating units?

12) How will you debug your reports?

13) Suppose I have written one report no data is found. How will you tell the user that no

data found. After the end of report means last page user should be able to see the message

end of report

14) Can we set Index for primary key? If so what is the name of the Index?

15) How to find how many ‘a’ are there in the specified string ‘aasfdhhjkgjaaaa’?

16) Can we pass Pl/sql table as a parameter to another procedure or not if so how to pass?

17) Can you use placeholder column with out using formula column?

18) How do you stop inserting records after 50 records are inserted from flat file through

sql*loader

60

Page 61: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

19) Why an application is needed in creation of responsibility at 3 places, After

Responsibility Name, After Data Group, After Request Group?

20) I need one gap for every 3 rows in a report. How?

21) Is v$parameter updatable?

22) Develop a report to change color for maximum and minimum salaries, what is the

logic?

23) Try to find positive salary on one column and negative salary on one column

24) Try to find total members belong to each department and find all the total members

25) Can I have a report with out data model query?

26) I need to return two values from a function. How?

27) How u reduce the time execution of query?

28) I developed a master child report using link option. One report I have developed

using joins in single query and I separated by dragging the master group. Now the

question which performs better. Why?

29) When you query Multi-Org tables in SQL*Plus or any tool (like TOAD), we get zero

rows, though actually those tables got data? What is the reason? What do you do then?

30) What is auto reduction?

31) Can we define cursor inside package if so how to call cursors inside the package?

32) When you will go for XML reports and when you will go for Discoverer reports.

33) How will you get the legacy system from your client?

34) Once we transfer the Invoice Data from AP to GL in which column we can find that

We have transferred or not?

35) What are hidden values?

36) Can you generate the numbers in triggers?

37) How to print your client name in the report?

38) Suppose we have created one table value set and in that we are getting duplicate

rows. How can we avoid the duplicate rows from table value set?

39) How many ways are there to receive the flat file from the client?

40) Instead of flat file, we will receive other one from client .what is that?

41) We use standard program to move values from interface table to base tables.Instead

of the using the standard program, I want to use API .what is that API?

61

Page 62: Oracle Apps Technical Questions Collection

Sanjay Challagundla ………….. [email protected]

42) Instead of using the staging table can we use the global temporary table?

43) In between the MD50 and MD70 we receive one issue. What is that?

48) Suppose I have given a functional spec, What are the steps we do from receiving

functional spec (md50) to delivery process?

44) If supplier will send bid quotation? Is it possible to create standard PO?

45) Suppose I have 100 records are there? 50 records went to interface table and 50

records are errored out?Now what we have to do? Either correcting/deleting/updatable? if

u are correcting means how to correct it?

46) What is the difference between supplier and vendor?

47) In which table the damaged good information is stored?

50) How will you register the concurrent program through UNIX?

51) While customizing how will you work with bit maps. What will you do before

customizing and before ftp the file to the local directory?

62