How to create user for Read only responsibilites in frontend apps

Mohan Reddy | Dec 2, 2008 18:02 -0700

Steps mentioned below are to create User with Read Only Responsibility and require fair amount of development knowledge

1. Go to $Au_TOP/resource.
2. Copy CUSTOM.pll and open the file in Form builder.
3. If you will open the package body of CUSTOM.pll in the forms builder then you will find the like below :

procedure event(event name varchar2) is

– This procedure allows you to execute your code at specific events
– including:

– ZOOM
– WHEN-NEW-FORM-INSTANCE
– WHEN-NEW-BLOCK-INSTANCE
– WHEN-NEW-RECORD-INSTANCE
– WHEN-NEW-ITEM-INSTANCE
– WHEN-VALIDATE-RECORD
===============

Already the ‘WHEN-NEW-FORM-INSTANCE’ is described.

You need to add the below query (point 4) in the package body of
CUSTOM.pll. and then Compile it

4. Query to add in custom.pll

      BEGIN

IF event_name = ‘WHEN-NEW-FORM-INSTANCE’ THEN
IF FND_PROFILE.VALUE(’USER_NAME’)=’ xxxxxx’ THEN

BEGIN
COPY(’Entering app_form.query_only_mode.’,'global.frd_debug’);
COPY(’YES’, ‘PARAMETER.QUERY_ONLY’);
APP_MENU2.SET_PROP(’FILE.SAVE’, ENABLED,PROPERTY_OFF);
APP_MENU2.SET_PROP(’FILE.ACCEPT’, ENABLED,PROPERTY_OFF);
formname := NAME_IN(’system.current_form’);
blockname := GET_FORM_PROPERY(formname, FIRST_BLOCK);

WHILE (blockname is not null) LOOP
IF (GET_BLOCK_PROPERTY(blockname, BASE_TABLE) is not NULL) THEN
SET_BLOCK_PROPERTY(blockname, INSERT_ALLOWED, PROPERTY_FALSE);
SET_BLOCK_PROPERTY(blockname, UPDATE_ALLOWED, PROPERTY_FALSE);
SET_BLOCK_PROPERTY(blockname, DELETE_ALLOWED, PROPERTY_FALSE);
END IF;

blockname := GET_BLOCK_PROPERTY(blockname, NEXTBLOCK);
END LOOP;
END query_only_mode;
END IF;
END IF;
END;

5. Next step is to create Profile Option name FND_PROFILE.VALUE using application developer as shown in screenshot and then set this profile option at user level

5.1 Go to Application developer->profile and create the profile as below

5.2 Go to System Administrator->profile->system
as shown in screen

6.    Copy the CUSTOM.pll from Form Builder to the server i.e. to $AU_TOP/resource.

7.    Compile the CUSTOM.pll file by using the command

f60gen module=CUSTOM.pll userid=apps/xxxxx  module_type=library

8. Now log into the Applications with the user we created and  test.

Please find steps by step doc here  (word doc).
Mohan reddy

Share This

SQR Shortcut


Every server should have this shortcut on its desktop:

C:\<path>\sqrw.exe  ? <db user name>/<db password>@<db name> -zifC:\<PS Home>\sqr\pssqr.ini -ic:\<PS Home>\sqr -oc:\temp\sqr.log -fc:\temp\ -printer:pd

This shortcut allows a system administrator to double click on a shortcut, enter an SQR program name, and run the program.  The output goes to the c:\temp directory — both the report and the log.

      

Ask the Experts - 51

Nitin Pai | Dec 2, 2008 13:39 -0700

Hi,

I am writing an interface SQR to connect 2 databases. We have created ODBC connection, and using the -db connection string variable for select/sql statements.

The program runs correctly with SQRW. While running in Porcess Scheduler, I am getting the error message as "Could not connect to datasource specified in -db variable: 'DSN =; UID=;PWD=". It picks up the DSN connection string perfectly.

Is there any security related things blocking the SQR to run in Process Scheduler? I suppose the DB LINK has to be mentioned somewhere in App Server. It runs perfectly with SQRW. What settings needed to run in 3-tier?
Please update.

Thanks.

Thanks for posting your question!

 

-          Since you are running the SQR using the process scheduler, you will need to ensure that you can connect to the TARGET database from the server on which the process scheduler is configured. So please verify connectivity from the server.

-          Alternatively, it is recommended to create database link instead of providing this information in the SQR. You can create a SYNONYM to mask the database link.

 

Thanks

 

Nitin Pai

 

 

 

 

Rant:: UK Oracle User Group 2008 - Stellent Village

This year I feel really let down by the Oracle User Group - Stellent Day at the ICC Birmingham [UK].. And I’m sure the handful of other Stellent UCM developers who turned up felt the same.  The networking session was a joke , with  under 15  people turning up of which 3 I think were from Oracle.. Where was everyone this year??

Even the presentations that were held were quite light with less than 10 people attending..

Ask the Experts - 50

Nitin Pai | Dec 2, 2008 12:47 -0700

I am trying Derived Work Record's Field value change at the end of one application engine program. Is it possible?

Thanks in advance

 

 

Thanks for posting your question!

 

This is possible only if you are activating and using the component interface through your application engine. This way the component events are also executed through the component interface and the values can be accessible to application engine.

 

Thanks

 

Sachin Deshmukh

 

 

An Update On Our JD Edwards Spending Survey

Lee Kroon | Dec 1, 2008 19:07 -0700
Two weeks ago, I published an article about the state of corporate IT budgets during these economically tough times. At the same time, I gave all of you the chance to tell us whether your JD Edwards software spending is increasing, decreasing, or remaining the same. Here are some early results from the poll. Will your [...]

Bugs introduced in 10.2.0.4 which will be fixed in 10.2.0.5

Vikram Das | Dec 1, 2008 15:04 -0700
Metalink Note 555579.1 describes 30 bugs newly introduced in 10.2.0.4.  However if I go to metalink advance search and give classification as Any, then I see > 500 patches.   Some of these would be fixed in the next point release 10.2.0.5.   The list of recommended patches is fewer in number.  You should aim to get your instance patched with at least the recommended patches:

7164095 (For RAC instances)
7375644
7496435
7573282 (For RAC instances)




NUMA and 10.2.0.4

Vikram Das | Dec 1, 2008 14:09 -0700
NUMA stands for Non uniform memory access.  It is a computer memory design used in multiprocessors, where the memory access time depends on the memory location relative to a processor. Under NUMA, a processor can access its own local memory faster than non-local memory, that is, memory local to another processor or memory shared between processors.

Here's a real world analogy from www.techgalaxy.net:

Imagine that you are baking a cake. You have a group of ingredients (=memory pages) that you need to complete the recipe(=process). Some of the ingredients you may have in your cabinet(=local memory), but some of the ingredients you might not have, and have to ask a neighbor for(=remote memory). The general idea is to try and have as many of the ingredients in your own cabinet as possible, since this reduces your time and effort in making the cake.
You also have to remember that your cabinets can only hold a fixed amount of ingredients(=physical nodal memory). If you try and buy more, but you have no room to store it, you may have to ask your neighbor to keep it in his/her cabinet until you need it(=local memory full, so allocate pages remotely).

Bug # 7171446 (Metalink Note 7171446.8) describes the problem of 10.2.0.4 with NUMA:

In 10.2.0.4 NUMA features are enabled by default and this can lead to a number of unexpected problems such as  skewed CPU usage and ORA-600 errors.

Workaround:
Unless the system has been specifically set up and tuned for NUMA then disable Oracle NUMA optimizations  by setting the following in the pfile / spfile / init.ora used to start the instances:
   
   _enable_NUMA_optimization=FALSE 
   _db_block_numa=1

Bug # 68680680 (Metalink Note 68680680.8) says:

ORA-4031 can occur when the NUMA option is used due to imbalance between shared pool subpools.  Subpool 1 shows memory allocated to "NUMA pool X" where X is a number.

This is fixed in 10.2.0.5.  Strangely, patch 68680680 is available for 10.2.0.3 but not for 10.2.0.4.

Test your Apps DBA skills - Interview Questions for Oracle Apps DBAs

Atul Kumar | Dec 1, 2008 09:10 -0700

Q. How would you know that your applications setup is a using shared APPL_TOP configuration ?

- If you apply a patch, it should be visible on all nodes (APPL_TOP) which are part of shared APPL_TOP configuration.
- Since APPL_TOP is on a shared disk, create file in APPL_TOP from one node, it should be visible from other nodes.

To Know more on shared APPL_TOP check metalink note
243880.1  Shared APPL_TOP FAQ
384248.1  Sharing The Application Tier File System in Oracle E-Business Suite Release 12
233428.1  Sharing the Application Tier File System in Oracle Applications 11i

Q. What is difference between shared APPL_TOP and shared Application Tier ?
- In shared APPL_TOP, only APPL_TOP & COMMON_TOP are shared across multiple middle tier where as in Shared Application Tier ORACLE_HOME (Middle Tier 806 & iAS directory) are also shared except configuration files (iAS).

Q. How would you know about which servers are running on a particular node ?
i) Check value of variable, isConc, isWeb, isForms, isAdmin in CONTEXT FILE
ii) Control scripts - only the services which are running from particular node will have the corresponding control scripts installed on that node (This answer is partially right, depending on AD & FND version).
iii) Check FND_NODES table

