Vous êtes sur la page 1sur 48

ORACLE ERP

E-BUSINESS SUITE
ORACLE
OAF

Author:

MSN:

huajhua@hotmail.com

Creation Date:

Error: Reference source not found

Last Updated:

November 2, 2013

Document Ref:

<Document Reference Number>

Version:

DRAFT 1A

Approvals:
<Approver 1>
<Approver 2>

Error: Reference source not found

Copy Number

_____

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

Document Control
Change Record
6
Date

Author

Versio
n

Change Reference

Error: Reference
source not found

Jianhua.Huang

Draft
1a

No Previous Document

Reviewers

Name

Position

Distribution

Copy
No.

Name

Location

Library Master

Project Library
Project Manager

2
3
4

Note To Holders:
If you receive an electronic copy of this document and print it out, please
write your name on the equivalent of the cover page, for document control
purposes.
If you receive a hard copy of this document, please write your name on the
front cover, for document control purposes.

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

Contents

Document Control.......................................................................................ii
1.

............................................................................................2
1.1.
1.2.
1.3.
1.4.
1.5.

2.

Hello World....................................................................8
2.1.
2.2.
2.3.

3.

....................................................................................14
....................................................................................15
.....................................................................15
M..................................................................16
VLov Region.....................................................18
VSearch Page.....................................................20
Execute Query.......................................................22
M...........................................................................23
C............................................................................23
VCreate Page......................................................24
M...........................................................................26
C............................................................................27
V......................................................................28
C......................................................................28
Seqence.................................................................29
M...........................................................................29
V............................................................................30
C............................................................................30
V......................................................................31
C......................................................................32
M...........................................................................32
V......................................................................33
C......................................................................34
EBS.................................................................................34

.................................................................................35
4.1.
4.2.
4.3.

5.

......................................................................................8
......................................................................................8
EBS.................................................................................11

LOVButtonSequence..............14
3.1.
3.2.
3.3.
3.4.
3.5.
3.6.
3.7.
3.8.
3.9.
3.10.
3.11.
3.12.
3.13.
3.14.
3.15.
3.16.
3.17.
3.18.
3.19.
3.20.
3.21.
3.22.
3.23.
3.24.

4.

EBS.......................................................................2
JServ..............................................................................2
.............................................................................3
Setting Up Your Development Environment................................4
......................................................................................6

....................................................................................35
........................................................................................... 35
BC4J.............................................................................36

.................................................................................37

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

5.1.
6.

Doc Ref: <Document Reference Number>

....................................................................................37

Open and Closed Issues for this Deliverable..................................38


Open Issues......................................................................................... 38
Closed Issues.......................................................................................38

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

1.

1.1. EBS
1.1.1.$JAVA_TOP
JSPJavaJava
$JAVA_TOPOAF
1.1.2.$OA_HTML
$OA_HTMLEBS WebHTMLJSP
AppletJar
jspftp
cux
$OA_HTML
applmgrgappdevTelnetecho $OA_HTML
ftp
1.1.3.$COMMON_TOP/_pages/_oa__html
JservJSPServletCache
JavaClass
$COMMON_TOP/_pages/_oa__htmljsp$OA_HTML

jspjavaclass
javajavajsp

1.1.4.$OA_MEDIA
$OA_MEDIA

1.2. JServ
1.2.1.Log
N: $IAS_ORACLE_HOME/Apache/Jserv/logs
mod_jserv.loglog
1.2.2.autoreload.classesdeveloper_modedebug_mode
N: $IAS_ORACLE_HOME/Apache/Jserv/etc/zone.properties

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

developer_modeJSPjsp
JSPtrueApache
jsp
autoreload.classesservletclassjspimport
class
debug_modeJava
true
false
Apache

1.3.
1.3.1.
DreamweaverWebHTML/CSS/ASP/PHP/JSP
HTMLCSS
JCreatorJava
EclipseJava
JBuilderBorlandIDE
JDeveloperOracleIDE
1.3.2.
JSPJdeveloperOAFOAF
JdeveloperOAF
1.3.3.EBS
http://<host_name>:<port_number>/OA_HTML/OAInfo.jspEBS
OAFhttp://gtmanu.gt.com:8069/OA_HTML/OAInfo.jsp
EBSOAF
EBS Patch Level

OAF Version

JDeveloper ARU

Seg
11i.FWK.H (3262919)
11i.ATG_PF.H (3438354)
ATG PF CU1 (4017300)
ATG PF CU2 (4125550)
11i.ATG_PF.H RUP3 (4334965)
11i.ATG_PF.H.RUP4 (4676589)
11i.ATG_PF.H RUP5 (5473858)
.

11.5.10.K

40456394725670
4045639
4141787
4573517
4725670
5455514
5455514
.

3262919OA Framework Install TestOA


Framework ToolBox TutorialMetalink
EBSOAF

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

MetalinkJdeveloper Patch
Jdeveloper
D:\Software\Oracle\JDev9iOAExtension

Seg
jdevdoc\javadoc\fwk
jdevdoc\javadoc\aolj
jdevdoc\javadoc\bc
4j
jdevdoc\javadoc\uix
jdevdoc\toolbox
jdevdoc\devguide
jdevbin\

OA Framework Java
AOL/J Java
BC4J Java

jdevhome\

UIX Java
OA Framework ToolBox /
OA Framework
Oracle 9i JDeveloperOA Framework

OA Framework ToolBox

1.4. Setting Up Your Development Environment


