Standard Source
The source file contains instructions for the business function. These sections describe the sections of a standard source file.
A template generated for a standard source file when you create a JD Edwards EnterpriseOne business function appears in the following pages:
#include <jde.h> #define bxxxxxxx_c /*************************************************************** * Source File: bxxxxxxx * * Description: Generic Business Function Source File * * History: * Date Programmer SAR# - Description * ------------------------------------------------------- * Author 06/06/2005 - Created * * Copyright (c) Oracle, 2005 * * This unpublished material is proprietary to Oracle. * All rights reserved. The methods and techniques described * herein are considered trade secrets and/or confidential. * Reproduction or distribution, in whole or in part, is * forbidden except by express written permission of * Oracle. **************************************************************/ /************************************************************** * Notes: * **************************************************************/ #include <bxxxxxxx.h> /************************************************************* * Global Definitions **************************************************************/ /************************************************************* * Business Function: GenericBusinessFunction * * Description: Generic Business Function * * Parameters: * LPBHVRCOM lpBhvrCom Business Function Communications * LPVOID lpVoid Void Parameter - DO NOT USE! * LPDSDXXXXXXX lpDS Parameter Data Structure Pointer * *************************************************************/ JDEBFRTN (ID) JDEBFWINAPI GenericBusinessFunction (LPBHVRCOM lpBhvrCom, LPVOID lpVoid, LPDSDXXXXXXXX lpDS) { /*********************************************************** * Variable declarations ***********************************************************/ /*********************************************************** * Declare structures ***********************************************************/ /*********************************************************** * Declare pointers ***********************************************************/ /*********************************************************** * Check for NULL pointers ***********************************************************/ if ((lpBhvrCom == (LPBHVRCOM) NULL) || (lPVoid == (LPVOID) NULL) || (lpDS == (LPDSDXXXXXXXX) NULL)) { jdeErrorSet (lpBhvrCom, lpVoid, (ID) 0, 4363, (LPVOID) NULL); return ER_ERROR; } /*********************************************************** * Set pointers ***********************************************************/ /*********************************************************** * Main Processing ***********************************************************/ /*********************************************************** * Function Clean Up ***********************************************************/ return (ER_SUCCESS); } /* Internal function comment block */ /************************************************************** * Function: Ixxxxxxx_a // Replace xxxxxxx with source file * // number * // and a with the function name * Notes: * * Returns: * * Parameters: ************************************************************/