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


Please Help Members By Posting Answers For Below Questions

If we have a repeated record in a table. But the repeated record how i can transfer from table to nested table?

1659


what is pay run id ?

1715


What do you understand by a set of books?

659


What is oracle soa suite and what are its different components?

658


what is global tempory table?

6327






Can you explain the difference between architecture followed in 10g & 11g?

671


is it possible to run the interface without using oracle apps?

1524


What is a flexfield? List out its types.

673


How can you achieve loose coupling in soa framework?

732


In sequence i want to 11 and 15th values how we will write?

1579


how do you describe O2C along with tables

2317


In hierarchical structure of a database? we have write query from where we should start?

1717


what is the difference between request group and request security in oracle apps?

5064


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

1896


What is instead of trigger in where we will use?

680