Developers Guide
1.4.1.WindowsJDEV_USER_HOME
N: /////
JDEV_USER_HOME
D:\Software\Oracle\JDev9iOAExtension\jdevhome\jdev
1.4.2.DBC
$FND_TOP/secure<DB_Host_Name>_<SID>.dbc
<JDEV_USER_HOME>\dbc_files\secure
1.4.3.JDeveloperjdevw.exe
jdevbin\jdev\bin\jdevw.exe
1.4.4.EBS
EBSHUAJHUA
OA Framework ToolBox Tutorial
OA Framework ToolBox Tutorial Labs
1.4.5.
Connections/Database/New Connection

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

DBCGTDEV
1.4.6.jdevw.exeWorkspace toolbox.jws
N: File/Open
1 <JDEV_USER_HOME>\myprojects\toolbox.jws
2 Tutorial.jpr/Runtime ConnectionDBC

3 Tutorial.jprTutorial.jpx/Edit TutorialConnection

4 LabSolutions.jpr
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

Tips23Default Project Settings

1.4.7.
1 toolbox.jwsRebuild toolbox.jws0 ErrorWarning
2 test_fwktutorial.jsp

3 Hello WorldIEJavascrip

1.5.
1.5.1.
N: Tools/Preferences/Environment
EBSGB2312jspcharset
<%@ page
contentType="text/html;charset=GB2312"%>

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

1.5.2.Project
N: Project/Default Project Settings/Common/Oracle Applications/Run
Options
OA DiagnosticOADeveloperMode

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

1.5.3.ProjectForgive Duplicate Directive Attributes


N: Project/Default Project
Settings/Configurations/Development/Compiler/JSP
JSPJSPImport
BuildJSPError(XXX): , : language
Forgive Duplicate Directive Attributes (Helps JSP 1.1 Compatability)

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

2. Hello World
Developers Guide

2.1.
Setting Up Your Development
Environment

2.2.
2.2.1.OAHello World

Seg

Workspace
Project
Default Package
DBC File

<JDEV_USER_HOME>\myprojects
HelloWorldOAWorkspace.jws
HelloWorldOAProject.jpr
hand.oracle.apps.cux.hello
<JDEV_USER_HOME>\dbc_files\secure\gthf_gtdev.d
bc
HUAJHUA/111111
AK/FWK_TBX_TUTORIAL
GTDEV

/
/
Database
Connection

2.2.2.Project
OA DiagnosticOADeveloperMode

2.2.3.OA Components Page

Seg
Name
Package

HelloWorldPG
hand.oracle.apps.cux.hello.webui

2.2.4.

Seg
ID
Region Style
AM Definition

PageLayoutRN
pageLayout
oracle.apps.fnd.framework.server.OAApplicationMod
ule
Hello World Window Title
Hello World Page Header
True

Window Title
Title
Auto Footer

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Seg
Form

Doc Ref: <Document Reference Number>

True

2.2.5.
N: PageLayoutRN/New/Region

Seg
ID
Region Style

MainRN
messageComponentLayout

2.2.6.
N: MainRN/New/messageTextInput

Seg
ID
Item Style
Prompt
Length
Maximum Length

HelloName
messageTextInput
Your Name
20
50

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

2.2.7.
N: MainRN/New/messageLayout

Seg
ID

ButtonLayout

2.2.8.
N: ButtonLayout/New/Item

Seg
ID
Item Style
Attribute Set

Go
submitButton
/oracle/apps/fnd/attributesets/Buttons/Go

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

2.2.9.
N: MainRN/New/Set New Controller...

Seg
Package
Class Name

hand.oracle.apps.cux.hello.webui
HelloWorldMainCO

javaHelloWorldMainCO
1
import oracle.apps.fnd.framework.OAException;
2 processFormRequest()
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
{
if (pageContext.getParameter("Go") != null)
{
String userContent = pageContext.getParameter("HelloName");
String message = "Hello, " + userContent + "!";
throw new OAException(message, OAException.INFORMATION);
}
}
3 HelloWorldMainCO.javaRebuild
2.2.10.

JdeveloperOC4J

N: HelloWorldPG.xml

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

2.3. EBS
2.3.1.
OAF
XMLJava Class
Form
XMLJavaOAFjwsjpr
jpx

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

2.3.2.
1 HelloWorldOAWorkspace.jwsHelloWorldOAProject.jprRebuild
2 <JDEV_USER_HOME>\myclasses\hand$JAVA_TOP/hand
3 cd $JAVA_TOPchmod -R 775 hand

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

2.3.3.MDS
oracle.jrad.tools.xml.importer.XMLImporterwebuixml

JDKXDK
jdevw.exeimport.bat

cd D:\Software\Oracle\JDev9iOAExtension\jdevbin\jdev\bin
import
D:\Software\Oracle\JDev9iOAExtension\jdevhome\jdev\myprojects\hand\oracle\apps\cux\hello\webui
\HelloWorldPG.xml -rootdir D:\Software\Oracle\JDev9iOAExtension\jdevhome\jdev\myprojects
-username apps -password apps2007 -dbconnection "(description = (address_list = (address =
(protocol = tcp)(host = gthf.gt.com)(port = 1590)))(connect_data = (sid = gtdev)))"
TipsXMLImporter
Project
Java
import oracle.jrad.tools.xml.importer.XMLImporter;
public class CUXXMLImporter
{
public static void main(String[] args)
{
XMLImporter xmlimp = new XMLImporter();
String arg[] = new String[9];
arg[0] =
"D:\\Software\\Oracle\\JDev9iOAExtension\\jdevhome\\jdev\\myprojects\\hand\\oracle\\apps\\cux\\hell
o\\webui\\HelloWorldPG.xml";
arg[1] = "-rootdir";
arg[2] = "D:\\Software\\Oracle\\JDev9iOAExtension\\jdevhome\\jdev\\myprojects";
arg[3] = "-username";
arg[4] = "apps";
arg[5] = "-password";
arg[6] = "apps2007";
arg[7] = "-dbconnection";
arg[8] = "(description=(address_list =(address=(protocol=tcp)(host=gthf.gt.com)(port=1590)))
(connect_data=(sid=gtdev)))";
xmlimp.doImport(arg);
}
}

