Entries Tagged 'Fusion' ↓
January 19th, 2010 — Development, Fusion
Recently we built a killer ADF Fusion application for one of our customers. The solution was built on time using JDeveloper 11g build 5536 (version important). We tested deployment on the integrated WebLogic server on one our Windows XP Pro laptops, deployed test WebLogic 10.3 server on Windows 2003 machine, installed matching ADF Runtime libraries and were in eager anticipation to see our creation run in a production-like environment.
Little did we know… Continue reading →
September 21st, 2009 — Development, Fusion, Oracle, R12
Writing Java Concurrent Program
Any Java class that implements interface oracle.apps.fnd.cp.request.JavaConcurrentProgram can be registered as a concurrent program.
The only method which needs to be implemented is
public void runProgram(oracle.apps.fnd.cp.request.CpContext cpcontext)
CpContext provides developer with all attributes of a PL/SQL concurrent program such as output file, log file, and return status plus a database connection. A typical implementation of this method looks like Continue reading →
September 18th, 2009 — Development, Fusion, Oracle, R12
Storing CLOB in database table
Once we have the input stream converted into an ASCII string, we need to store it in the custom table. To perform this operation, we need to generate primary key, and extract the purpose for the upload.
We already discussed the query which generated globally unique primary key, and creation of a view object PrimaryKeyGeneratorVO based on this query. The method which generates the primary key becomes
protected Number generatePrimaryKey()
{
OAViewObject viewObject = getPrimaryKeyGeneratorVO();
viewObject.setMaxFetchSize(1);
viewObject.executeQuery();
return (Number) (viewObject.first().getAttribute(”Id”));
}
Continue reading →
September 17th, 2009 — Development, Fusion, Oracle, R12
Converting Excel to CSV
There are several open source and commercial Java libraries that are capable of reading Excel workbooks. Among those are Apache POI , JExcelAPI, JCom, ExtenXLS7 to name a few. We will use JExcelAPI to recognize and process Excel files. Continue reading →
September 16th, 2009 — Development, Fusion, Oracle, R12
Building UI
First of all, we need to define business objects and explain their usage. The page we are building contains one field on top of the page where the user specifies the file to upload, and then a table below where user select the purpose for the upload. Continue reading →
September 15th, 2009 — Development, Fusion, R12
Technical Design
We build a new OAF page for the user to specify the file to upload. Since we are building a generic mechanism, the user also specifies the purpose of the upload. For example, price lists, or project budgets, or manual invoices. The list of purposes is presented as a table with name and description of the purpose for the upload. An advanced implementation can also display a URL for the file template which users can download and populate with data. Continue reading →
September 14th, 2009 — Development, Fusion, Oracle, R12
Almost any Oracle eBusiness Suite implementation faces a requirement to upload data from Excel. Why? Sometimes, because the end users are used to Excel interface. For example, purchasing department has its own Excel template for requisitions which’s been used for years and everybody likes it and wants to keep on using it. There are also situations where Excel provides a perfect environment for data manipulation and preparation. We found this to be the case almost on all our implementation of Oracle Project Accounting with monthly updates to project budgets. Continue reading →
September 1st, 2009 — Development, Fusion, Oracle, R12
Consider the following simple task. The client is running Oracle eBusiness Suite release 11i or 12, and needs to print customer statements or AR dunning letters in a nice looking format with pictures, diagrams, hyperlinks, and fine print.
Definitely, we will be using BI Publisher to convert XML produced by the customer statement or dunning letter report into whatever format our client desires. The key question is: how to apply BI Publisher to customer statement output since customer statement is a spawned process which, as of time of this article, does not allow for BI Publisher template application!? Continue reading →
January 17th, 2008 — Development, Fusion
The other day I came across a web site www.javacamp.org which lists Java design patterns. Highly recommend to all software designers. Even if you do not do software design for Java, knowledge of design patterns is an invaluable resource of ideas for new applications you are building.
January 8th, 2008 — Fusion, Oracle
AIA stands for Application Integration Architecture. Architecture (http://dictionary.reference.com/browse/Architecture) is a fundamental underlying design of computer hardware, software, or both. In other words it is an integrated set of tools and concepts which help you build new solutions.
All major software vendors have their own AIA delivered via the Application Servers, JBoss from RedHat, WebSphere from IBM, Oracle 10g AS from Oracle, WebLogic from BEA, NetWeaver from SAP, WebMethods. If you look into each of the AIA from each of the vendor, you will not see much difference in terms of delivered functionality. Each architecture includes an HTTP Server, a servlet container, an Enterprise Service Bus, a BPEL Engine, etc. What does differentiate one AIA from another? PIPs!!! Continue reading →