Wednesday, 25 May 2011

Address Book Data Privacy Enhancements

I’d forgotten about these, but they are pretty cool.  It gives you the ability to hide certain aspects of the Address Book Data based upon the each type.  You can obfuscate TaxID, Addresses, Phone Numbers, emails date of both and gender information for JDE roles based upon the AN8 type.

This was 811 functionality that I had forgotten all about.  So don’t go implementing row security when this is going to do the job for you.  Better than row security!

Setting up Address Book data security involves these steps:
1. Selecting the Activate Personal Data Security constant in the Address Book Constants (P0000).
Personal data security is inactive unless the Activate Personal Data Security constant is selected.
2. Setting up permission list definitions.
Use the Address Book Data Permissions program (P01138) to create one or more permission lists that specify which fields in the Address Book are secured.
3. Setting up permission list relationships.
Use the Permission List Relationships program (P95922) to determine the users or roles that are subject to each permission list.
Once you have set up Address Book data security, keep in mind that users can still view their own address book information, and secured fields are not protected under these circumstances:
a. Adding new Address Book records.
b. Running reports that contain the secured fields.
c. Viewing records in the Universal Table Browser (UTB).

There is some good doco on https://support.oracle.com search for P01138.

Tuesday, 24 May 2011

How to find the program, menu etc from this truncated screen shot

Ever been sent a screen shot of an error and you’ve had no way of determining where in the app this is from?  Well here are some basic and essential hints for tracking down the screen.

Remember that there are two elements of text above every form, firstly the menu identifier that launched the parent application and secondly the name of the form that the user is currently on.  From this you can generally track down where the user was.

image

How to work out the program from this information:

The components are:

Part of text

How to find details

“All WO”

Select TMOBNM from PS_PROD.PRODCTL.F9000 where TMLNGTASK = 'All WO' ;

“Work Order Activity Rules Search & Select”

Select SWFMNM from ps811.OL811.F9865 where SWMD = 'Work Order Activity Rules Search & Select' ;

Monday, 23 May 2011

Advanced user overrides (P98950), did you know?

I must admit that I was not 100% sure what occurred when UO’s were copied to PUBLIC, and what occurred with the existing individual overrides…  The following explains all.  I also did not know that public UO’s were promoted with the application – that is great!

When promoting an interactive application within Object Management Workbench (P98220), the *PUBLIC User Override records for the application will be automatically promoted when the interactive application is promoted. Therefore, it is not a requirement that *PUBLIC User Override records be added to a project in Object Management Workbench in order to be promoted.

NOTE: All users will now see the new user overrides unless they already have an override record for this Application/Version with their User ID/Role in the User Overrides table (F98950). If an individual User ID/Role override exists, it will be used rather than the *PUBLIC user override. When the system looks for a user override record for an application/version in the F98950 User Override table, it inquires in the following order 1)User ID, 2)Role, 3)*PUBLIC.
If a user using the *PUBLIC override, changes the tabs in anyway, a new user override record will be created for their specific User ID and the *PUBLIC record will not be changed. If no changes are made to the User Override information, the user will use the *PUBLIC user override record from the F98950 User Override table. No user specific user override records are automatically created if there are no changes made by the user.

Wednesday, 11 May 2011

Confusion with ODBC and 64 bit deployment server

The start of my confusion is how JDE is working.  I’ve changed all of the ODBC’s as I traditionally would for a new enterprise server.  This is exporting the reg file, changing the server name and importing the reg file – simple…

But, although the registry is updated, when I check the ODBC control panel – its not updated.  Also, JDE does not look at the correct machine.  So, although the registry is fine, ODBC is NOT and more importantly the ODBC that JDE uses is not fine.

Great article here on 32 and 64bit ODBC http://support.microsoft.com/kb/942976

Essentially;

  • The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
  • The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.

So, we need to use the 32 bit version, best to create a shortcut to this on the desktop.

The 32 bit version

Sadly, it’s not the easiest thing to determine if a file is 64 ot 32 bit compiled / executable.  Very stupid.  As we are on the deployment server, we can use dumpbin, shipped with visual studio.  To use dumpbin from anywhere, start a cmd session and execute vcvars32 within that.

C:\Users\jde>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"

Then goto the file that you want to test and run dumpbin /headers

c:\windows\system32 dumpbin /headers odbcad32.exe |findstr magic

You could always look at task manager too:

image

Note that entering the command with the FULL PATH to the executable will give the correct results.  You cannot rely on the current dir!

C:\Windows\System32>dumpbin /headers c:\windows\system32\odbcad32.exe |findstr machine

            8664 machine (x64)

So it is just me, or weird that the odbcad32.exe application in windows\system32 is 64bit ?

Ok, so unequivocally we’ve been able to determine the architecture of the executable for the ODBC control panel program. 

I can tell you that JDE uses the 32 bit (SYSWOW64) version to load it’s system data sources.

So how can we bulk change these ones, because if you change the ones in the registry, HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI – they are not reflected in the C:\windows\syswow64\odbcad32.exe application.  So JDE does not pick up the changes.

Easy, just don’t double click the reg file, this will call the default (higher in the path) regedit.exe – which is the 64 bit version.  You need to open the c:\windows\syswow64\regedit.exe application and then choose the reg file that you want to import.

Phew – it’s that easy!

Simply:

  • default apps are 64 bit (regedit.exe and odbcad32.exe) from the system32 dir
  • JDE uses the 32 bit apps
  • You need to manually run the 32 bit versions of these apps to see the correct data
  • use dumpbin /headers to see the machine line for architecture info

Wednesday, 4 May 2011

Not blogged for a long time

I just thought I’d let you know that I’ll start mirror blogging, back to here and my work blog that is available at http://www.myriad-it.com/index.php?option=com_content&view=category&layout=blog&id=68&Itemid=106

I’ve been doing some exciting things with BSSV, BPEL and also using the new oracle templates, so I have a lot to blog about.

Watch this space!

 

Shannon

Thursday, 2 December 2010

Efficient looking into jas logs…

There is so much rubbish in jas logs, so I’ve created the following command to make things a little easier.

It’s not perfect, but it’s a goo d start.  From 37000 line to 192 that have some value

cat e1root_20101128.log |grep -v "com." |grep -v VTComponent.setFocused | grep -v java.lang.NullPointerException |grep -v sun. |grep -v java. |grep -v java.lang.NumberFormatException |grep -v successfully |grep -v BusinessView.isAliasinBSVW |grep -v JDENET.tempFileDir |grep -v "Update: Update Pkg"

Friday, 26 November 2010

Want to search my blog

For some reason the search does not work.  It’s frustrating me and others.  Here is a little work around that I’ve trialed

http://www.google.com.au/search?q=PDF+site:http://shannonscncjdeblog.blogspot.com&hl=en&num=10&lr=&ft=i&cr=&safe=images

Above I’m searching for PDF on my blog, you can edit it how you want.

http://www.google.com.au/search?q=SEARCH TERM+site:http://shannonscncjdeblog.blogspot.com&hl=en&num=10&lr=&ft=i&cr=&safe=images

I might also look for a better solution, but what is better than google???  Nothing…