LibrariesMDS
RuntimeOA Developer LibariesOracle XML Parser V2Oracle JDBC

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

2.3.4.
SQL
BEGIN
jdr_utils.printdocument('/hand/oracle/apps/cux/hello/webui/HelloWorldPG');
END;
XMLError: Could not find document .
2.3.5.Apache
Apache
2.3.6.
OA Framework ToolBox TutorialFunction
HTML Callxml

Function
Type
Html Call

CUX_OAF_HELLO
SSWA jsp function
OA.jsp?page=/hand/oracle/apps/cux/hello/webui/HelloWorldPG

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

3. LOVButtonSequence

3.1.
3.1.1.
OAF5WhoSQL
-- Create table
create table CUX.CUX_MFG_SYSTEM_CHECKS
(
SYSTEM_CHECK_ID
NUMBER not null,
ORGANIZATION_ID
NUMBER not null,--LOV
CHECK_TYPE_CODE
VARCHAR2(30) not null,--LOV
CHECK_FLAG
VARCHAR2(1) default 'Y' not null,--Check Box
DATEF_ROM
DATE not null,--LOV
DATE_TO
DATE not null,--LOV
NOTIFY_ROLE1
VARCHAR2(320),--LOV
NOTIFY_ROLE2
VARCHAR2(320),--lOV
NOTIFY_ROLE3
VARCHAR2(320),--LOV
CREATION_DATE
DATE default SYSDATE not null,
CREATED_BY
NUMBER default -1 not null,
LAST_UPDATED_BY
NUMBER default -1 not null,
LAST_UPDATE_DATE
DATE default SYSDATE not null,
LAST_UPDATE_LOGIN
NUMBER,
PROGRAM_APPLICATION_ID NUMBER,
PROGRAM_ID
NUMBER,
PROGRAM_UPDATE_DATE DATE,
REQUEST_ID
NUMBER,
ATTRIBUTE_CATEGORY
VARCHAR2(30),
ATTRIBUTE1
VARCHAR2(240),
ATTRIBUTE2
VARCHAR2(240),
ATTRIBUTE3
VARCHAR2(240),
ATTRIBUTE4
VARCHAR2(240),
ATTRIBUTE5
VARCHAR2(240),
ATTRIBUTE6
VARCHAR2(240),
ATTRIBUTE7
VARCHAR2(240),
ATTRIBUTE8
VARCHAR2(240),
ATTRIBUTE9
VARCHAR2(240),
ATTRIBUTE10
VARCHAR2(240),
ATTRIBUTE11
VARCHAR2(240),
ATTRIBUTE12
VARCHAR2(240),
ATTRIBUTE13
VARCHAR2(240),
ATTRIBUTE14
VARCHAR2(240),
ATTRIBUTE15
VARCHAR2(240)
);
-- Create/Recreate indexes
create unique index CUX.CUX_MFG_SYSTEM_CHECKS_U1 on CUX.CUX_MFG_SYSTEM_CHECKS
(SYSTEM_CHECK_ID)
tablespace CUXX;
create unique index CUX.CUX_MFG_SYSTEM_CHECKS_U2 on CUX.CUX_MFG_SYSTEM_CHECKS
(ORGANIZATION_ID, CHECK_TYPE_CODE)
tablespace CUXX;
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

-CREATE SEQUENCE CUX.cux_mfg_system_checks_s;


-- Create synonym
DROP SYNONYM cux_mfg_system_checks;
CREATE SYNONYM cux_mfg_system_checks FOR CUX.cux_mfg_system_checks;
DROP SYNONYM cux_mfg_system_checks_s;
CREATE SYNONYM cux_mfg_system_checks_s FOR CUX.cux_mfg_system_checks_s;
3.1.2.Lov
ORGANIZATION_IDSQL
SELECT oa.organization_id, mtp.organization_code, org.NAME organization_name
FROM mtl_parameters mtp, hr_all_organization_units_vl org, org_access oa
WHERE mtp.organization_id = org.organization_id
AND org.organization_id = oa.organization_id
AND oa.responsibility_id = fnd_profile.VALUE('RESP_ID')
CHECK_TYPE_CODESQL
SELECT lov.lookup_code check_type_code, lov.meaning check_type_meaning
FROM fnd_lookup_values_vl lov
WHERE lov.lookup_type = 'GITI_MFG_CHECK_TYPE'
NOTIFY_ROLE1..3SQL
SELECT wfr.NAME, wfr.display_name, wfr.description, wfr.email_address
FROM wf_roles wfr
WHERE wfr.orig_system IN ('FND_USR', 'PER')

3.2.
Setting Up Your Development
Environment

3.3.
3.3.1.OAHello World

Seg

Workspace
Project
Default Package
DBC File

<JDEV_USER_HOME>\myprojects
GITICUXMFG.jws
GITICUXMFG.jpr
hand.oracle.apps.cux.mfg
<JDEV_USER_HOME>\dbc_files\secure\gthf_gtdev.d
bc
HUAJHUA/111111
AK/FWK_TBX_TUTORIAL
GTDEV

/
/
Database
Connection

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

3.3.2.Project
OA DiagnosticOADeveloperMode

3.3.3.BC4J Package
BC4J

Seg

