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
If we have a repeated record in a table. But the repeated record how i can transfer from table to nested table?
what is pay run id ?
What do you understand by a set of books?
What is oracle soa suite and what are its different components?
what is global tempory table?
Can you explain the difference between architecture followed in 10g & 11g?
is it possible to run the interface without using oracle apps?
What is a flexfield? List out its types.
How can you achieve loose coupling in soa framework?
In sequence i want to 11 and 15th values how we will write?
how do you describe O2C along with tables
In hierarchical structure of a database? we have write query from where we should start?
what is the difference between request group and request security in oracle apps?
Hi any one plz help me .i need 2 or 3 customized and 2 or 3 development reports on PO module..if any body having plz send me with one by one step ,i mean where u do the customization and wht are the steps u follwed when u do the customization,wht are fields u added or deleted ,How u added or these fields as per clinet requirement and wht are errors u faced .plz send it to my mail id iamvenki@gmail.com
What is instead of trigger in where we will use?