Académique Documents
Professionnel Documents
Culture Documents
Basic Concepts:-
Responsibilities:-
A responsibility defines
--What functions user can use.
--What data user can access.
It consists Of
--Menu
--Data Group
--Request Group
Data Group:- The data group defines the pairing of Oracle application and
ORACLE user name.
The ORACLE user name determines the database tables and table privileges
accessible by your responsibility.
Login Screen:-
What happens when you login(Basic Concepts):-
-----------------------------------------------------
A. Your login gets authenticated against a table named fnd_user.
(Actually login authentication(User Name And Password) are defined in user
definition screen.And Only system administrators have access to this screen.
)
Users
Users are assigned a set of responsibilities through which they can retrieve or
modify certain set of data.
Responsibility
Responsibility is a grouping of access in a logical manner.
For Ex:-Accounts payable responsibility would contain all the privileges to create
invoices, make payments etc. All the users from the payables department would
be given this responsibility.
Creation Of User:-
2)Application:-
3)Responsibility Key:-
4)Effective Dates From/To - Enter the start/end dates on which the responsibility
becomes active/inactive.
6)Data Group - The data group defines the pairing of Oracle application and
ORACLE user name.
The ORACLE user name determines the database tables and table privileges
accessible by your responsibility.
8)Menu - Choose the menu that is already defined with the oracle application.
9)Web Host Name - If your Web Server resides on a different machine from your
database, you must designate the host name (URL) here. Otherwise, the Web
Host Name defaults to the current database host server.
10)Web Agent Name - Enter the PL/SQL Agent Name for the database used by
this responsibility. If you do not specify an Agent Name, the responsibility
defaults to the agent name current at log-on.
So A form is nothing but a screen from where users can enter or retrieve(query)
existing data.
Now the Question is:- In Oracle why do we have a form and then also a Form
Function? Isn't just having a Screen/Form just good enough?
Ans: What if, for the same form, you wish to provide slightly different
functionalities depending upon which menu is clicked to invoke that form??
Then the next question is:-Are there any examples?
Answer: Lets assume the following
Our requirement
-------------------------------
If invoice screen is invoked from Payables Manager Responsibility, then at startup
of the screen we want to provide a "Search Window", so that manager can search
for the invoices to review
Question: From above example it appears that form function will be passing
parameter named invoice_mode to the form?
Answer. Correct in this case.
So that we understand how things hang together.
Invoice form is attached to a Form Function, when defining the Form Function we
pass parameters to it. Then this Form Function is attached to the Menu, and it is
the Menu that gets attached to responsibility.
Did you wonder how Oracle will know to look for a payables form executable in
AP_TOP and not in PO_TOP??
Oracle will think like this...hmm user clicked on a menu, what is the form function
for this menu...hmm it is InvoiceReview....ok...what is the application assigned to
the for form function...oh...its ap(account payables) application...right....what is
the base path for this application...rite..it is AP_TOP...lets then run the fmx file
from ap_top/forms/us.