<mycompany>.oracle.apps.<appshortname>.
[<modulename>].schema.server
<mycompany>.oracle.apps.<appshortname>.<modulename>.server
<mycompany>.oracle.apps.<appshortname>.<modulename>.lov.server
<mycompany>.oracle.apps.<appshortname>.<modulename>.poplist.se
rver
<mycompany>.oracle.apps.<appshortname>.<modulename>.webui.Xxx
xPG
<mycompany>.oracle.apps.<appshortname>.<modulename>.webui.Xxx
xCO

lov
poplist

Business Component Package

Seg

lov
poplist

hand.oracle.apps.cux.mfg.schema.server
hand.oracle.apps.cux.mfg.server
hand.oracle.apps.cux.mfg.lov.server
hand.oracle.apps.cux.mfg.poplist.server

3.4. M
M
1EO1EO+SQLVO3SQL
LOVVO1LOVAMAM
3.4.1.Entity ObjectsSystemChecksEO
hand.oracle.apps.cux.mfg.schema.server
Name
Schema Object

SystemChecksEO
CUX_MFG_SYSTEM_CHECKS

SystemCheckIdPrimary Key
SystemCheckIdOrganizationIdCheckTypeCodeUpdateableWhile
NewOrganizationIdCheckTypeCodeUnique
JavaEntity Object Class
3.4.2.View ObjectsSystemChecksVO
VOhand.oracle.apps.cux.mfg.server
Name

SystemChecksVO

Entity ObjectSystemChecksEO
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

SystemChecksVOQueryExpert

SELECT SystemChecksEO.SYSTEM_CHECK_ID,
SystemChecksEO.ORGANIZATION_ID,
SystemChecksEO.CHECK_TYPE_CODE,
SystemChecksEO.CHECK_FLAG,
SystemChecksEO.DATEF_ROM,
SystemChecksEO.DATE_TO,
SystemChecksEO.NOTIFY_ROLE1,
SystemChecksEO.NOTIFY_ROLE2,
SystemChecksEO.NOTIFY_ROLE3,
SystemChecksEO.CREATION_DATE,
SystemChecksEO.CREATED_BY,
SystemChecksEO.LAST_UPDATED_BY,
SystemChecksEO.LAST_UPDATE_DATE,
SystemChecksEO.LAST_UPDATE_LOGIN,
SystemChecksEO.PROGRAM_APPLICATION_ID,
SystemChecksEO.PROGRAM_ID,
SystemChecksEO.PROGRAM_UPDATE_DATE,
SystemChecksEO.REQUEST_ID,
SystemChecksEO.ATTRIBUTE_CATEGORY,
SystemChecksEO.ATTRIBUTE1,
SystemChecksEO.ATTRIBUTE2,
SystemChecksEO.ATTRIBUTE3,
SystemChecksEO.ATTRIBUTE4,
SystemChecksEO.ATTRIBUTE5,
SystemChecksEO.ATTRIBUTE6,
SystemChecksEO.ATTRIBUTE7,
SystemChecksEO.ATTRIBUTE8,
SystemChecksEO.ATTRIBUTE9,
SystemChecksEO.ATTRIBUTE10,
SystemChecksEO.ATTRIBUTE11,
SystemChecksEO.ATTRIBUTE12,
SystemChecksEO.ATTRIBUTE13,
SystemChecksEO.ATTRIBUTE14,
SystemChecksEO.ATTRIBUTE15,
org.NAME organization_name,
lov.meaning check_type_name,
wf1.display_name notify_role_name_1,
wf2.display_name notify_role_name_2,
wf3.display_name notify_role_name_3,
mtp.organization_code
FROM CUX_MFG_SYSTEM_CHECKS SystemChecksEO,
mtl_parameters mtp,
hr_all_organization_units_vl org,
org_access oa,
fnd_lookup_values_vl lov,
(SELECT wfr.NAME, wfr.display_name
FROM wf_roles wfr
WHERE wfr.orig_system IN ('FND_USR', 'PER')) wf1,
(SELECT wfr.NAME, wfr.display_name
FROM wf_roles wfr
WHERE wfr.orig_system IN ('FND_USR', 'PER')) wf2,
(SELECT wfr.NAME, wfr.display_name
FROM wf_roles wfr
WHERE wfr.orig_system IN ('FND_USR', 'PER')) wf3
WHERE SystemChecksEO.organization_id = mtp.organization_id
AND mtp.organization_id = org.organization_id
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

AND org.organization_id = oa.organization_id


AND oa.responsibility_id = fnd_profile.VALUE('RESP_ID')
AND oa.resp_application_id = fnd_profile.VALUE('RESP_APPL_ID')
AND SystemChecksEO.check_type_code = lov.lookup_code
AND lov.lookup_type = 'GITI_MFG_CHECK_TYPE'
AND SystemChecksEO.notify_role1 = wf1.NAME(+)
AND SystemChecksEO.notify_role2 = wf2.NAME(+)
AND SystemChecksEO.notify_role3 = wf3.NAME(+)
3.4.3.View ObjectsOrgAccessLOVVO
VOLOVhand.oracle.apps.cux.mfg.lov.server
Name

OrgAccessLOVVO

NextSQL
SELECT oa.organization_id, mtp.organization_code, org.NAME organization_name
FROM mtl_parameters mtp, hr_all_organization_units_vl org, org_access oa
WHERE mtp.organization_id = org.organization_id
AND org.organization_id = oa.organization_id
AND oa.responsibility_id = fnd_profile.VALUE('RESP_ID')
3.4.4.View ObjectsCheckTypeLOVVO
VOLOVhand.oracle.apps.cux.mfg.lov.server
Name

