WHAT IS THE VIEW IN ORACLE APPS?HOW IS IT CREATED?
Answer Posted / kumar
In apps you will find n number of views
During the creation of view based on the Base table in the
where clause ,below condition will be mentioned.
So that it will take the value of profile MO:Operating Unit
and display the values of corresponding Org_id.
WHERE NVL (org_id,
NVL (TO_NUMBER (DECODE (SUBSTRB (USERENV
('CLIENT_INFO'),
1,
1
),
' ', NULL,
SUBSTRB (USERENV
('CLIENT_INFO'),
1,
10
)
)),
-99)) =
NVL (TO_NUMBER (DECODE (SUBSTRB (USERENV
('CLIENT_INFO'),
1,
1
),
' ', NULL,
SUBSTRB (USERENV
('CLIENT_INFO'),
1,
10
)
)),
-99);
if you simply select from the view without setting the apps
environment , no output will be displayed.
To set the apps environment,
The following block of code has to be executed.
BEGIN
DBMS_APPLICTION_INFO.SET_CLIENT_INFO('ORG_ID');
END;
OR
BEGIN
FND_CLIENT_INFO.SET_ORG_CONTEXT('ORG_ID');
END;
THE VALUES OF ORG_ID DEPENDS ON YOUR REQUIREMENTS.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Hi, Anybody please send me the Oracle APPS 1i technical interview questions (Real time) as wel as sample resume also?
Which oracle apps version you are very confident in?
What are the benefits of using soa architecture?
What are do's and dont's of Interface?
How can we import the data into a database using sql * loader?
In sequence i want to 11 and 15th values how we will write?
how can i print random rows in plsql table
Which oracle applications pl/sql standard apis you are familiar, have you used most of them?
How can a process be deployed in soa?
tell my any difficult situtation you solved in your experience in your company?
where to define interorganization transaction charges and what are the different options?
What are the different components of soa suite?
Can you differentiate between mediator and osb?
Suppose for report I have to parameters those are from_date and to_date, so to_date should be greater when compare to from_date, if we are giving to_date is lessthen it must shows some error how we will make?
tell me the scenarios of the independent in reports