Q. Adsplice - I have a 3 node installation: 1. Forms 2. Web 3. CM/Admin/Reports
and DB which node I will run the adsplice on, to install a new product ?
– You must run adsplice on all nodes (APPL_TOPs) so that application utilities recognize new product.

Q. There are four Oracle Databases running on a mahine. How would you check the location of their Oracle Homes ?

- Check entry in oratab file
– If you know any other way to find out update it as comment

Q. How would you check if the tablespace is in backup mode ?
- Check in v$backup
SQL> SELECT d.tablespace_name, b.status FROM dba_data_files d, v$backup b
WHERE d.file_id = b.FILE# and b.STATUS = ‘ACTIVE’ ;

Q. When Database is up, listener is up. listener.ora and tnsnames.ora both are configured properly, still client is not being able to make a connection to the database. What may be the possible issues ?
– Firewall blocking db port between client and server
– Authentication restricted in sqlnet.ora (Client allowed from only selected machines)

Q. What is “Custom TOP” in apps ?
- Custom top is similar to other tops under APPL_TOP but containing custom (client) specific functionality. Apps DBA need to define custom TOP and register all custom code under CUSTOM TOP

Q. if you find that under $FND_TOP/secure directory, there are many .dbc files, how would you know which is the correct one ?
– System picks up dbc file based on profile option value “Applications Database ID