CheckTypeLOVVO

NextSQL
SELECT lov.lookup_code check_type_code, lov.meaning check_type_meaning
FROM fnd_lookup_values_vl lov
WHERE lov.lookup_type = 'GITI_MFG_CHECK_TYPE'
3.4.5.View ObjectsNotifyRoleLOVVO
VOLOVhand.oracle.apps.cux.mfg.lov.server
Name

NotifyRoleLOVVO

NextSQL
SELECT wfr.NAME, wfr.display_name, wfr.description, wfr.email_address
FROM wf_roles wfr
WHERE wfr.orig_system IN ('FND_USR', 'PER')
3.4.6.Application ModuleSystemChecksAM
hand.oracle.apps.cux.mfg.server
Name

SystemChecksAM

SystemChecksVO
SystemChecksVO1SystemChecksVO2

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

AMProperty
Name
Value

RETENTION_LEVEL
MANAGE_STATE

3.4.7.Application ModuleLovAM
AMLovhand.oracle.apps.cux.mfg.lov.server
Name

LovAM

OrgAccessLOVVOCheckTypeLOVVONotifyRoleLOVVO

AMProperty
Name
Value

RETENTION_LEVEL
MANAGE_STATE

3.5. VLov Region


3.5.1.Lov OA ComponentsOrgAccessLovRN
1 OA Components/Region
Name
Package
Style

OrgAccessLovRN
hand.oracle.apps.cux.mfg.lov.webui
listOfValues

Scope
Public
AM Definition
hand.oracle.apps.cux.mfg.lov.server.LovAM
Adv Search Allowed True
2 table
OrgAccessLovRNtable Using WizardLovAM
OrgAccessLOVVO1ResionLovTable
Prompt
Item
Search Allowed

True

3.5.2.Lov OA ComponentsCheckTypeLovRN
1 OA Components/Region
Name
Package
Style

CheckTypeLovRN
hand.oracle.apps.cux.mfg.lov.webui
listOfValues

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

Scope
Public
AM Definition
hand.oracle.apps.cux.mfg.lov.server.LovAM
Adv Search Allowed True
2 table
OrgAccessLovRNtable Using WizardLovAM
CheckTypeLOVVO1ResionLovTable
Prompt
Item
Search Allowed

True

3.5.3.Lov OA ComponentsNotifyRoleLovRN
1 OA Components/Region
Name
Package
Style

NotifyRoleLovRN
hand.oracle.apps.cux.mfg.lov.webui
listOfValues

Scope
Public
AM Definition
hand.oracle.apps.cux.mfg.lov.server.LovAM
Adv Search Allowed True
2 table
OrgAccessLovRNtable Using WizardLovAM
NotifyRoleLOVVO1ResionLovTable
Prompt
Item
Search Allowed

True

3.6. VSearch Page


3.6.1.SystemChecksSearchPG
1 OA Components/Page
Name
Package

SystemChecksSearchPG
hand.oracle.apps.cux.mfg.webui

Scope
AM Definition
Windows Title
Titile

PageLayoutRN
hand.oracle.apps.cux.mfg.server.SystemChecksAM
MFG System Checks
System Checks

2 Logo
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

LogoLogoLogo
Product Branding
ID
Image URI
Additional Text

ProdBrand
/OA_MEDIA/GITILOGO.gif
MFG Logo

3
AOL Message
SystemChecksSearchPG
3.6.2.QueryRN
1 PageLayoutRNRegion
ID
QueryRN
Region Style
Query
Construction Mode resultsBasedSearch
Include Simple Panel True
Include Views Panel True
Include Advanced PanelTrue
2 QueryRNRegion Using Wizard
SystemChecksVO2Region IDResultsTableStyleTable

1..3PromptStylemessageStyledText
ResultsTable
Additional Text
Results Table
Width
100%
User Personalization True
ResultsTableItem
Search Allowed
True
Sort Allowed
True
Initial Sort Sequence
Selective Search CriteriaTrue
User Personalization True
SystemChecksSearchPG
TipsCheckFlagMessageCheckBoxForms
ReadOnly
3.6.3.
Search Allowed=True
LOV
1 QueryRN

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Construction Mode
Include Views Panel
Include Advanced Panel

Doc Ref: <Document Reference Number>

autoCustomizationCriteria
False
False

2 QueryRNsimpleSearchPanel
Header Region2SimpleSearchHdrTextSearch
messageComponentLayout Region1CustomSimpleSearch
3 CustomSimpleSearchForms
SerachOrgCodeSerachOrgNameSerachCheckName
messageTextInputCSS ClassOraFieldTextSelective
Search CriteriaData Type Maximum LengthPromptLength

4 query ComponentssimpleSearchMappings

ID
Search Item
Results Item

OrgCodeMap
SearchOrgCode
OrganizationCode

ID
Search Item
Results Item

OrgNameMap
SearchOrgName
OrganizationName

ID
Search Item
Results Item

CheckNameMap
SearchCheckName
CheckTypeName

SystemChecksSearchPG
3.6.4.Lov
LovFormsLovReturn
1 SerachOrgNameLov
Style
messageLovInput
External LOV/hand/oracle/apps/cux/mfg/lov/webui/OrgAccessLovRN
Lov Mapping
ID
Lov Region Item
Return Item
Criteria Item

lovMap1
OrganizationCode
SerachOrgCode
SerachOrgCode

ID
Lov Region Item
Return Item
Criteria Item

lovMap2
OrganizationName
SerachOrgName
SerachOrgName

Criteria ItemLov
2 SerachCheckNameLov
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

