Oracle Apps Interview Questions and Answers
Oracle Apps Interview Questions and Answers
6.What are the Folders we will find below the 11.5.0 Folder?
Reports,forms,sql,lib,log,out,bin,admin,html,xml,msg,def, etc
7. Can we create Tables in the Apps Schema? No.
8.Can we have custom schema when it it required?
yes, we can have custom schema, when we want to create a new table we required
custom schema.
16.What is Token?
a) Use to transfer values to report builder and it is not case sensitive.
17.Difference between FORM, Function and Menu?
a) A menu is a hierarchical arrangement of functions and menus. Each
responsibility has a menu assigned to it. A function is a part of an application that is
registered under a unique name for the purpose of assigning it to be including it
from a menu.
18.Tell me something 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
insert Into table emp 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 .
19. What is SET-OF-BOOKS?
Collection of Chart of Accounts and Currency and Calendars is called SOB
20. 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 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.
21.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
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
22. What is Value Set?
The value set is a collection (or) container of values.Whenever 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.
12)What are 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.
pl/sql statements.
27. 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 againstthem.
28. 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.
29. What is Formula Column?
A formula column performs a user-defined computation on another column(s) data,
including placeholder columns.
30.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.
31.What is TCA (Trading Community Architecture)?
Ans. Oracle Trading Community Architecture (TCA) is a data model that allows you
to manage complex information about the parties, or customers, who belong to your
commercial community, including organizations, locations, and the network of
hierarchical relationships among them. This information is maintained in the TCA
Registry, which is the single source of trading community information for Oracle EBusiness Suite applications.
32.Difference between Application Developer and System Administrator?
Role of Technical Consultant:
a. Designing New Forms, Programs and Reports
Index-by tables, also known as associative arrays, let you look up elements using
arbitrary numbers and strings for subscript values.
(They are similar to hash tables in other programming languages.)
Nested tables hold an arbitrary number of elements. They use sequential
numbers as subscripts. You can define equivalent SQL types, allowing nested tables
to be stored in database tables and manipulated through SQL.
Varrays (short for variable-size arrays) hold a fixed number of elements (although
you can change the number of elements at runtime).
They use sequential numbers as subscripts. You can define equivalent SQL types,
allowing varrays to be stored in database tables.
They can be stored and retrieved through SQL, but with less flexibility than nested
tables.
INBOUND INTERFACES
INVOICE INBOUND INTERFACE
Interface Tables:
AP_INVOICES_INTERFACE
AP_INVOICE_LINES_INTERFACE
AP_INTERFACE_REJECTIONS (Error Table)
Base Tables:
AP_INVOICES_ALL
AP_INVOICE_LINES_ALL (in R12)
AP_INVOICE_DISTRIBUTIONS_ALL
Concurrent Program: Payables Open Interface Import
SUPPLIER INBOUND INTERFACE
Interface tables:
AP_SUPPLIERS_INT
AP_SUPPLIER_SITES_INT
AP_SUP_SITE_CONTACT_INT
AP_SUPPLIER_INT_REJECTIONS (Error table for Supplier, Site and Contact inbound
based on parent_table column)
Base Tables:
PO_VENDORS
PO_VENDOR_SITES_ALL
PO_VENDOR_CONTACTS
Concurrent programs:
Supplier Open Interface Import
Supplier Sites Open Interface Import
Supplier Site Contacts Open Interface Import
Request Set: Supplier Open Interface Request Set (Contain all 3 above mentioned
concurrent programs)
ITEM INBOUND INTERFACE
Interface Tables:
MTL_SYSTEM_ITEMS_INTERFACE
MTL_ITEM_REVISIONS_INTERFACE
MTL_ITEM_CATEGORIES_INTERFACE
MTL_INTERFACE_ERRORS (Error Table)
Base Tables:
MTL_SYSTEM_ITEMS_B
MTL_ITEM_REVISIONS_B
MTL_CATEGORIES_B
MTL_CATEGORY_SETS_B
Concurrent program: Import Items
RECEIPT INBOUND INTERFACE
Interface Tables:
RCV_TRANSACTIONS_INTERFACE
RCV_HEADERS_INTERFACE
PO_INTERFACE_ERRORS (Error Table)
Base Tables:
RCV_SHIPMENT_HEADERS
RCV_SHIPMENT_LINES
RCV_TRANSACTIONS
Concurrent Program: Receiving Transaction Processor
PURCHASE ORDER INBOUND INTERFACE
Interface Tables:
PO_HEADERS_INTERFACE
PO_LINES_INTERFACE
PO_DISTRIBUTIONS_INTERFACE
PO_LINE_LOCATIONS_INTERFACE
PO_INTERFACE_ERRORS where interface_type = PO_DOCS_OPEN_INTERFACE (Error
Table)
Base Tables:
PO_HEADERS_ALL
PO_LINES_ALL
PO_DISTRIBUTIONS_ALL
PO_LINE_LOCATIONS_ALL
Concurrent Program:
Import Standard Purchase Orders (To import Standard Purchase Orders)
Import Price Catalogs(To import Catalog Quotations, Standard Quotations, and
Blanket Purchase Agreements)
REQUISITION INBOUND INTERFACE
Interface Tables:
PO_REQUISITIONS_INTERFACE_ALL
PO_REQ_DIST_INTERFACE_ALL
PO_INTERFACE_ERRORS where interface_type =REQIMPORT (Error Table)
Base Tables:
PO_REQUISITIONS_HEADERS_ALL
PO_REQUISITION_LINES_ALL
PO_REQ_DISTRIBUTIONS_ALL
Concurrent Program: Requisition Import
1) What is SET-OF-BOOKS OR Ledgers?
Collection of Chat of Accounts and Currency and Calendars, Convention is called
SOB
2) How can u call a standard interface program from sql or pl/sql code
FND_REQUEST.SUBMIT_REQUEST (PO,EXECUTABLE NAME,,,,PARAMETERS)
3) APIs FOR CUSTOMER INTERFACE
HZ_CUST_A/C_VZPUB.UPDATE_CUST_A/C
HZ_CUST_A/C_VZPUB.CREATE_CUST_A/C
7) What is template
a) The TEMPLATE form is the required starting point for all development of new
Forms.
b) The TEMPLATE form includes platformindependent 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)
8) 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
9) What is responsibility
Responsibility: it 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 admin
10) 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.
A) FND - ID - FLEXS
B) FND-ID-FLEX-STRUCTURES 5
FND_PROGRAM.EXECUTABLE
FND_PROGRAM.REGISTER
FND_PROGRAM.PARAMETER
FND_PROGRAM.ADD_TO_GROUP
FND_REQUEST.SUBMIT_REQUEST
FND_PROFILE.VALUE
FND_PROFILE.GET
FND_ORG
FND_STANDARD
FND_UTILITIES.OPEN_URL
FND_UTILITIES. PARAM_EXISTS
. EXECUTABLE
. REGISTER
. PARAMETER
. IN COMPATIBILITY
. EXECUTABLE_EXISTS
5. FND_REQUEST . SET-OPTIONS
.SET_REPEAT_OPTIONS
.SET_PRINT_OPTIONS
.SUBMIT_REQUEST
.SET_MODE
6. FND_REQUEST_INFO . GET_PARAM_NUMBER
. GET_PARAM_INFO
. GET_PROGRAM
. GET_PARAMETER
7. FND_SET . MESSAGE
.ADD_PROGRAM
.ADD_STAGE
.IN COMPATIBILITY
8. FND_SUBMIT . SET_MODE
.SET_REQUEST_STATUS
.SUBMIT_PROGRAM 9
.SUBMIT_SET
FND_PROGRAM.EXECUTABLE
- is used to define a concurent program executable
- it takes 8 parameters ( all are IN mode )
syntax procedure FND_PROGRAM.EXECUTABLE
(executable IN varchar2,
(Full name)
description IN varchar2 default null
execution_method IN varchar2,
execution_file_name IN varchar2 default null,
icon_name IN varchar2 default null,
language_code IN varchar2 default (VS)
FND_PROGRAM.REGISTER
- this procedure no used to define a concument program.
- It has 30 IN paranmeters. Out of which 9 are mandatory, the remaining are
default.
(program IN varchar2,
application IN varchar2,
enabled IN varchar2,
short_name IN varchar2,
description IN varchar2, default null, 10
executable_application IN varchar2,
mls_function_shelt_name IN varchar2,
mls_function_application IN varchar2,
inerementor IN varhcar2);
3. FND_FILE.NEW_LINE
- this procedure is used to write line terminators to a file
procedure FND_FILE.NEW_LINE (which IN number LINES IN NATURAL:=1);
Ex:- to write two newline characters to a log file
Fnd_file.new_line (fnd_file.log,2);
4. FND_FILE.PUT_NAMES
- this procedure as used to set the temporary log file and output filenames and the
temporary directory to the user specified values.
- This should be called before calling my other FND_FILE procedure and only once
per a session.
26)Function FND_REQUEST.SUBMIT_REQUEST
( application in varchar2 default null,
program in varchar2 default null,
description in varchar2 default null,
start-time in varchar2 default null,
sub_request in bookan default False,
argument1,
arguemnt2,
argument 100) return number;
If this is submitted from oracle forms, all the arguments ( 1 to 100 ) must be
specified. 12
- From the operating system the utility .CONCSUB is used to submit is concurrent
propgram.
- This is basically used to test a concurrent program .
- By using the WAIT token. The utility checks the request status every 60 seconds
and returns the OS prompt upon completion of the request.
- Concurrent manager doesnot abort, shutdown or start up until the concurrent
request completes.
If the concurrent program is compatible with it self, it can be checked for data
integrity and dead locks by submitting it many times so that it runs concurrently
with it self.
PL/SQL procedures can submit a request to run a program as a concurrent process
by calling.
FND_REQUEST. SUBMIT_REQUEST.
Before submitting a request, the following functions also should be called
optionally.
FND_REQUEST.SET_OPTIONS
FND_REQUEST.SET_REPEAT_OPTIONS
FND_REQUEST.SET_PRINT_OPTIONS
FND_REQUEST.SET_MODE
29. What is the reason for not getting any data when a multi org view is quired
- to get the data correctly, the xxx-ALL must be referenced and the ORG_ID value
should be specified to extract portioned data.
- Multiorg views are partitioned by using ORG_ID.
- So access through multiorg views will not return any roes, as the CLIENT_INFO
Value is not set
- Use HR_OPERATING UNITS to identify the organization _id of the OU on which
query is based.
- Use FND_CLIENT_INFO package to set the value in CLIENT INPO using
set_org_contest.
- Execute fnd_client_info. Set_org_context (<org_id>);
- Now qurying of multiorg views can be done. 15
40)FND_PROGRAM Package
FND_PROGRAM.Executable:Procedure FND_PROGRAM. Executable IS 23
(executable in Varchar2,
application in varchar2, (full name)
short_name in varchar2, (executable short name)
description in varchar2 default NULL,
execution_method in varchar2,
execution_file_name in varchar2 default null,
Subrowline_name in varchar2 default null, (only for spawned immediate)
Icon_name in varchar2 default null,
Language_code in varchar2 default US,
Execution_file_path in varchar2 default null);
For Java Concurrent Program.
FND. PROGRAM. REGISTER:Procedure FND_PROGRAM.Register IS
(Program in varchar2,
application in varchar2,
enabled in varchar2,
short_name in varchar2,
description in varchar2, default null,
executable_short_name in varchar2,
executable_application in varchar2,
execution_options in varchar2, default null,
priority in number default null,
save_output in varchar2 default Y, 24
print in varchar2 dafault Y,
cols in varchar2 default null,
rows in varchar2, default null,
style in varchar2, default null,
style_required in varchar2, default N,
printer in varchar2, default null,
Requets_Type in varchar2, default null,
Request_type_Application in varchar2 default null,
Use_in_Srs in varchar2, default N,
Allow_disabled_valuer in varchar2 default N,
Run_alone in varchar2 default N,
Output_type in varchar2 default TEXT,
Enable_trace in varchar2 default N,
Restart in varchar2 default Y,
nls_complaint in varchar2 default Y,
icon_name in varchar2 default null,
language_code in varchar2, default US,
44. What is the relation between Responsibility, Menu and Request Group
Responsibility: - A responsibility is a set of authority in Oracle Apps that lets users
access only that functionality of the application appropriate to their roles.
Menu: - A menu is a hierarchical arrangement of functions and menus of functions
that appears in the Navigator. Each responsibility has a menu assigned to it.
Request Group: - it is a collection of reports or concurrent programs. A system
Administrator defines report groups in order to control user access to reports and
concurrent programs. Only a system administrator can create a request group.
47. Explain briefly where are the Custom.pll, Forms, Reports, Sql Loader Control
files, Shell Script source
code and executables files kept
Custom.pll - $AU_TOP/resource
Forms - $PROD_TOP/Forms/US
Reports - $PROD_TOP/Reports/US
49. What are profile options; at what levels can these be set
A user profile is a set of changeable options that affects the way the applications
run. Oracle
Applications object Library establishes a value for each option in a users profile
when the
User logs on or changes responsibility.
System Profile: - Profile option can be set for the user community.
User Profile: - Provide Oracle Apps with standard information which describes a user,
Application, Responsibility and site. At each profile level user profile options can be
set.
50. How can you know the form (fmb) name when you open a form in Apps
Help
51. Where do you create a table and sequence in Apps Is it APPS schema
In custom schema and then grant privileges on it to APPS schema.
53. How can you tell who last updated a particular row in a form
54. You have logged onto a Responsibility, how do you know what operating unit are
you on
Rename it as appropriate.
58. Explain Value Set Difference between a Table Validated and Independent Value
Set
A set of values against which Oracle Application Object Library validates values your
end
users enter when running your program. You define your value set by specifying
validation 28
rules, format constraints and other properties. For example, you could define a
value set to
contain values that are character strings, validated from a table in your application.
You can
Specify that oracle application Object Library use the same value set to validate
different
Report parameters. You can also use value sets that you use in your flex fields to
validate
Your report parameters.
59. How do you create a table validated value set dependent on another value set
Use :$FLEX$.<Value set name> in the where condition.
60. What is difference between a concurrent request and a concurrent request set
Concurrenct Request means containing only one concurrent program,Concurrent
request set containing list of concurrenct programs(group of programs)
61. What are the two mandatory parameters required for running a PL/SQL
Procedure based concurrent program
Errbuf, Retcode
62. How can you ensure that only one instance of a concurrent program runs
Check the "Run Alone" check box in Concurrent program registration window.
63. Within a PL/SQL procedure which API is to be used to extract a profile value
FND_PROFILE.GET
65. Can you submit a concurrent request from the operating system directly
Write a Shellscript.
Login to database
Run the function FND_REQUEST.Submit()
66. Explain how to generate a trace file for a pl/sql concurrent program for tuning
Check theEnable Trace check box in concurrent program registration window.
67. How do you write to the concurrent request Log and Output file
FND_FILE.PUT(FND_FILE.LOG or FND_FILE.OUTPUT, <Text>);
68. What is the difference between Operating Unit and Inventory Organization
Operating Unit :- An Organization that uses Oracle Cash management, Order
management and Shipping Execution, Oracle Payables, Oracle Purchasing, and
Oracle Receivables. It may be a sales Office, a division, or a dept. An operating unit
is associated with a legal entity. Information is secured by operating unit for these
applications. Each user sees information only for their operating unit. To run any of
these applications, you choose a responsibility associated with an organization
classified as an operating unit.
An organization for which you track inventory transactions and balances, and/or an
organization that manufactures or distributes products. Examples, include (but are
not limited to) manufacturing plants, warehouses, distribution centers, and sales
offices. The following applications secure information by inventory organization:
Oracle inventory, Bills of Material, Engineering, and Work in Process, Master
Scheduling/MRP, Capacity, and Purchasing receiving functions. To run any of these
applications, you must choose an organization that has been classified as an
inventory organization.
71. Mention the table or views where Inventory Org, Items, Set of Books, GL Code
Combinations,
Operating Unit, Location, Customers, Vendors, and Invoices are stored in Apps.
Inventory Org: - MTL_PARAMETERS/ORG_ORGANIZATION_DEFINITIONS
Items: - MTL_SYSTEM_ITEMS_B
Set of Books: - GL_SETS_OF_BOOKS
GL Code Combinations: - GL_CODE_COMBINATIONS
Operating Unit: - HR_ALL_OPERATING_UNITS
Location: - MTL_ITEM_LOCATIONS
Customers: - RA_CUSTOMERS
Vendors: - AP_SUPPLIER_CONTACTS_ALL
Invoices: - AP_INVOICES_ALL
72. What is the profile to be read to find out what Inventory Organization and
Operating Unit are you on
(mfg_organization_id is the Inventory Org)
And one more differenct that KFF displays like text item but DFF displays like [ ] .
76)Which procedure should be used to make the DFF read only at run time
FND_DESCR_FLEX.UPDATE_DEFINITION()
have the correct permissions. Note that all concurrent requests produce a log file,
but not necessarily an output file.
80)How do I find out what the currently installed release of Applications is /How do I
find the name of a form
We can also find out through Help > About Oracle Applications
84)What is the name of the API parameter when they are True,False and NULL
Ans. apps.fnd_api.g_true, apps.fnd_api.g_false and apps.fnd_api.g_miss_char
respectively.
85)What are the different steps in sending a mail from PL/SQL
--INTO
--v_user_id
--, v_responsibility_name
--, v_responsibility_id
FROM applsys.fnd_user_resp_groups f6
, apps.fnd_user f5
, apps.fnd_profile_options f1
, apps.fnd_profile_option_values f2
, apps.fnd_responsibility f3
, apps.fnd_responsibility_tl f4
WHERE SYSDATE BETWEEN f6.start_date AND NVL(f6.end_date,SYSDATE)
AND f5.user_id = f6.user_id
AND UPPER(f5.user_name) like '%GLOBALPARTS%'
AND f6.responsibility_id = f4.responsibility_id
AND f2.profile_option_value = TO_CHAR(13) -- Putting the ORG ID Value
AND f2.profile_option_id = f1.profile_option_id
AND f1.profile_option_name = 'ORG_ID'
AND f3.application_id = 201
AND f2.level_value = f3.responsibility_id
AND f3.responsibility_id = f4.responsibility_id
AND UPPER(f4.responsibility_name) LIKE UPPER('GEMS%PO%MANAGER%') 36
AND ROWNUM = 1;
91) What resources are provided for developing applications which will be
integrated into Oracle Applications Release 11
a. The Oracle Applications Developer's Guide Release 11 and the Oracle
Applications User Interface Standards Release 11.
b. The AU_TOP/forms/US/TEMPLATE.fmb for developing a new form.
c. The AU_TOP/forms/US/APPSTAND.fmb contains standard property classes
for your runtime platform.
d. The AU_TOP/resource/FNDSQF.pll contains routines for Flexfields,
Function Security, User Profiles, Message Dictionary.
e. The AU_TOP/resource/APPCORE.pll contains standard User Interface routines.
f. The AU_TOP/resource/APPDAYPK.pll contains the Calendar Widget routines.
g. The AU_TOP/resource/CUSTOM.pll for adding custom code which affects Oracle
Applications forms without changing Oracle Applications code.
h. The AU_TOP/resource/GLOBE.pll allows Oracle Applications developers to
incorporate global or regional features into Oracle Applications forms
without modifying the base Oracle Applications forms. Globe calls routines
92. What are the supported versions of Forms and Reports used for developing
on Oracle Applications Release
Answer-----a. The following supported versions are provided in Developer/2000
Release 1.6.1:
i. Forms 4.5
ii. Reports 2.5
94. How do I open, compile and/or generate a custom Oracle Applications form on
my desktop
Answer
UNIX: /u01/oracle/apps/vd11/xxcus/11.0.28
Windows NT: D:\oa\appltst\vd11\xxcus\11.0.28
d. Login to Oracle Applications using the System Administrator or Application
Developer Responsibility.
e. Navigate: Application -> Register and add your new CUSTOM_TOP to Oracle
Applications.
Application Short Name Basepath Description
------------------------------------------------------------------------------Custom Application XXCUS XXCUS_TOP Custom Application
f. Shutdown and restart your Internal Concurrent Manager (ICM) so that the
concurrent manager will recognize the change to the environment that was
made to the APPLSYS.env and Registry.
96. How to get the data from the views in Multi_ORG views
A. Using the profiles and client info package.
Eg:
SELECT FROM po_headers this is multi org view
If we cant get the data with the above query then we have to write a procedure as
shown below.
DECLARE
x NUMBER:=0; 39
BEGIN
x:=fnd_profile.value('org_id');
fnd_client_info.set_org_context (204);
END;
Compile and run the query once again.
Ans:
a) Business Unit / Group : It represents the highest level in Organization structure
and has no accounting impact. It determines which employees will be available to
Set Of Books and Operating Units.
Ex: Consolidated Enterprise / a major division / an operating company.
b) Set Of Books: It is a financial reporting entity that uses a particular
Chart of accounts,
Functional currency and
Accounting calendar.
It is the highest level with accounting significance. Document Sequencing
(important in Europe) is at the Set of Books level. Also Period open/close is at the
Set of Books level.
A Set of Books is associated with only one Business Group. A Business Group may
be assigned several Sets of Books i.e Multiple sets of books can share the same
business group if they share the same business group attributes.
Base Table: apps.gl_sets_of_books
c) Legal Entity: A legal company for which you prepare fiscal or tax reports.
Each Legal Entity is associated with only one Set of Books. A Set of Books may have
multiple Legal Entities.
Base Table: apps.hr_legal_entities
d) Operating Unit: An organization that uses oracle order management, cash
management, shipping execution, payables, purchasing and receivables.
It may be a sales office, a division, or a department. Standard reports are at the
Operating Unit level.
An operating unit is associated with a legal entity.
Base Table: apps.hr_operating_units
e) Inventory Organization : An organization for which you track inventory
110)What is MultiOrg 42
Ans: It is data security functionality in Oracle 10.6 and above. Applicable User
responsibilities are created and attached to specific Operating Unit. User can access
the data that belongs to the Operating unit they login under.
The benefit is it enables multiple operating units to use a single installation of
various modules, while keeping transaction data separate and secure by operating
unit.
It has an effect on the following modules:
Order Entry
Receivable
Payable
Purchasing
Project Accounting
113) what are the setup we need to do before running into Oracle Apps.
Ans: Go to Oracle Apps > System Administraror (Responsibility) > Create a User
using SSO > Add responsibility
Switch to COE Dev Sys Administrator (Responsibility) > Add the Responsibility that
is attached to the newly created User > menue > exclude / include the function
according to the requirement
116) What is the basic requirement that we need to set before starting a form in
Oracle Apps
Ans:
a) FTP the templet.fmb From $au_top/bin To Local m/c
b) Rename the templet.fmb as User defined name
c) Trigger Level Change: Pre_Form : app_window.set_window_position('BLK_ORG',
'FIRST_WINDOW'); -- 1st Window Name
set_window_property('BLK_ORG',title,'Form name') -- 1st Window Name, caption
Block Level Change: Rename Default_block
Form Level Change: Property Panel > Navigation > First Navigation Data Block >
(Set A Block Name)
Program Unit Level: App_custom > (set the 1st window name)
118) What is the API we use to see the message from log file
Ans:
When we use an API, it automatically stores the error message in a pl/sql table i.e
creating a log of the errors.
We can see those error messages thougt fnd_message_pub API
123) Why do we call FND FLEXSQL from the Before Report Trigger
A. One need to pass the concatenated segment values from the underlying code
combinations table to the user exit so that it can display appropriate data and
derive any description and values from switched value sets as needed. One gets
this information by calling the AOL user exit FND FLEXSQL from the before report
Trigger. 44
124. If u call the user exit FND FLEXSQL with MODE = WHERE from the Before
Report Trigger. What will it do
A. This user exit populates a lexical parameter that you specify with the appropriate
SQL fragment at run time. You include this lexical parameter in the WHERE clause of
the report query. This user exit is called once for each lexical to be changed.
125. If u call the user exit FND FLEXSQL with MODE = ORDER BY from the Before
Report Trigger. What will it do
A. This user Exit populates the lexical parameter that one specifies with the
appropriate SQL fragment at run time. One includes this lexical parameter in the
ORDER BY clause of the report query. This user exit is called once for each lexical to
be changed.
126. How can we display flexfield segment values, descriptions, and prompts on the
report
A. Create a formula Column. Call the user exit FND FLEXIDVAL as the formula for this
column. This user exit automatically fetches more complicated information such as
descriptions and prompts so that one does not has to use complicated table joins to
the flex field tables.
129. Describe the APP_SHORT_NAME option of the FND FLEXSQL user exit
A. Specifies the short name of the application that owns the flex field (for example:
SQLGL, INV)
130. Describe the OUTPUT option of the FND FLEXSQL user exit
A. Specify the name of the lexical parameter to store the SQl fragment. One uses
this lexical later in the report when defining the SQL statement that selects the
flexfield values. the datatype of this parameter should be character.
131. Describe the MODE option of the FND FLEXSQL user exit
A. Specify the mode to use to generate the SQL fragment . valid mode are :
SELECT: Retrieves all segments values in an internal (non- displayable format).
WHERE: Restrict the query by specifying constraints on flexfield columns. The
fragment returned includes the correct decode statement if one specifies
MULTINUM. One must also specify an OPERATOR and OPERANDS.
HAVING: Same calling procedures and functionality as WHERE.
ORDER BY: Order required information by flexfield columns. The fragment Orders
your flexfield columns and separates them with a comma. The fragment returned
includes the correct decode statement, one specifies in MULTINUM.
132. Describe the DISPLAY option of the FND FLEXSQL user exit
A. One uses the DISPLAY token with the MODE token . the DISPLAY parameter allows
you to specify segments that represent specified flexfield qualifiers or specified
segments numbers , 45
where the segment numbers are the order in that the segments appear in the
flexfield window, not the segment number specified in the Define Key Segments
form.
Eg. If your MODE is SELECT and you specify DISPLAY = ALL then the SELECT
statement includes all the segments of the flexfield. . Similarly, if your MODE is
WHERE and you specify DISPLAY = ALL, then your WHERE clause includes all
segments.
133. Describe the SHOWDEPSEG option of the FND FLEXSQL user exit
A. SHOWDEPSEG = N disables automatic addition of depended upon segments to
the order criteria. The default is Y. This token is valid only for MODE = ODER BY
In FLEXSQL.
134. Describe the NUM option of the FND FLEXSQL user exit
A. Specify the name or lexical or source column that contains the flexfield structure
information. If the flexfield uses just one structure, specify NUM only and use a
lexical parameter to hold the value. If the flexfield uses multiple structures, specify
MULTINUM only and use a source column to hold the value. The default value is 101.
135. Describe the TABLE ALIAS option of the FND FLEXSQL user exit
A. You use TABLE ALIAS if your SELECT joins to other flexfield tables or uses a self
join.
136. Describe the OPERATOR option of the FND FLEXSQL user exit
A. Specify an operator to use in the WHERE clause.
137. Describe the OPERAND1 option of the FND FLEXSQL user exit
A. Specify an operand to use in the WHERE clause,
138. Describe the OPERAND2 option of the FND FLEXSQL user exit
A. Specify a second operand to use with OPERATOR = BETWEEN
140) Name the interface tables used for the customer interface
A. 1. RA_CUSTOMERS_INTERFACE_ALL
2. RA_CUSTOMER_BANKS_INT_ALL
3. RA_CUST_PAY_METHOD_INT_ALL
4. RA_CUSTOMER_PROFILES_INT_ALL
5. RA_CONTACT_PHONES_INT_ALL
144) List some of the production tables that Customer Interface transfers customer
data from the interface tables into
A. AR_CUSTOMER_PROFILES
AR_CUSTOMER_PROFILE_AMOUNTS
RA_ADDRESSES
RA_CONTACTS
RA_CUSTOMERS
RA_CUSTOMER_RELATIONSHIPS
RA_CUST_RECEIPT_METHODS
RA_PHONES
RA_SITE_USES
AP_BANK_ACCOUNT_USES
AP_BANK_ACCOUNTS
AP_BANK_BRANCHES
A a) Auto Invoice
b) Auto Lockbox
c) Customer Interface 47
d) Sales Tax rate Interface
A a) Budget Upload
b) Importing Journals
c) Loading Daily rates
150). What are the names of the parameters u pass to the Procedure which u
register in the apps
A. 1) retcode in varchar2
2) errbuf in varchar2
151). What is the use of Auto lock Box
A Auto Lockbox (or Lockbox) is a service that commercial banks offer corporate
customers to enable them to outsource their accounts receivable payment
processing.
A. a) Import
b) Validation
c) PostQuickCash
153). What is the order in which Autolock box searches for the types of the
matching number
A. 1. Transaction Number
2. Sales Order Number
3. Purchase Order Number
4. Consolidated Billing Invoice Number
5. Other, user-defined number.
154. What is application short name for General Ledger you specify in FND FLEXSQL
user exit
A. SQLGL
A Specifies module, storage & name information about the source object and source
module for a referenced objects.
157) What is the clause in SQL Loader to program to override data into table
A. REPLACE
159). What is the syntax for loading data through SQL Loader from multiple files
simultaneously
A MTL_SYSTEM_ITEMS, MTL_CATEGORIES
161). Tell me names of important production tables & their purpose AP, AR, GL, PO
To store invoices
AR: RA_SHIPMENT_HEADERS/ _LINES, RA_CUSTOMERS, RA_CONTACTS
PO: PO_VENDORS, PO_VENDOR_SITES - For storing vendor data.
162). Name the interface tables used for the LockBox Interface
163) Name the interface tables used for the Auto Invoice Interface.
A Auto Invoice transfers transaction data from the interface tables
RA_INTERFACE_LINES_ALL,
RA_INTERFACE_SALESCREDITS_ALL, and
RA_INTERFACE_DISTRIBUTIONS_ALL
into the following Receivables tables:
RA_BATCHES_ALL
RA_CUSTOMER_TRX _ALL
RA_CUSTOMER_TRX_LINES _ALL
RA_CUST_TRX_LINE_GL_DIST_ALL
RA_CUST_TRX_LINE_SALESREPS_ALL
AR_PAYMENT_SCHEDULES_ALL
AR_RECEIVABLE_APPLICATIONS_ALL 49
AR_ADJUSTMENTS_ALL
164). Different Type of Value Sets. What is exactly Translatable independent and
Translatable Dependent Value Sets (Introduced in latest version of 11i).
165) How to run a concurrent program. What all concurrent programs u have
created.
program. Add your program into the request security group for your custom
application.)
I have created reports through concurrent program, load(sql loader/pl-sql pkg-proc)
the file through concurrent program.
166) What is parameter in apps and from where u can create it.
Ans:- Parameters only using in report, you can create in defining the report in
apps (you can create the parameter there only).
167)What all are the tables used in the modules u have worked on.
In GL I have worked on GL_JE_HEADERS(JOURNALS
HEADER),GL_JE_LINES(JOURNAL LINES), GL_JE_BACHES(JOURNAL BATCHES),
GL_SET_OF_BOOK(SET_OF_BOOK_ID),
In PO- I have worked on PO_HEADER_ALL..
Ans:- A user profile is a set of changeable options that affects the way your
applications run. Oracle Application Object Library establishes a value
for each option in a users profile when the user logs on or changes 50
responsibility. Your user can change the value of profile options at any
time a) To create Profile Option. ( Profile Option can created by developer in
application developer area) b)set the value (Values of the profile option , who will
have what value at various levels is set by SYSADMIN). Oracle Application Object
Library provides many options that. (Edit profile feature for every user is available
to set any value to allow the user).your users can set to alter the user interface of
your applications to satisfy their individual preferences.
Profile Option set at run time like User Related, responsibility, Sequence, Printer,
Security.
Values in 4 Levels(HIEARCHY WISE) :A. USER
B. RESPONSIBILITY
C. APPLICATION
D. SITE
Application Developer create the profile.
System Administrator make profile option.
(NOTE:- If any change in value, it will active when you re-login or switch
to the responsibility.)
( Usage in the multi-tier, the profile is biggest impact)
170) What is Flexfield What is flexfield qualifier and what is segment qualifier
Ans:- A flexfield is made up a segments (Which are actually table columns). Each
segment has a name that can be assigned, and set of valid value.
Ans:- Use a single installation of any oracle applications product to support any
number of organizations. if those organizations use different set of books.
Support any number or legal entities with a single installation of oracle applications.
Secure access to data so that users can access only the information that is relevant
to them.
Structure :- Business Unit
-HRMS(Employee)
-GL(Set of Books)(Currency, Calendar, Chart of Account)
|
Balancing Segment(You can do multiple balancing segment)
-Operating Units (Purchase, Selling, Fixed Asset, Payable,
Receivables)
-Inventory Organizations (Storing Items, Transaction Happening,
Ware Housing)
(Note:- Means if you maintaining GL(set of book id), If u have operating unit, if you
under the application's top directory. For spawned programs, the file must be in the
bin directory, for Oracle Reports the rdf file must be in the srw directory. For PLSQL
concurrent programs, put the name of the stored procedure.
Step 2: Define the concurrent program Navigate to the Define Concurrent Program
form (AOL Reference manual pg 9-87) This form links a concurrent program to the
executable you just defined, as well as defines the programs parameters,
incompatibilities, and other options. Enter the concurrent program name,
application, short name and description. Check Standard Submission if you want to
be able to submit this program from the Standard Report Submission form. Enter
the name of the executable you defined and any report information if necessary.
Also define any parameters your program needs here and any incompatibilities.
Step 3: Add the concurrent program to a Report Group First you will need to find the
name of the Report Group to use. Go to Security->Responsibility and query the
responsibility you want to run the program with. It should show a Report Group
name. Query this name in Security->Responsibility->Report Add your new program
to the list of available programs. Now when you go to submit a request with this
responsibility, you will be able to submit your custom program
182)How will u register RDF file and run it Tell the Sequence
Steps a. Save the copy of ur reports in rdf file in ur local directory.
b. Transfer or copy the rdf file to cus_top under reports directory through ftp.
C. Then go concurrent program under executable menu where u define executable
file and program name
d. Then go to define the program name (which ur executable file name ) and check
the srs box and define the parameter and give the parameter name in token
e. Attach the program(request to ur responsibility )
d run the program and view the out put is srs through ur responsibility
What are different types of value sets
189) What are the different types of value sets and also explain each briefly
Different types of Value sets are,
1) Independent- This Value set contains list of values which does not depends on
any other value
2) Dependant- It contains values which depends on any one of the Independant
value
3) Pair- combines 2 flex field together to specify range of valid values
4) Special- Uses only 1 flex field structure to specify values
5) Table- This Value set contains list of values from 1 or more than 1 table columns
6) Translatable Dependant- Same as Dependant value set, only translated values
are present
7) Translatable Independant- Same as Independant value set, only translated values
are present
199)What is AOL
Oracle Applications are constructed and maintained using the Application Object
Library (AOL).
The Three main areas of AOL are
o Applications Security
o Operating Profile
o Concurrent Processing
1. What is the Flex field What are the types of Flex field
o Flex Field is Flexible Field
o A Flexfield is made up of Segments.
o Each segment has a name that can be assigned and has set of valid values.
o There are two types of Flex field Key Flex Field and Descriptive Flex Fields.
o P_NEXT_EXTENT
o P_PCT_FREE
o P_PCT_USED
PROCEDURE REGISTER_COLUMN
Arguments
P_APPL_SHORT_NAME
P_TAB_NAME
P_COL_NAME
P_COL_SEQ
P_COL_TYPE
P_COL_WIDTH
P_NULLABLE
P_TRANSLATE
P_PRECISION
P_SCALE
***********************************************************...................................***
********************************************************
224) What is parameter in apps and from where u can create it. Ans:- Parameters
only using in report, you can create in defining the report in
apps (you can create the parameter there only).
225)What all are the tables used in the modules u have worked on. In GL I have
worked on GL_JE_HEADERS(JOURNALS HEADER),GL_JE_LINES(JOURNAL LINES),
GL_JE_BACHES(JOURNAL BATCHES), GL_SET_OF_BOOK(SET_OF_BOOK_ID),
In PO- I have worked on PO_HEADER_ALL..
226)What is Profile Explain different levels of Profile. Ans:- A user profile is a set of
changeable options that affects the way your
applications run. Oracle Application Object Library establishes a value
for each option in a users profile when the user logs on or changes
responsibility. Your user can change the value of profile options at any
time a) To create Profile Option. ( Profile Option can created by developer in
application developer area) b)set the value (Values of the profile option , who will
have what value at various levels is set by SYSADMIN). Oracle Application Object
Library provides many options that. (Edit profile feature for every user is available
to set any value to allow the user).your users can set to alter the user interface of
your applications to satisfy their individual preferences. Profile Option set at run
time like User Related, responsibility, Sequence, Printer, Security.
61 Values in 4 Levels(HIEARCHY WISE) :- E. USER
F. RESPONSIBILITY
G. APPLICATION
H. SITE
Application Developer create the profile. System Administrator make profile option.
(NOTE:- If any change in value, it will active when you re-login or switch to the
responsibility.)
( Usage in the multi-tier, the profile is biggest impact)
227)How to restrict the data for a responsibility as per the ORG-ID Ans:-Through
Multi Org(MO) u can restrict the data for a responsibility as per the ORG-ID. Only in
GL- Set of book Id you set the value to restrict the data for a responsibility.
228) is Flexfield What is flexfield qualifier and what is segment qualifier Ans:- A
flexfield is made up a segments (Which are actually table columns). Each segment
has a name that can be assigned, and set of valid value.
Purpose and Application:Flexibility to implement code structure.
Flexibility to capture additional information.
229)Which flexfield qualifiers are mandatory Ans:- Balancing Segment flex field
qualifier is mandatory.
230)Difference Between versions of Apps.(Front end & Database) Ans:- In backendClient server architecture (old)/ Three tire architecture
In font end- Client Server Application (old)/ Web Based application
233)ORG_ID can be set at master levels or transaction level. Ans:- ORG_ID can be
set at transaction Level.
234)Differnet type of execution methods in Conc.Progs. Explain Each Type. Ans:a.Oracle Reports- You can register your report as executable file type is oracle
reports.
b. PL/SQL Package Procedure - You can register your PL/SQL Package Procedure as
executable file type is oracle PL/SQL Package Procedure.
1. SQL Loader- You can register your SQL Loader SQL Loader is your executable file
type.(for data loading)
2. SQL Plus :- You can register your SQL script as SQL Plus executable type.
3. Host Scripting:- You can write down Unix Host scripting and register here.
235)What is difference between oracle schema and apps schema. Ans:-Database
SchemaThe APPS schema- is an ORACLE schema that has access to the
complete Oracle Applications data model. This schema is maintained
by AutoInstall.
236) What are the objects APPS schema contain. Ans:- The APPS schema contains
synonyms to all tables and
sequences as well as all serverside code (stored procedures, views,
and database triggers).
For ERP applications, data partitioning is performed by database
views. These views reside in the APPS Oracle schema and derive the 63 appropriate
operating unit context from an RDBMS variable.
237)What are the names of the parameters u pass to the Procedure which u register
in the apps B. 1) retcode in varchar2
2) errbuf in varchar2
238) What is application short name for General Ledger you specify in FND FLEXSQL
user exit A. SQLGL
240) What is the syntax for loading data through SQL Loader from multiple files
simultaneously A. Sqlldr scott/tiger@orcl control = ctlfile
parfile -- parameter file: name of file that contains parameter specifications
243)Significance of ALL in apps tables. Tables which are related with Multiorg is
suffixed with ALL.
244)Explain about flexfield in GL.In what way it is useful A KFF is a set of segments,
each segment will identify a unique characterstic of an entity. it can be termed as
intelligent key. we can define our business requirements without doing any
programming.
A DFF is a set of segments which can be used to capture extra info. without any
customisation.
245)Execution methods
Ans. a. Host b. Immediate
c. Java Stored Procedure
d. Java Concurrent Program
e. Multi Language Function
f. Oracle Reports
64 g. PL/SQL Stored Procedure
h. Request Set Stage Function
i. Spawned
j. SQL Loader
k. SQL Plus
1. Installing of Application
2. Upgradation
3. Migration
4. Patches
5. Routing maintenance of QA
6. Cloning of OA
248)What are Flexfields
Ans. A Flexfield is a customizable field that opens in a window from a regular Oracle
Applications window. Defining flexfields enables you to tailor Oracle Applications to
your own business needs. By using flexfields, you can: (a) Structure certain
identifiers required by oracle applications according to your own business
environment.
(b) Collect and display additional information for your business as needed.
Key Flexfields: You use key flexfields to define your own structure for many of the
identifiers required by Oracle Applications. Profile Flexfields:Open Key Window
(FND_ID_FLEXS)
Descriptive Flexfield: You use descriptive flexfields to gather additional information
about your business entities beyong the information required by Oracle
Applications. Profile Flexfields: Open Descr Window (FND_DESCRIPTIVE_FLEXS)
249) Request Set and where do you define it
Ans. Request sets allow you to submit multiple requests together using multiple
execution path. A request set is a collection of reports and /or programs that are
grouped together. A stage is a component of a request set used to group requests
within the set. All of the requests in a given stage are executed in parallel.
Advantages of stages are the ability to execute several requests in parallel and then
move sequentially to the next stage.
Responsibility: System Administrator
Nav: Concurrent -> Set
249) Which flexfield qualifiers are mandatory
Ans:- Balancing Segment flexfield qualifier is mandatory.
bytes long. The first 10 bytes are used to store the operating unit ID(or ORG_ID) for
the multiple organization support feature.
Multi-Org views are partitioned by ORG_ID. The ORG_ID value is stored in
CLIENT_INFO variable.(It comes in AP,PO,AR,OM level)
ORGANIZATION_ID Its for Inventory, Mfg, & BOM.
15.Q.What are the default types of parameters. What is the use of each one of it.
Ans:175)ORG_ID can be set at master levels or transaction level.
Ans:- ORG_ID can be set at transaction Level.
176)Differnet type of execution methods in Conc.Progs. Explain Each Type.
Ans:- a.Oracle Reports- You can register your report as executable file type is oracle
reports.
b. PL/SQL Package Procedure - You can register your PL/SQL Package Procedure as
executable file type is oracle PL/SQL Package Procedure.
1. SQL Loader- You can register your SQL Loader SQL Loader is your executable file
type.(for data loading)
2. SQL Plus :- You can register your SQL script as SQL Plus executable type.
3. Host Scripting:- You can write down Unix Host scripting and register here.
177) What is difference between oracle schema and apps schema.
Ans:-Database SchemaThe APPS schema- is an ORACLE schema that has access to the
complete Oracle Applications data model. This schema is maintained
by Auto Install .
178)What are the objects APPS schema contain. 52
report the error (shows it as still running normal) apply patch 442824
182)How will u register RDF file and run it Tell the Sequence
Steps a. Save the copy of ur reports in rdf file in ur local directory.
b. Transfer or copy the rdf file to cus_top under reports directory through ftp.
C. Then go concurrent program under executable menu where u define executable
file and program name
d. Then go to define the program name (which ur executable file name ) and check
the srs box and define the parameter and give the parameter name in token
e. Attach the program(request to ur responsibility )
d run the program and view the out put is srs through ur responsibility
What are different types of value sets
183)What is translatable Independent & Dependent
The value set used to support the multilingual value set.
185))How do I submit a concurrent request from PL/SQL
ans : using fnd_request.submit_request .
begin
v_request_id := fnd_request.submit_request(applicationshortname,
concurrentprogramshortname,
description,
paramers)
end 54
commit;
if v_request_id > 0 then
dbms_output.put_line('Successfully submitted')
else
dbms_output.put_line('Not Submitted');
end;
note : to submit a conc program from UNIX/shell scrip we use CONSUB
186) How do I cancel a running concurrent request
Navigate to the Concurrent Request Summary form Select a request The Sysadmin
responsibility can cancel or hold any running request
187) What is the difference between organization id and org_id
Organization_id stores inventory organization id ( like 204 for M1)
Org_id stores the OU id corresponding to a operating unit .
188) What is the difference between conversion and interfaces
conversion means one time activity interface means periodic activity
example:- to transfer the data old version to new version it is called conversionto
transfer the data from staging table to interface table it is called interface , it is
process on every day or every hour ........
189) What are the different types of value sets and also explain each briefly
Different types of Value sets are,
1) Independent- This Value set contains list of values which does not depends on
any other value
2) Dependant- It contains values which depends on any one of the Independant
value
3) Pair- combines 2 flex field together to specify range of valid values
4) Special- Uses only 1 flex field structure to specify values
5) Table- This Value set contains list of values from 1 or more than 1 table columns
6) Translatable Dependant- Same as Dependant value set, only translated values
are present
7) Translatable Independant- Same as Independant value set, only translated values
are present
199)What is AOL
Oracle Applications are constructed and maintained using the Application Object
Library (AOL).
The Three main areas of AOL are
o Applications Security
o Operating Profile
o Concurrent Processing
1. What is the Flex field What are the types of Flex field
o Flex Field is Flexible Field
o A Flexfield is made up of Segments.
o Each segment has a name that can be assigned and has set of valid values.
o There are two types of Flex field Key Flex Field and Descriptive Flex Fields.
56
1. What are the tables related to flex field
o FND_FLEX_VALUES
o FND_FLEX_VALUE_SETS
o FND_FLEX_VALUES_TL
1. What is AD_DD package
AD_DD Package is used to register the Table, Columns, and Primary Key in Oracle
Applications.
PROCEDURE REGISTER_TABLE
Arguments:
o P_APPL_SHORT_NAME
o P_TAB_NAME
o P_TAB_TYPE
o P_NEXT_EXTENT
o P_PCT_FREE
o P_PCT_USED
PROCEDURE REGISTER_COLUMN
Arguments
P_APPL_SHORT_NAME
P_TAB_NAME
P_COL_NAME
P_COL_SEQ
P_COL_TYPE
P_COL_WIDTH
P_NULLABLE
P_TRANSLATE
P_PRECISION
P_SCALE
1. What are the Special and Pair Flex Field
Special Value Sets uses FlexField itself
Pair Two Flex Fields together specifies a range of valid values.
1. What are the Translatable Dependent and Independent Flex Fields
Translatable Independent Input must exist on previously defined set List of
Values. Translated value can be used. 57
Translatable Dependent means Input is checked against a subset of values
Based on a prior value. Translated value can be used.
1. What is FND_REQUEST.SUBMIT_REQUEST
Submits a Concurrent Request for Processing by a Concurrent Manager.
Arguments Application,program,description,start_time,sub_request,arg1..
3. Can we use out parameter in function if we do this then what is the drawback?
5. Select count (*) from tab1; and there is no data in tab1 then what will be the output?
N number;
Begin
Return1;
Reture2;
Return3;
And we want to fetch all those records in which in which a=b the write the SQL query?
10. I want to fetch the last name from Oracle_Apps_Guide. Write the query?
11. How to count commas (,) in the string (a, b, c, d). Write the query?
17. If I want to print a message on bottom most No Data Found if there is no data in the report then
what we need to code in XML as well as RDF report?
18. What are the different ways to create an XML Report without RDF?
22. What are the various execution methods you have used?
33. If we are calling fnd_request.submit_request from backend but it is not showing in SRS window
then whats the reason for the same?
40. How to map AR with PA tell me the setup required for this?
42. What are retcode and errbuf and its values? What is the use of retcode and errbuf in interface?
44. If we want to complete our oracle report program with warning status what we need to do?
45. What is the flow to get any task in your current project?
46. What you have in Form personalization explain the different scenario?
Inbound Interface
Process Steps:
1) Stage Table Cration
2) Control file development
3) PL/SQL Program
4) Submit Standard Program
Inbound interface will be used to upload the data from legacy system in to Oracle applications
base tables.
We will receive the flat file from the client then we will create staging table upload the data
from flat file in to stage table.
Develop the PL/SQL program to validate the data weather it is valid or not, if it is valid we will
insert in to interface table, if it is not valid we will insert in to error table.
Once the data is available in interface table submit the standard program from SRS window,
and we will transfer the data from interface table to base tables.
Note
o Staging table is required because the flat file structure may or may not be compatibles with base
table structure.
o Interface table is required to make the pre validation and populate dynamic records.
PO
GL
AP
Journals
Requisitions
Invoices
Currency
RFQ
Payments
Conversion
Quotations
Daily Conversion
Rates
GL Interface
Purchase Orders
AR
Customers
Invoices Receipts
OM
Sales Orders
HRMS
Employees
CLASS 42
GL_INTERFACE_TABLE
STATUS: This column will accept any string but we will always insert standards string called
new it indicates that we are brining new data in to General Ledge Applications.
SET_OF_BOOKS_ID: We have to enter the appropriate set of books ID, it should be valid set
of books id is available in GL_SETS_BOOKS table it is valid, otherwise i8t is invalid.
USER_JE_SOURCES_NAME: We have to enter the journal sources name for the transaction
we can find all the valid source names in the tabled called GL_JE_SOURCES.
ACCOUNTING_DATE and CREATION_DATE: Both columns will accept valid date but that date
should be less than or equal to System date.
CREATED_BY: WE have to enter valid user_id from FND_USER table we can identify weather
it is valid user_id or not.
PERIOD_NAME: We have to enter valid period name and period should be in the open status
from GL_PERIODS table we can find out weather it is valid period or not, from
GL_PERIOD_STATUS table we can find out period is in the open status or not.
ENTERED_DR and ENTERED_CR: Both columns will accept positive number Debit and credit
amount, both debit and credit should be equal otherwise account will be imported as suspense
account.
GROUP_ID: WE will enter unique group number while importing from interface table to base
table it will be used as parameter.
Reference 1
Batch Name
Reference 2
Batch Description
Reference 3
Reference 4
Reference 5
Reference 11 to 20
Chart_of_accounts_id
Transationc_date
Je-Batch_id
Je_header_id
Process Steps:
1) We have received flat file from client
2) We have created Staging table as per flat file structure
3) Developed Control file and uploaded data
4) Developed PL/SQL Program to upload the data from stage into interface table
i. declare Cursor
ii. open cursor
iii.
iv.
5) Run the journal import from GL => Journal => Import => Run
i. Give the two parameters 1)Source 2)Group ID
6) Open the Output if status is 'SUCEESS' then take Request ID.
7) open Journal Enter screen Query the records based on the %requestid% As batch Name
- Select Review journal button we can see the journal detailed transaction
8) If we want correct the journals we can correct from Journal=>Import=>Correct
9) If we want delete the journals we can delete from Journal=>Import=>Delete
Varchar2(10),
Number(8),
ACCOUNTING_DATE,
CURRENCY
DATE_CREATED
Date,
Number(8),
Date,
CREATED_BY
Number(8),
ACTUAL_FLAG
Varchar2(1),
CATEGORY
Varchar2(10),
SOURCE
CURR_CONVERSION
Varchar2(10),
Number(8),
SEGMENT1
Varchar2(100),
SEGMENT2
Varchar2(100),
SEGMENT3
Varchar2(100),
SEGMENT4
Varchar2(100),
SEGMENT5
Varchar2(100),
ENTERED_DR
Number(8),
ENTERED_CR
Number(8),
ACCOUNTED_DR
Number(8),
ACCOUNTED_CR
Number(8),
GROUP_ID
Number(8) );
Control File Creation To transfer the data from flat file to staging table.
LOAD DATA
INFILE *
INSERT INTO TABLE GL_INT_TEMP
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(STATUS,
SET_OF_BOOKS_ID,
ACCOUNTING_DATE,
CURRENCY,
DATE_CREATED,
CREATED_BY,
ACTUAL_FLAG,
CATEGORY,
SOURCE,
CURR_CONVERSION,
SEGMENT1,
SEGMENT2,
SEGMENT3,
SEGMENT4,
SEGMENT5,
ENTERED_DR,
ENTERED_CR,
ACCOUNTED_DR,
ACCOUNTED_CR,
GROUP_ID)
BEGINDATA
"NEW",1,"11-AUG-2002","USD","11-AUG2002",1318,"A","Inventory","JETFORMS","Corporate","01","000","1410","0000","000",555,555,555,555,66
"NEW",1,"11-AUG-2002","USD","11-AUG2002",1318,"A","Inventory","JETFORMS","Corporate","01","000","1410","0000","000",554,554,554,554,66
"NEW",1,"11-AUG-2002","USD","11-AUG2002",1318,"A","Inventory","JETFORMS","Corporate","01","000","1410","0000","000",321,321,321,321,66
"NEW",1,"11-AUG-2002","USD","11-AUG2002",1318,"A","Inventory","JETFORMS","Corporate","01","000","1410","0000","000",431,431,431,431,66
"NEW",1,"11-AUG-2002","SGD","11-AUG2002",1318,"K","Inventory","JETFORMS","Corporate","01","000","1410","0000","000",1500,1500,1500,15
00,66
"NEW",1,"11-AUG-2002","EUR","11-AUG2002",1318,"A","Inventory","JETFORMS","Corporate","01","000","1410","0000","000",1600,1600,1600,16
00,66
Creation of PL/SQL procedure to transfer the data from staging table to interface table after
validation.
IS
-- cursor declaration
CURSOR gl_cur IS
SELECT
status
set_of_books_id ,
accounting_date ,
currency ,
date_created ,
created_by
actual_flag
category
source
curr_conversion
segment1
segment2
segment3
segment4
segment5
entered_dr
entered_cr
accounted_dr
accounted_cr
group_id
FROM GL_INT_TEMP;
l_currencycode
VARCHAR2(25);
l_set_of_books_id
NUMBER(3);
l_flag
VARCHAR2(2);
l_error_msg
VARCHAR2(100);
l_err_flag
VARCHAR2(10);
l_category
VARCHAR2(100);
L_USERID
NUMBER(10);
BEGIN
DELETE FROM gl_interface;
COMMIT;
FOR rec_cur IN gl_cur LOOP
l_flag:='A';
l_err_flag:='A';
--This PL/SQL Block will do the currency validation
END;
Fnd_File.put_line (Fnd_File.LOG,'Inserting data into the Interface TABLE'||L_FLAG);
--End of Created_by OR UserID column Validation
--Set of books Validation
BEGIN
SELECT set_of_books_id
INTO l_set_of_books_id
FROM GL_SETS_OF_BOOKS
WHERE set_of_books_id=rec_cur.set_of_books_id;
EXCEPTION
WHEN OTHERS THEN
l_set_of_books_id:=NULL;
l_flag:='E';
l_error_msg:='set of Books ID does not exist ';
END;
Fnd_File.put_line (Fnd_File.LOG,'Inserting data into the Interface TABLE'||L_FLAG);
-- End Set of books Validation
--Status Column validation
/* BEGIN
IF rec_cur.status = 'NEW' THEN
l_flag:= 'A';
ELSE
l_flag:= 'E';
Fnd_File.put_line (Fnd_File.LOG,'Status column has got invalid data');
END IF;
END;*/
BEGIN
SELECT currency_code
INTO l_currencycode
FROM fnd_currencies
WHERE currency_code=rec_cur.currency
AND currency_code='USD';
EXCEPTION
WHEN OTHERS THEN
l_currencycode:=NULL;
l_flag:='E';
l_error_msg:='currency code does not exists';
END;
Fnd_File.put_line (Fnd_File.LOG,'Inserting data into the Interface TABLE'||L_FLAG);
Fnd_File.put_line (Fnd_File.LOG,'Inserting data into the Interface TABLE'||L_FLAG);
--End of Actual Flag Column validation
IF l_flag!='E' THEN
Fnd_File.put_line (Fnd_File.LOG,'Inserting data into the Interface TABLE');
INSERT INTO gl_interface(status,
set_of_books_id,
accounting_date,
currency_code,
date_created,
created_by,
actual_flag,
user_je_category_name,
user_je_source_name,
user_currency_conversion_type,
segment1,
segment2,
segment3,
segment4,
segment5,
entered_dr,
entered_cr,
accounted_dr,
accounted_cr,
group_id)
VALUES
(rec_cur.status
rec_cur.set_of_books_id ,
rec_cur.accounting_date ,
rec_cur.currency
rec_cur.date_created ,
rec_cur.created_by
rec_cur.actual_flag
rec_cur.category
rec_cur.source
rec_cur.curr_conversion
rec_cur.segment1 ,
rec_cur.segment2 ,
rec_cur.segment3 ,
rec_cur.segment4 ,
rec_cur.segment5 ,
rec_cur.entered_dr ,
rec_cur.entered_cr ,
rec_cur.accounted_dr ,
rec_cur.accounted_cr ,
rec_cur.group_id);
END IF;
l_flag:=NULL;
l_error_msg:=NULL;
END LOOP;
COMMIT;
END GL_IN_PRO;
CLASS 43
CLASS 44
PO_HEADERS_INTEFACE
Column Name
VENDOR_ID
PO_VENDORS
VENDOR_SITE_ID
PO_VENDOR_SITES_ALL
VENDOR_CONTACT_ID
PO_VENDOR_CONTANTCT
AGENT_NAME
PER_ALL_PEOPLE_F
ORG_ID
HR_OPERATING_UNITS
DOCUMENT_LOOKUP_CODE
CREATION_DATE
< = SYSDATE
CURRENCY_CODE
FND_CURREINCES
SHIP_TO
HR_LOCATIONS
BILL_TO
HR_LOCATIONS
PO_LINES_INTERFACE
Column Name
LINE_NUM
PRIMARY KEY
LINE_TYPE
PO_LINE_TYPES
ITEM
ITEM_ID
MTL_SYSTEM_ITEM_B
ITEM_DESCRIPTION
ITEM_CATEGORY
MTL_CATEGORIES
ITEM_UOM
MTL_UNITS_OF_MEASURE
QUANTITY
UNIT_PRICE
NEED_BY_DATE
PROMISED_DATE
SHIP_TO_ORG_ID
ORG_ORGANIZATION_DEFINITIONS
SHIP_TO_LOCAITONS
HR_LOCATIONS
ORG_ID
HR_OPERATING_UNITS
Pre Requisites
Process Steps
Default Buyer
: Null
: No
PO Status
: APPROVED
Batch ID
: 13
load data
infile *
load data
infile *
insert into table XX_LINES
fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS
( interface_header_id
,interface_line_id
,LINE_NUM
,SHIPMENT_NUM
,LINE_TYPE
,ITEM
,ITEM_DESCRIPTION
,item_id
,UOM_CODE
,QUANTITY
,UNIT_PRICE
,SHIP_TO_ORGANIZATION_CODE
,SHIP_TO_LOCATION
,list_price_per_unit)
BEGINDATA
1,1,2,2,"Goods","AS54999","Sentinel Standard Desktop Rugged",2155,"Ea",10,120,"M1","Adelaide",45
1,2,3,3,"Goods","75100005","Colour Cartidge",6076,"Ea",11,111,"M1","Adelaide",55
Procedure for Insertions of data from Interface tables to Base tables after validating.
varchar2(150);
varchar2(4) default 'A';
l_msg
varchar2(200);
l_site_code
varchar2(100);
l_curr_code
varchar2(10);
l_org_id
number(6);
BEGIN
DELETE FROM PO_HEADERS_INTERFACE;
DELETE FROM PO_LINES_INTERFACE;
COMMIT;
FOR x1 IN c1 LOOP
BEGIN
SELECT vendor_id
INTO l_vendor_id
FROM po_vendors
WHERE vendor_name = x1.VENDOR_NAME;
-- AND ORG_ID = Fnd_Profile.Value('ORG_ID');
EXCEPTION
WHEN OTHERS THEN
l_flag
:= 'E';
l_vendor_id := 0;
l_msg
END;
--Vendor Site code Validation
/* begin
select vendor_site_code
into
l_site_code
from
po_vendor_sites_all
:= 'E';
l_site_code := 0;
l_msg
END;*/
--End of Site Code Validation
--Currency Code Validation
Begin
select currency_code
into l_curr_code
from fnd_currencies
where currency_code = x1.CURRENCY_CODE;
EXCEPTION
WHEN OTHERS THEN
l_flag
:= 'E';
l_curr_code := 0;
l_msg
END;
--End of te Currency Validation
--Operating Unit ID Validation
Begin
select organization_id
into l_org_id
from hr_operating_units
where organization_id = x1.org_id;
EXCEPTION
WHEN OTHERS THEN
l_flag
:= 'E';
l_org_id
:= 0;
l_msg
END;
--End of the ORG ID Validation
IF l_flag != 'E' THEN
INSERT INTO po_headers_interface
(
INTERFACE_HEADER_ID
,BATCH_ID
,ACTION
,ORG_ID
,DOCUMENT_TYPE_CODE
,CURRENCY_CODE
,AGENT_NAME
,VENDOR_NAME
,VENDOR_SITE_CODE
,SHIP_TO_LOCATION
,BILL_TO_LOCATION
,creation_date
,APPROVAL_STATUS
,APPROVED_DATE
,FREIGHT_TERMS
)
VALUES
(
x1.INTERFACE_HEADER_ID
,x1.batch_id
,x1.action
,x1.org_id
,x1.document_type_code
,x1.CURRENCY_CODE
,x1.AGENT_NAME
,x1.VENDOR_NAME
,x1.VENDOR_SITE_CODE
,x1.SHIP_TO_LOCATION
,x1.BILL_TO_LOCATION
,SYSDATE-10
,x1.APPROVAL_STATUS
,SYSDATE
,x1.FREIGHT_TERMS
);
end if;
END LOOP;
FOR x2 IN c2 LOOP
l_flag := 'A';
--Item Validation
begin
select segment1
into l_item
from mtl_system_items_b
where segment1
AND
= x2.item
ORGANIZATION_ID = fnd_profile.value('ORG_ID');
exception
when others then
l_flag
:= 'E';
l_vendor_id := 0;
l_msg
END;
--End of the Item Validation
if l_flag != 'E' then
,x2.ITEM
,x2.ITEM_DESCRIPTION
,x2.item_id
,x2.UOM_CODE
,x2.QUANTITY,
X2.UNIT_PRICE,
X2.SHIP_TO_ORGANIZATION_CODE,
X2.SHIP_TO_LOCATION,
X2.NEED_BY_DATE,
X2.PROMISED_DATE,
X2.LIST_PRICE_PER_UNIT);
END IF;
END LOOP;
COMMIT;
END PO_INT1;