Example: Calling an External Business Function
This example calls an external business function:
/*----------------------------------------------------------- * * Retrieve account master information * *----------------------------------------------------------*/ idReturnCode = jdeCallObject(_J("ValidateAccountNumber), NULL, lpBhvrCom, lpVoid, (void*) &dsValidateAccount, (CALLMAP*) NULL, (int) 0, (JCHAR*) NULL, (JCHAR*) NULL, (int) 0 ); if ( idReturnCode == ER_SUCCESS ) { statement; }