Share This

Oracle UCM: Dynamic Personalisation.. RTD (Real Time Decisions)

Just got back from a presentation on RTD (Real Time Decisions) by Dan Wingrove.

Interesting stuff - looks like a new product which integrates with Oracle UCM helps to manage content displayed to the user dependent on the details the system can find on the user.

I can see this being a great tool for marketing, but I’m sure there must be better products out..
But if your using Site Studio and are into heavy marketing you have to check out the demo ;)

Over 655,000 Students in 86 Countries with Oracle Academy

Oracle is committed to using its technology and resources to advance education, promote diversity, enrich community life, and protect the environment. The Oracle Academy, which partners with secondary and higher education institutions to prepare students for 21st century careers, is one example of how Oracle finds meaningful intersections between the needs of society and the goals of its business.

The 3 Academy Programs are:

  • Introduction to Computer Science for High Schools, Technical Schools, Community Colleges, and Universities (Free). The services includes Database and curriculum accessed via a web browser, support, Certification Resources and Faculty Training
  • Advanced Computer Science for Colleges and Universities ($500/department location): Oracle Database and Middleware, support, Certification Resources and Faculty Training
  • Enterprise Business Applications for Colleges ,Universities, and Business Schools ($500/department location per product line): Enterprise Application, support, Certification Resources and Faculty Training

All details on http://academy.oracle.com/.

Post from: AppsInsight.net

Over 655,000 Students in 86 Countries with Oracle Academy


Fixed Asset Transfer to GL

How Fixed Assets (FA) Passes Journals To General Ledger (GL) Before 11.5.9 and Fixed Assets patchset M (11i.FA.M), Journals created by the Create Journals process in FA were entered directly to the journal tables. For some time it was possible to have different period names between the two ledgers and change them using the General [...]

UK OUG 08:: Setup and ready to go..