Style
messageLovInput
External LOV/hand/oracle/apps/cux/mfg/lov/webui/CheckTypeLovRN
Lov Mapping
ID
Lov Region Item
Return Item
Criteria Item

lovMap3
CheckTypeMeaning
SerachCheckName
SerachCheckName

SystemChecksSearchPGLov

3.7. Execute Query


MVC
VPageLayoutUICO
MMAMEOCO
OAFVOAMVOCOAM

3.8. M
3.8.1.VOJava
SystemChecksVOImpl.java
public void initQuery()
{
executeQuery();
}
3.8.2.AMJava
SystemChecksAMImpl.javaVO
public void initQuery()
{
SystemChecksVOImpl vo = getSystemChecksVO2();
if (vo == null)
{
//Handle error here
}
vo.initQuery();
}

3.9. C
3.9.1.SystemChecksSearchCO
PageLayoutRNResult TableForm
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Package Name
Class Name

Doc Ref: <Document Reference Number>

hand.oracle.apps.cux.mfg.webui
SystemChecksSearchCO

JavaprocessRequest
processFormRequest
processRequest
import oracle.apps.fnd.framework.OAApplicationModule;
processRequest
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("initQuery");

3.10.

VCreate Page
3.10.1.

SystemChecksCreatePG

1 OA Components/Page
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Name
Package

Doc Ref: <Document Reference Number>

SystemChecksCreatePG
hand.oracle.apps.cux.mfg.webui

ID
PageLayoutRN
AM Definition
hand.oracle.apps.cux.mfg.server.SystemChecksAM
Windows Title
MFG System Checks
Titile
System Checks
Warn About ChangesTrue
2 Logo
Search Page
3.10.2.

PageButtons

1 PageLayoutRNRegion
ID
Region Style

PageButtons
pageButtonBar

2 PageButtonsCancelApply
ID
Cancel
Item Style
submitButton
Attribute Set
/oracle/apps/fnd/attributesets/Buttons/Cancel
Disable Server Side Validation True
Disable Client Side Validation True
ID
Apply
Item Style
submitButton
Attribute Set
/oracle/apps/fnd/attributesets/Buttons/Apply
3.10.3.

MainRN

1 PageLayoutRNRegion Using WizardVOSystemChecksVO1


ID
Region Style

MainRN
defaultSingleColumn

WhoItemPrompt
Region StylemessageComponentLayout
2 MainRNmessageLayoutIDFormValueRN
Lov
OrganizationIdCheckTypeCodeNotifyRole1NotifyRole2NotifyRole3
Item StyleformValue
3

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

Required

Search Allowed
True
Sort Allowed
True
Initial Sort Sequence
Selective Search CriteriaTrue
User Personalization True

Item Style
View Instance
View Attribute
CSS Class
Tip type

UIformValue
FormBlock_Name
FormItem_Name
OraDataTextOraFieldText
dateFormat

4 MainRNLov
5LovLovMapping
5 PageLayoutRNpageStatus
ID
RequiredKey
Extends
/oracle/apps/fnd/framework/webui/OAReqFieldDescRG
Width
100%

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

3.11.

M
3.11.1.

AMJava

SystemChecksAMImpl.java
import oracle.jbo.Row;
import oracle.jbo.Transaction;
import oracle.apps.fnd.framework.OAViewObject;
31111
/***************************************************************************
* Creates a new row.
****************************************************************************
*/
public void createSystemCheck()
{
OAViewObject vo = (OAViewObject)getSystemChecksVO1();
/*
if (!vo.isPreparedForExecution())
{
vo.executeQuery();
}
*/
vo.setMaxFetchSize(0);
vo.clearCache();
Row row = vo.createRow();
vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
}
/****************************************************************************
* Commits the transaction.
*****************************************************************************
*/
public void apply()
{
getTransaction().commit();
}
/****************************************************************************
* Executes a rollback including the database and the middle tier.
*****************************************************************************
*/
public void rollbackSystemChecks()
{
Transaction txn = getTransaction();
if (txn.isDirty())
{
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

txn.rollback();
}
}

3.12.

C
3.12.1.

SystemChecksCreateCO

SystemChecksCreatePGpageLayoutRNForm

Package Name
Class Name

hand.oracle.apps.cux.mfg.webui
SystemChecksCreateCO

1 processRequest

import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
processRequest
if (!pageContext.isBackNavigationFired(false))
{
TransactionUnitHelper.startTransactionUnit(pageContext, "systemChecksCreateTxn");
if (!pageContext.isFormSubmission())
{
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("createSystemCheck", null);
}
}
else
{
if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext,
"systemChecksCreateTxn",true))
{
OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
pageContext.redirectToDialogPage(dialogPage);
}
}
2 ApplyCancel

import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
processFormRequest
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

