PreviousNext JavaScript must be enabled to correctly display this content
  • Title and Copyright Information
  • Preface
  • 1 Introduction to JD Edwards EnterpriseOne Tools Development Standards for Business Function Programming
    • Development Standards for Business Function Programming Overview
    • Development Standards for Business Function Programming Implementation
      • Business Function Programming Implementation Steps
  • 2 Understanding Naming Conventions
    • Source and Header File Names
    • Function Names
    • Variable Names
      • Example: Hungarian Notation for Variable Names
    • Business Function Data Structure Names
  • 3 Ensuring Readability
    • Understanding Readability
    • Maintaining the Source and Header Code Change Log
    • Inserting Comments
      • Example: Inserting Comments
    • Indenting Code
      • Example: Indenting Code
    • Formatting Compound Statements
      • Example: Formatting Compound Statements
      • Example: Using Braces to Clarify Flow
      • Example: Using Braces for Ease in Subsequent Modifications
      • Example: Handling Multiple Logical Expressions
  • 4 Declaring and Initializing Variables and Data Structures
    • Understanding Variables and Data Structures
    • Using Define Statements
      • Example: #define in Source File
      • Example: #define in Header File
    • Using Typedef Statements
      • Example: Using Typedef for a User-Defined Data Structure
    • Creating Function Prototypes
      • Example: Creating a Business Function Prototype
      • Example: Creating an Internal Function Prototype
      • Example: Creating an External Business Function Definition
      • Example: Creating an Internal Function Definition
    • Initializing Variables
      • Example: Initializing Variables
    • Initializing Data Structures
      • Example: Using Memset to Reset the Data Structure to Null
    • Using Standard Variables
      • Using Flag Variables
      • Using Input and Output Parameters
      • Using Fetch Variables
        • Example: Using Standard Variables
  • 5 Applying General Coding Guidelines
    • Using Function Calls
      • Calling an External Business Function
        • Example: Calling an External Business Function
      • Calling an Internal Business Function
        • Example: Calling an Internal Business Function with No Return Value
        • Example: Calling an Internal Business Function with a Return Value
    • Passing Pointers between Business Functions
      • Storing an Address in an Array
        • Example: Storing an Address in an Array
      • Retrieving an Address from an Array
        • Example: Retrieving an Address from an Array
      • Removing an Address from an Array
        • Example: Removing an Address from an Array
    • Allocating and Releasing Memory
      • Example: Allocating and Releasing Memory within a Business Function
    • Using hRequest and hUser
    • Typecasting
    • Comparison Testing
      • Example: Comparison Test
      • Example: Creating TRUE or FALSE Test Comparison that Uses Boolean Logic
    • Copying Strings with jdeStrcpy or jdeStrncpy
    • Using the Function Clean Up Area
      • Example: Using the Function Clean Up Area to Release Memory
    • Inserting Function Exit Points
      • Example: Inserting an Exit Point in a Function
    • Terminating a Function
  • 6 Coding for Portability
    • Portability Concepts
    • Portability Guidelines
    • Preventing Common Server Build Errors and Warnings
      • Comments within Comments
        • Example: C Comments that Comply with the ANSI Standard
        • Example: C Comments that Comply with the ANSI Standard
        • Example: Comments within Comments Cause Problems on Different Servers
      • New Line Character at the End of a Business Function
      • Use of Null Character
        • Example: Use of NULL Character
      • Lowercase Letters in Include Statements
        • Example: Use of Lowercase Letters in Include Statements
      • Initialized Variables that are Not Referenced
  • 7 Understanding JD Edwards EnterpriseOne Defined Structures
    • MATH_NUMERIC Data Type
    • JDEDATE Data Type
      • Using Memcpy to Assign JDEDATE Variables
      • JDEDATECopy
  • 8 Implementing Error Messages
    • Understanding Error Messages
    • Inserting Parameters for Error Messages in lpDS
      • Example: Parameters in lpDS for an Error Message
    • Initializing Behavior Errors
      • Example: Initialize Behavior Error
    • Using Text Substitution to Display Specific Error Messages
      • Example: Text Substitution in an Error Message
    • Mapping Data Structure Errors with jdeCallObject
  • 9 Understanding Data Dictionary Triggers
    • Data Dictionary Triggers
  • 10 Understanding Unicode Compliance Standards
    • Unicode Compliance Standards
    • Unicode String Functions
      • Example: Using Unicode String Functions
    • Unicode Memory Functions
      • Example: Using jdeMemset when Setting Characters to Values other than NULL
    • Pointer Arithmetic
    • Offsets
    • MATH_NUMERIC APIs
    • Third-Party APIs
      • Example: Third-Party API
    • Flat-File APIs
      • Example: Flat-File APIs
    • HMAC-SHA-256 API (Release 9.2.9.3)
  • 11 Understanding Standard Header and Source Files
    • Standard Header
      • Business Function Name and Description
      • Copyright Notice
      • Header Definition for a Business Function
      • Table Header Inclusions
      • External Business Function Header Inclusions
      • Global Definitions
      • Structure Definitions
      • DS Template Type Definitions
      • Source Preprocessing Definitions
      • Business Function Prototypes
      • Internal Function Prototypes
    • Standard Source
      • Business Function Name and Description
      • Copyright Notice
      • Notes
      • Global Definitions
      • Header File for Associated Business Function
      • Business Function Header
      • Variable Declarations
      • Declare Structures
      • Pointers
      • Check for NULL Pointers
      • Set Pointers
      • Main Processing
      • Function Clean Up
      • Internal Function Comment Block
  • 12 Glossary
    • add mode
    • business function
    • compound statement
    • define statement
    • edit mode
    • error message
    • event rule
    • named event rule (NER)
    • portability
    • trigger