Go to main content
1/11
Contents
List of Figures
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Introduction to JD Edwards EnterpriseOne Tools: APIs and Business Functions
1.1
APIs and Business Functions Overview
1.2
APIs and Business Functions Implementation
2
Working with APIs
2.1
Understanding APIs
2.1.1
API Fundamentals
2.1.2
Common Library APIs
2.1.2.1
MATH_NUMERIC Data Type
2.1.2.2
JDEDATE Data Type
2.1.3
Database APIs
2.1.3.1
Standards and Portability
2.1.3.2
JD Edwards EnterpriseOne ODBC
2.1.3.3
Standard JDEBASE API Categories
2.1.3.4
Connecting to a Database
2.1.3.5
Understanding Database Communication Steps
2.2
Calling APIs
2.2.1
Calling an API from an External Business Function
2.2.1.1
Stdcall Calling Convention
2.2.1.2
Cdecl Calling Convention
2.2.2
Calling a Visual Basic Program from JD Edwards EnterpriseOne Software
2.3
Using the SAX Parser
2.3.1
Understanding the SAX Parser
2.3.2
Examples of SAX Parser Usage
2.3.2.1
Example Context Data Structure
2.3.2.2
Example Main Function
2.3.2.3
Example Callback Functions
2.3.3
Example of a SAX Parsing Sequence
2.4
Working with JDECACHE
2.4.1
Understanding Caching
2.4.1.1
When to Use JDECACHE
2.4.1.2
Performance Considerations
2.4.2
Understanding the JDECACHE API Set
2.4.2.1
JDECACHE Management APIs
2.4.2.2
JDECACHE Manipulation APIs
2.4.3
Understanding JDECACHE Standards
2.4.3.1
Cache Business Function Source Description
2.4.3.2
Cache Programming Standards
2.4.4
Prerequisites
2.4.5
Calling JDECACHE APIs
2.4.6
Setting Up Indexes
2.4.7
Initializing the Cache
2.4.7.1
Example: Index Definition Structure
2.4.8
Using an Index to Access the Cache
2.4.8.1
Example: JDECACHE Internal Index Definition Structure
2.4.9
Using the jdeCacheInit/jdeCacheTerminate Rule
2.4.10
Using the Same Cache in Multiple Business Functions or Forms
2.5
Working with JDECACHE Cursors
2.5.1
Opening a JDECACHE Cursor
2.5.2
Using the JDECACHE Data Set
2.5.2.1
Cursor-Advancing APIs
2.5.2.2
Non-Cursor-Advancing APIs
2.5.3
Updating Records
2.5.4
Deleting Records
2.5.5
Using the jdeCacheFetchPosition API
2.5.6
Using the jdeCacheFetchPositionByRef API
2.5.7
Resetting the Cursor
2.5.8
Closing the Cursor
2.5.9
Using JDECACHE Multiple Cursor Support
2.5.10
Using JDECACHE Partial Keys
3
Using Business Functions
3.1
Understanding Business Functions
3.1.1
Components of a Business Function
3.1.2
How Distributed Business Functions Work
3.1.3
C Business Functions
3.1.3.1
Header File Sections
3.1.3.2
Example: Business Function Header File
3.1.3.3
Source File Sections
3.1.3.4
Example: Business Function Source File
3.1.4
Business Function Event Rules
3.2
Understanding Transaction Master Business Functions
3.3
Building Transaction Master Business Functions
3.3.1
Understanding Building Transaction Master Business Functions
3.3.2
Begin Document
3.3.2.1
Special Logic or Processing Required
3.3.2.2
Hook Up Tips
3.3.2.3
Common Parameters
3.3.2.4
Application-Specific Parameters
3.3.3
Edit Line
3.3.3.1
Special Logic or Processing Required
3.3.3.2
Typical Uses and Hookup
3.3.3.3
Common Parameters
3.3.4
Edit Document
3.3.4.1
Special Logic or Processing Required
3.3.4.2
Hook Up Tips
3.3.4.3
Common Parameters
3.3.4.4
Application-Specific Parameters
3.3.5
End Document
3.3.5.1
Hook-Up Tips
3.3.5.2
Common Parameters
3.3.5.3
Application-Specific Parameters
3.3.6
Clear Cache
3.3.6.1
Special Logic or Processing Required
3.3.6.2
Common Parameters
3.3.7
Cancel Document
3.3.7.1
Special Logic or Processing Required
3.3.7.2
Common Parameter
3.4
Implementing Transaction Master Business Functions
3.4.1
Single-Record Processing
3.4.1.1
Interactive Program Flow Example
3.4.1.2
Batch Program Flow Example
3.4.2
Document Processing
3.4.2.1
Program Flow Example
3.5
Working with Master File Master Business Functions
3.5.1
MBF Information Structure
3.5.1.1
Standard Parameters for Single-Record Master Business Functions
3.5.1.2
Application-Specific Control Parameters (Example: Address Book)
3.5.1.3
Application Parameters (Example: Address Book)
3.5.2
Master Business Function Impact on Performance
3.6
Working with Business Functions
3.6.1
Prerequisite
3.6.2
Creating a Custom DLL
3.6.3
Specifying a Custom DLL for a Custom Business Function
3.7
Working with Business Function Builder
3.7.1
Setting Build Options
3.7.2
Reading Build Output
3.7.2.1
Makefile Section
3.7.2.2
Begin DLL Section
3.7.2.3
Compile Section
3.7.2.4
Link Section
3.7.2.5
Rebase Section
3.7.2.6
Summary Section
3.7.3
Building All Business Functions
3.7.4
Using the Utility Programs
3.7.4.1
Resolving Errors with JDEBLC, Dumpbin, and PDB
3.7.4.2
Customizing the Tools Menu
3.7.4.3
Threadsafe Code
3.7.4.4
Safety Check Usage
3.7.4.5
Safety Check Output
3.7.4.6
Safety Check Limitations
3.7.5
Understanding Business Function Processing Failovers
3.8
Working with Business Function Documentation
3.8.1
Understanding Business Function Documentation
3.8.2
Creating Business Function Documentation
3.8.3
Viewing Documentation from Business Function Documentation Viewer
4
Understanding Record Locking
4.1
Record Locking
4.2
Optimistic Locking
4.3
Pessimistic Locking
4.3.1
Using Pessimistic Locking Within a Transaction Boundary
4.3.2
Business Functions and Pessimistic Locking
5
Debugging Business Functions
5.1
Debugging
5.2
Debugging Strategies
5.2.1
Is the Program Ending Unexpectedly?
5.2.2
Is the Output of the Program Incorrect?
5.2.3
Where Else Could the Problem Be Coming From?
5.3
Debug Logs
5.4
Debugging Business Functions with Microsoft Visual C++
5.4.1
Understanding the Visual C++ Debugger
5.4.1.1
The Go Command
5.4.1.2
The Step Command
5.4.1.3
The Step Into Command
5.4.1.4
Setting Breakpoints
5.4.1.5
Using Watch
5.4.1.6
Locals Window
5.4.2
Understanding Visual C++ Debugger Tracing Utilities
5.4.3
Debugging Business Functions Attached to Interactive Applications
5.4.4
Using SQL Log Tracing
5.4.5
Using Debug Tracing
Glossary
Index
Scripting on this page enhances content navigation, but does not change the content in any way.