You are on page 1of 5

Business functions to enhance JD Edwards Enterprise One

applications by grouping related business logic. Journal Entry


Transactions, Calculating Depreciation, and Sales Order
Transactions are examples of business functions .
Components of a Business Function :
Business Function Specifications (Design)
Data Structure Specifications
.C file
.H file
When you write business function code, ensure that all calls to other business functions
use the jdeCallObject protocol.

Header File Sections

Table Header Inclusions

: Table header files include definitions for the fields in a


table and the ID of the table itself
External Business Function Header Inclusions: External function calls
with jdeCallObject are included to use the predefined data structures.
Global Definitions: Global constants (symbolic names) used by the business function .
Structure Type Definitions: Data structure definitions for internal processing
DS Template Type Definition: Data structure type definitions generated by Business
Function Design.

Source Preprocessor:
Business Function Prototype: Defines the business functions in the source file, the
parameters that are passed to them, and the type of value that they return.
Internal Function Prototype: Defines the internal functions that are associated with
the business functions in the source file, the parameters that are passed to each
internal function, and the type of value that they return .

TYPEDEF for Data Structure: Data structure type definition. Used to pass information
between an application or report and a business function.

Typedef, which defines the new data type

Business Function Source File sections:


Variable Declarations:

Declares variables that are local to the business function .

Declare structures : Declares local data structures to communicate between business


functions, internal functions, and the database .
Declare pointers: Declares pointers
Set pointers: Declares and assigns appropriate values to pointers.
Main Processing: Provides main functionality for a business function .

Transaction master business functions provide a common


set of functions that contain all of the necessary default
values and editing for a transaction table in which records
depend on each other. Transaction master business
functions contain logic that ensures the integrity of the
transaction being inserted, updated, or deleted from the
database. Event flow breaks up logic. You use cache APIs
to store records that are being processed.

discusses the component used to build such a business function:


Begin document
Edit line

Edit document
End document
Clear cache
Cancel document

Begin Document: Called when all header information has

been entered. Creates initial header if it has not already


been created. Can also include default values, editing,
and processing options (POs)
Edit Line : Called when all line information has been

entered. Creates cache for detail information if it has not


already been created.

Edit Document : Called when ready to commit the transaction.


Processes any remaining document edits and verifies that all records
are valid to commit.
End Document : Called when you need to commit the transaction.
Processes all records in the header and detail cache, performs I/O,
and deletes caches.
Clear Cache : Called when you are ready to delete all cache
records. Deletes header and detail cache records.

Composite Application Framework (Caf One) has been enhanced


to support multiple JD Edwards Enterprise One Applications forms,
in addition to support external web applications (URLs) and Oracle
Business Intelligence reports. It is also called an user defined
object (UDO), since it does not need a development lifecycle.

0 Add Publication List from P952336 By Select Add and save

1 P952332 Work with Related Info (Select Add button)


2 Enable Cafe One Application P952332 Work with Related Info
(Select Add button)
3 Go to the Cafeone Enable form and click the user role and select
the EDIT Current Page
4 Click on Create New Content
5 select the any one and drag and drop where you want

6 and fill the Embedded EnterpriseOne Form and Click left top
corner save
7 and fill the Embedded EnterpriseOne Form
8 P952335 Access control of generic url here check the viewer
genarated or not
9 P98950 Work with User Overirides Here check the application
name P4211 and Layout Name Credit Check - Mailing Address
and UO type R IDF and copy the RI type
10 give the User Role example Cafeone group and click save