if (pageContext.getParameter("Apply") != null)
{
OAViewObject vo = (OAViewObject)am.findViewObject("SystemChecksVO1");
am.invokeMethod("apply");
//to do: add successful message
pageContext.forwardImmediately("OA.jsp?
page=/hand/oracle/apps/cux/mfg/webui/SystemChecksSearchPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
}
else if (pageContext.getParameter("Cancel") != null)
{
am.invokeMethod("rollbackSystemChecks");
TransactionUnitHelper.endTransactionUnit(pageContext, "systemChecksCreateTxn");
pageContext.forwardImmediately("OA.jsp?
page=/hand/oracle/apps/cux/mfg/webui/SystemChecksSearchPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
}

3.13.

3.13.1.

Create

1 SystemChecksSearchPGResultsTabletableActions
ID

ButtonLayout

2 ButtonLayoutItem
ID
Create
Item Style
submitButton
Attribute Set
/oracle/apps/fnd/attributesets/Buttons/Create

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

3.14.

Doc Ref: <Document Reference Number>

C
3.14.1.

SystemChecksSearchCO

1 Create

import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
processFormRequest
if (pageContext.getParameter("Create") != null)
{
pageContext.setForwardURL("OA.jsp?
page=/hand/oracle/apps/cux/mfg/webui/SystemChecksCreatePG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
}
2
processRequest
if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "systemChecksCreateTxn",
false))
{
am.invokeMethod("rollbackSystemChecks");
TransactionUnitHelper.endTransactionUnit(pageContext, "systemChecksCreateTxn");
}

3.15.

Seqence
Dev Guide
SequenceEO
3.15.1.

SystemChecksEOImpl

EOJavaCreate Method

import oracle.jbo.server.SequenceImpl;
create
oracle.jbo.server.SequenceImpl seq=new SequenceImpl("CUX_MFG_SYSTEM_CHECKS_S",
getDBTransaction());
setSystemCheckId(seq.getSequenceNumber());
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

3.16.

Doc Ref: <Document Reference Number>

M
3.16.1.

VOJava

SystemChecksVOImpl.java
import oracle.jbo.domain.Number;
import oracle.apps.fnd.framework.OAException;

public void initQuery(String systemCheckID)


{
if ((systemCheckID != null) && (!("".equals(systemCheckID.trim()))))
{
Number systemCheckId = null;
try
{
systemCheckId = new Number(systemCheckID);
}
catch(Exception e)
{
throw new OAException("CUX", "CUX_MFG_INVALID_SYSTEM_CHECK_ID");
}
setWhereClause("SYSTEM_CHECK_ID = :1");
setWhereClauseParams(null); // Always reset
setWhereClauseParam(0, systemCheckId);
executeQuery();

}
} // end initQuery()

3.16.2.

AMJava

SystemChecksAMImpl.java
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.common.MessageToken;
VO
public void initDetails(String systemCheckID)
{
SystemChecksVOImpl vo = getSystemChecksVO1();
if(vo == null)
{
MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "SystemChecksVO1")};
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
}
vo.setMaxFetchSize(1);
vo.initQuery(systemCheckID);
} // end initDetails()

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

3.16.3.

Doc Ref: <Document Reference Number>

VOSystemChecksVO

VOVOID
Value

3.17.

3.17.1.
SystemChecksCreatePG.xml
SystemChecksUpdatePG.xml
Windows
3.17.2.

SystemChecksUpdatePG.xml

N: File/Import
3.17.3.

View

LovView InstanceView Attribute

3.18.

3.18.1.
SystemChecksCreateCO.java
SystemChecksUpdateCO.java
Windows
3.18.2.

SystemChecksUpdateCO.java

N: File/Import
SystemChecksUpdateCO
3.18.3.

PageLayoutRNCO

hand.oracle.apps.cux.mfg.webui.SystemChecksUpdateCO
3.18.4.

SystemChecksUpdateCO

import java.io.Serializable;
1 processRequest
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

super.processRequest(pageContext, webBean);
if (!pageContext.isBackNavigationFired(false))
{
TransactionUnitHelper.startTransactionUnit(pageContext, "systemChecksUpdateTxn");
if (!pageContext.isFormSubmission())
{
String systemCheckID = pageContext.getParameter("systemCheckID");
Serializable[] params = { systemCheckID };
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("initDetails", params);
}
}
else
{
if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext,
"systemChecksUpdateTxn",true))
{
OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
pageContext.redirectToDialogPage(dialogPage);
}
}
}
2 processFormRequest
systemChecksCreateTxnsystemChecksUpdateTxn

3.19.

V
ID
3.19.1.

Updae

SystemChecksSearchPGResultsTableItem
ID
UpdateImage
Item Style
image
Attribute Set
/oracle/apps/fnd/attributesets/Buttons/Update
Image URI
updateicon_enabled.gif
Height
24
Width
24
Action Type
fireAction
Event
Update
Parameter
Name
Value

systemCheckID
${oa.SystemChecksVO2.SystemCheckId}

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

3.20.

Doc Ref: <Document Reference Number>

C
3.20.1.

SystemChecksSearchCO

1 Update

import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
processFormRequest
else if ("Update".equals(pageContext.getParameter(EVENT_PARAM)))
{
pageContext.setForwardURL("OA.jsp?
page=/hand/oracle/apps/cux/mfg/webui/SystemChecksUpdatePG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
OAWebBeanConstants.IGNORE_MESSAGES);
}
2
processRequest
else if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "systemChecksUpdateTxn",
false))
{
am.invokeMethod("rollbackSystemChecks");
TransactionUnitHelper.endTransactionUnit(pageContext, "systemChecksUpdateTxn");
}

3.21.

M
3.21.1.

AMJava

SystemChecksAMImpl.java
import oracle.jbo.domain.Number;
import oracle.jbo.RowSetIterator;