I`m Finally Here!

Caught the train in this morning around 9ish and walked in -  got my pass and now just waiting for the floods of Clients interested in E2.0.

Iv Met with Oracle and a few Exhibitors not been to any presentations yet looking to go into “Microsoft Sharepoint and Oracle ECM - A happy marriage?” and “Dynamic Personalisation”

1 down, 1 to go….

Dave | Nov 28, 2008 11:25 -0700
Today I wrote the OCA exam 1Z0-042 and the good news is I passed. I wasn't able to prepare as much as I would have preferred because they are changing the OCA track as of Monday, Dec. 1st. That meant I only had a few weeks to study and given work, home and extra-circular activities (mine and my kids) thats not alot of time.

To study I used the Oracle Press 10g Exam Prep book, Selftest

Bank Account Transfers in Oracle Cash Management

Ahmad | Nov 27, 2008 12:27 -0700

Bank account transfers represent fund transfers between internal bank accounts.

Bank account transfers can be done either manually or automatically. The access to bank account transfer creation for a particular legal entity is subject to bank account use security. The bank account transfers are reflected in Cash Position automatically. Payment processing for bank account transfers is managed using Oracle Payments. Journal entries are created through a centralized sub ledger accounting engine. From the point of view of bank account ownership, you can either do an Intra-Company bank transfer or an Inter-Company bank transfer. Intra-company transfers represent cash transfers between two internal bank accounts that belong to the same legal entity, while Inter-company transfers represent cash transfers between two internal bank accounts that belong to two different legal entities. In case of such transfers, the system can produce balanced journal entries for both legal entities. And from the point of view of transfer currency, you can either do a Domestic bank transfer or an International bank transfer. In Domestic bank transfer, the currency of both bank accounts and the transfer amount is the same.

For example, you are transferring USD between two bank accounts that are denominated in USD. In International bank transfer, the currency of one bank account is the same as the currency of the transfer amount but the currency of the other bank account is different. For example, you are transferring USD from a bank account denominated in USD to the bank account denominated in AED.

Setting Up Bank Transfers

Before creating a bank transfer, complete the following steps:

Navigate to the Profile Options page using Otherà Profile menu.

  1. Search for CE: Bank Account Transfers profile.
  2. Select Cash Management and select OK.
  3. Set up transaction subtypes.
  4. Set up payment templates.

Creating a Bank Transfer

To create a bank transfer, complete the following setup steps:

Navigate to the Bank Account Transfers page under the Cash Management Super User responsibility.

  1. Click Create.
  2. Enter the bank account transfer information.

If you select a payment template, the bank account transfer attributes defined at the template level will default in automatically.

  1. Click Apply.

If you would like to validate the bank account transfer at the same time as saving it, click Apply and Validate. The bank account transfer will be available for further processing such as manual authorization, payment and journal creation only after it has been validated.

Authorizing a Bank Transfer

To authorize a bank transfer, complete the following setup steps:

Navigate to the Bank Account Transfer Authorization page under the Cash Management Super User responsibility.

Select the bank transfers from the displayed list and click Authorize Transfers.

If the transfer requires payment processing, they will now be automatically sent to Oracle Payments. If they do not require payment processing, they will now be available for journal creation.


      

See you at UKOUG

Jim Marion | Nov 26, 2008 16:58 -0700
I am headed to Birmingham, UK next week to present PeopleTools tips and PeopleSoft RIA at the UKOUG PeopleSoft conference. I will be traveling from the US, West Coast. If you have ventured this route before, then please share your travel tips with me. For example, what is the cheapest way to get to London from Heathrow?While in Birmingham, I will have the opportunity to chair a PeopleTools round

Communication Tip: Never Speak More Than 40 Words

bex | Nov 26, 2008 14:26 -0700

The Trappist Monks are widely known for making the best beer in the world... most of it is made in monasteries located in Belgium, using centuries-old processes. These Trappists are the quintessential monks: quiet, pious, hard working, and frugal. And man, they make great beer!

Contrary to popular belief, Trappist monks do not take a vow of silence; rather they vow to speak only when necessary. Which, surprisingly, is almost never.

To gabby outsiders, they speak so little that we just assumed many of them took a vow to never speak... Who wouldn't be making idle chit-chat while brewing a batch of awesome beer!?!? The alternative was just too bizarre for us to comprehend: speaking is rarely necessary, even when creating a world-class product.

And this rule applies for people who aren't even monks. Let me explain...

Last year I was introduced to a technique called Non-Violent Communication, which had many excellent suggestions for effective dialogs and running productive meetings... They stressed that besides empathy, the most important communication skill is brevity. Specifically, you should limit yourself to no more than 40 words before coming to an actionable request.

State your case quickly, express what you need briefly, and then make a positive request of one specific person.

For example, a manager shouldn't just call a meeting, let out a deep sigh, and lament about how the sales numbers really suck this quarter... and then go on and on and on about what's wrong. That's a waste of everybody's time. I'm certain your employees already know that the numbers are bad. I'm certain your employees already know they "shouldn't drop the ball next time." They know, they know, they know... and now you just wasted an hour of everybody's productive day.

They don't care about what they shouldn't do... they only care about what they should do in order to move things forward.

Instead, try to realize that speaking is rarely necessary, even for a world-class team. Get clear on what it is that you need... determine specifically what actions need to be taken, and by whom. If you don't know what actions need to be taken, then your request would be to have your team help you find out. State your case in 40 words or less, make your request, and move on to new business.

Naturally, there are some concepts that are difficult to explain in fewer than 40 words. In those cases, you should write a report. No, I don't mean a mind-boggling array of Power Point slides... I mean a real, honest to god report. Publish it to your content management system, where it is widely available, then share it with your team. That way, your request would simply be "Please read my report, and send me your comments." Otherwise, the data will still be there in the future, on the off chance that anybody needs it.

Verbose information belongs in a published report, or a wiki... not in an email, and not in a meeting. Keep this in mind at all times, or you'll never make anything as good as a bottle of Westvleteren 12...

read more

Down and out on Wall Street … how can HR benefit?


I was hoping that Ann’s lovely post would provide me with Thanksgiving inspiration today, but no, it was Jessica’s exploiting the current economy post that sparked my creativity. So, here goes:

As Jessica points out, there are a lot of smart, talented people that are or will be out of work soon. True, it would be nice to hook them up to your critical jobs and all that. But how about acting selfishly for once? Why not bring them into HR?

Let’s consider the talent profile of a newly out-of-work Bear Stearns, Fannie Mae, WaMu, (insert bank name here) employee:

  • Ambitious, results-oriented
  • Good with numbers and managing to metrics
  • MBA and/or terrific business acumen
  • And, if they’re gen y, may even “want to make a difference”

Sound familiar? This is a close match to the success profile HR needs to turn the corner. Get analytical, business-oriented people into HR. Tie Talent to Finance. Get respect from the business.

Prepare your job req today and brace yourself for the invention of sub-prime talent lending.

   Tagged: economy, hr   

Attending:: UK Oracle User Group 2008

5 days to go!! :D

Another year another UKOUG annual Conference - but this year it is going to be even better. Why? Because I`ll be there!! Just kidding.. This year UKOUG is celebrating 25 years of serving the Oracle community.

