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
How to move the one file from one instance to another instance? And your scripts also?
List the various types of value set.
What is the concept of soa governance?
Which oracle apps version you are very confident in?
How to retry multiple errored workflow processes? What is the access level in workflow used for? How do you define start and end functions in workflow? How does they differ from normal functions? Give me some workflow tables? What is the difference between a function and notification in workflow? I have sent two different notifications to two different users and I want to wait till both they are approved to send 3rd notification. How can you achieve it? What is item type and item key in workflow? How do you use attribute values in workflow messages? How do you use lookups in workflow? What are roles in workflow and how they are used? How do you download or upload a workflow from a server? What are steps to customize the workflow? What functions can you perform from workflow administrator responsibility? To send an email to the user workflow notification is the only way or is there any other ways to send it? Give me some workflow standard procedures? How can you run/start/kickoff workflow? What is wf_engine package used for? How many processes can each workflow contain? What is Runnable option in workflow? At what level it exists? What are different types of attributes in workflow? How do you reassign a notification? What is process in workflow? How can you send direct oracle form link through workflow notifications? How can you send a notification to multiple users? Can you change the list dynamically? Can you send html code in workflow notification? I have sent two different notifications to two different users and I want to wait till atleast one is approved to send 3rd notification. How can you achieve it?
please any one provide the oracle erp technical interview questions on modules(PO,AP,AR,INV,GL,OM)wise to my mail id..narendra_609@yahoo.co.in
how to print multi lay outs,muti currency,muti language in xml publisher
do you know is it possible to run the interface without using oracle apps?
What is sca and how is it useful?
can we use look up type instead of a pofile option?or valueset?is it possible how?
testing tools?
In hierarchical structure of a database? we have write query from where we should start?
What do you understand by concurrent programs?
tell my any difficult situtation you solved in your experience in your company?
how can i print random rows in plsql table