/*****************************************************************************
* Deletes a record.
*****************************************************************************
*/
public void delete(String systemCheckID)
{

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

if ((systemCheckID != null) && (!("".equals(systemCheckID.trim()))))


{
Number systemCheckId = null;
try
{
systemCheckId = new Number(systemCheckID);
}
catch(Exception e)
{
throw new OAException("CUX", "CUX_MFG_INVALID_SYSTEM_CHECK_ID");
}
OAViewObject vo = (OAViewObject)getSystemChecksVO2();
SystemChecksVORowImpl row = null;
int fetchedRowCount = vo.getFetchedRowCount();
// We use a separate iterator -- even though we could step through the
// rows without it -- because we don't want to affect row currency.
RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
if (fetchedRowCount > 0)
{
deleteIter.setRangeStart(0);
deleteIter.setRangeSize(fetchedRowCount);
for (int i = 0; i < fetchedRowCount; i++)
{
row = (SystemChecksVORowImpl)deleteIter.getRowAtRangeIndex(i);
// For performance reasons, we generate ViewRowImpls for all
// View Objects. When we need to obtain an attribute value,
// we use the named accessors instead of a generic String lookup.
Number primaryKey = row.getSystemCheckId();
if (primaryKey.compareTo(systemCheckId) == 0)
{
// This performs the actual delete.
row.remove();
getTransaction().commit();
break; // only one possible selected row in this case
}

}
}
// Always close the iterator when you're done.
deleteIter.closeRowSetIterator();

}
} // end delete

3.22.

V
ID
3.22.1.

Delete

SystemChecksSearchPGResultsTableItem
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

ID
DeleteImage
Item Style
image
Attribute Set
/oracle/apps/fnd/attributesets/Buttons/Delete
Image URI
deleteicon_enabled.gif
Height
24
Width
24
Action Type
fireAction
Event
Delete
Parameter
Name
Value

3.23.

systemCheckID
${oa.SystemChecksVO2.SystemCheckId}

C
3.23.1.

SystemChecksSearchCO

1 Delete

import
import
import
import
import
import

com.sun.java.util.collections.HashMap;
oracle.apps.fnd.framework.webui.OADialogPage;
oracle.apps.fnd.framework.webui.OAWebBeanConstants;
oracle.apps.fnd.common.MessageToken;
oracle.apps.fnd.framework.OAException;
java.io.Serializable;

processFormRequest

3.24.

EBS
Hello WorldXMLLOV
importSystemChecksSearchPG

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

4.

4.1.
4.1.1.Token

import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.common.MessageToken;
MessageToken[] tokens = { new MessageToken("Token_Name", "Tokev_Value")};
throw new OAException("<APP_SHORT_NAME>", "Message_Name", tokens);

4.2.
4.2.1.import.bat

cd D:\Software\Oracle\JDev9iOAExtension\jdevbin\jdev\bin
import
D:\Software\Oracle\JDev9iOAExtension\jdevhome\jdev\myprojects\hand\oracle\apps\cux\hello\webui
\HelloWorldPG.xml -rootdir D:\Software\Oracle\JDev9iOAExtension\jdevhome\jdev\myprojects
-username apps -password apps2007 -dbconnection "(description = (address_list = (address =
(protocol = tcp)(host = gthf.gt.com)(port = 1590)))(connect_data = (sid = gtdev)))"
4.2.2.

import oracle.jrad.tools.xml.importer.XMLImporter;
public class CUXXMLImporter
{
public static void main(String[] args)
{
XMLImporter xmlimp = new XMLImporter();
String arg[] = new String[9];
arg[0] =
"D:\\Software\\Oracle\\JDev9iOAExtension\\jdevhome\\jdev\\myprojects\\hand\\oracle\\apps\\cux\\hell
o\\webui\\HelloWorldPG.xml";
arg[1] = "-rootdir";
arg[2] = "D:\\Software\\Oracle\\JDev9iOAExtension\\jdevhome\\jdev\\myprojects";
arg[3] = "-username";
arg[4] = "apps";
arg[5] = "-password";
arg[6] = "apps2007";
arg[7] = "-dbconnection";
arg[8] = "(description=(address_list =(address=(protocol=tcp)(host=gthf.gt.com)(port=1590)))
OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

(connect_data=(sid=gtdev)))";
xmlimp.doImport(arg);
}
}
LibrariesMDS RuntimeOA Developer
LibariesOracle XML Parser V2Oracle JDBC
4.2.3.
SQL
BEGIN
jdr_utils.printdocument('/hand/oracle/apps/cux/hello/webui/HelloWorldPG');
END;

4.3. BC4J
4.3.1.COAM

import oracle.apps.fnd.framework.OAApplicationModule;
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("method_name");
4.3.2.AMVO

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

5.

5.1.
5.1.1.JDeveloper
1 4045639
oracle.apps.jtf.cache.CacheLoaderNotFoundException4725670
Failed to register CacheEventListener
Project > Project Settings > Configurations > Runner >
Java Options Cache
Xbootclasspath/p:E:\jdev_oa\jdevbin\jdev\appslibrt\ojdbc14.jar;E:\jdev_oa\j
devbin\jdev\appslibrt\nls_charset12.zip
-DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true
-DRUN_FROM_JDEV=true -mx256m
-Doracle.j2ee.dont.use.memory.archive=false 2 4045639You have insufficient privileges for the current
operation
EBS
3

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Oracle ERP
November 2, 2013

Doc Ref: <Document Reference Number>

6. Open and Closed Issues for this Deliverable


Add open issues that you identify while writing or reviewing this document
to the open issues section. As you resolve issues, move them to the
closed issues section and keep the issue ID the same. Include an
explanation of the resolution.
When this deliverable is complete, any open issues should be transferred
to the project- or process-level Risk and Issue Log (PJM.CR.040) and
managed using a project level Risk and Issue Form (PJM.CR.040). In
addition, the open items should remain in the open issues section of this
deliverable, but flagged in the resolution column as being transferred.

Open Issues

ID

Issue

Resolution

Responsibility

Target Date

Impact
Date

Responsibility

Target Date

Impact
Date

Closed Issues

ID

Issue

Resolution

OAF
File Ref: Error: Reference source not found
(v. DRAFT 1A )
Company Confidential - For internal use only

Document Control

iv

Vous aimerez peut-être aussi