Wednesday, July 6, 2011

How to check file version in Oracle Apps

Unix Command:
adident Header

ex: adident Header iemsa_outbound.jsp
Output:


SQL:

SELECT a.app_short_name, a.subdir, a.filename, b.version
FROM APPS.AD_FILES A,
APPS.AD_FILE_VERSIONS B
WHERE a.FILENAME IN ('iemsa_outbound.jsp','Agent.class')
AND A.FILE_ID = B.FILE_ID
AND A.APP_SHORT_NAME = 'IEM'
AND b.file_version_id = (SELECT MAX (file_version_id)
FROM APPS.AD_FILE_VERSIONS VER
WHERE VER.FILE_ID = A.FILE_ID
)

Tuesday, July 5, 2011

Multi Language Workflow Upload

Ø Pls run below Unix Command before uploading workflow (Using wfload) for English language:
o
NLS_LANG=” AMERICAN_AMERICA.US7ASCII” ;export NLS_LANG

Ø
Pls run below Unix Command before uploading workflow (Using wfload) for Japanese language (All workflow that are ending with _JA.wft):
o
NLS_LANG=”JAPANESE_JAPAN.JA16SJIS” ;export NLS_LANG

Ø Pls run below Unix Command before uploading workflow for Chinese language (All workflow that are ending with _ZHS.wft):
o
NLS_LANG=”SIMPLIFIED CHINESE_CHINA.ZHS16GBK” ;export NLS_LANG

Ø Pls run below Unix Command before uploading workflow for Korean language (All workflow that are ending with _KO.wft):
o
NLS_LANG= "KOREAN_KOREA.KO16KSC5601" ;export NLS_LANG

Enable Special Characters in Workflow Builder

Step 1: Change Local Windows System Locale to Japanese.
a) Go to 'Control Panel'
b) Select 'Regional and Language Options'
c) Select 'Advanced' tab
d) Choose ‘Japanese’


e) Reboot machine

Step 2: launch WF Builder. Change Font to Unicode Font (‘Arial Unicode MS’) to display Japanese characters (using the View -> Font menu)

Step 3: Change the Registry NLS_LANG:
a) Open the registry (by using the command regedit)
b) Navigate to HKEY_LOCAL_MACHINE=>SOFTWARE=>ORACLE=>Select the Oracle HOME (encircled in red color) where workflow builder is installed.
c) In the NLS_LANG parameter, enter the value“JAPANESE_JAPAN.JA16SJIS”

Step 4: Re-launch Workflow Builder to take effect font change.

NLS Parameter for Regional Language:

Language

NLS Parameter

Japanese

JAPANESE_JAPAN.JA16SJIS

Chinese

SIMPLIFIED CHINESE_CHINA.ZHS16GBK

Korean

KOREAN_KOREA.KO16KSC5601

English

AMERICAN_AMERICA.US7ASCII