I wont be there for the 4 days as I have too much going on with a major URM project role out. But you may see me Monday, I`ll be hanging around the Ether Solutions stand ;) Come over and chat!

Oracle AIA Foundation Pack : Installation

Atul Kumar | Nov 26, 2008 13:16 -0700

Oracle AIA

Application Integration Architecture (AIA) Foundation pack consist of
Enterprise Business Objects (EBO)
Enterprise Business Messages (EBM)
Enterprise Business Services (EBS)
Core Infrastructure Components (Composite Application Validation, Business Service Repository, Error Handling and logging, Diagnostics)

.
Key Points Good to know with AIA Installation

1.
Application Integration Architecture (AIA) Foundation pack runs on Oracle SOA Suite.

2.
Oracle SOA server runs either on Oracle Application Server (OAS) 10g R3 or Oracle WebLogic Server 9.2 (as of 12 Oct 08)

3. Oracle SOA Server should be of version 10.1.3.3.X or higher (When using OAS)

4. If you are planning to use Oracle Application Server (OAS) then use Oracle Service Registry. If you are planning to use Oracle WebLogic Server then use AquaLogic Service Registry.

5.
Oracle Service Registry should be minimum 10.1.3.1 for SOA Suite on OAS 10gR3 (If you are planning to use WebLogic Server then install AquaLogic Service Registry 3.0)

6.
You use Oracle Universal Installer (OUI) to install & uninstall AIA

7.
Use separate directory for Apps Server (OAS or WebLogic) and AIA software.

8. Upgrade JDK used with oracle SOA Suite (10.1.3.X) to JDK 5.0 update 11 (1.5.11) (Only if you are using SOA suite on Oracle Application Server)

9. For AIA repository, you can use same database as one for SOA suite or separate database. 

AIA Installation Guide is available here (login to Metalink first and then click on link)

Download Software from edelivery.oracle.com , under Product Pack select Oracle Application Integration Architecture

References

  • 739985.1 Oracle Application Integration Architecture - Foundation Pack 2.2.1: Installation Guide

Related Posts for AIA


  1. Application Integration Architecture
  2. Oracle AIA Foundation Pack : Installation

Share This