Requirement is to Modify a C BSFN B9861121 from client to Client Server

Jdeuser_1515

Member
Hello ALL,

Kindly help me in guiding how to modify a C BSFN B9861121 from client to Client Server.

Which are all the api need to change ?


For ur ref I have pasted the BSFN -- Read printimmediate INI

#include <jde.h>

#define b9861121_c


/*****************************************************************************
* Source File: b9861121
*
* Description: Read PrintImmediate from INI Source File
*
* History:
* Date Programmer SAR# - Description
* ---------- ---------- -------------------------------------------
* Author 07/30/2002 Unkno Unknown - Created
*
* Copyright (c) J.D. Edwards World Source Company, 1996
*
* This unpublished material is proprietary to J.D. Edwards World Source Company.
* 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 J.D. Edwards World Source Company.
****************************************************************************/
/**************************************************************************
* Notes:
*
**************************************************************************/

#include <b9861121.h>


/**************************************************************************
* Business Function: ReadPrintImmediateFromINI
*
* Description: Read PrintImmediate Flag from INI
*
* Parameters:
* LPBHVRCOM lpBhvrCom Business Function Communications
* LPVOID lpVoid Void Parameter - DO NOT USE!
* LPDSD986 lpDS Parameter Data Structure Pointer
*
*************************************************************************/

JDEBFRTN (ID) JDEBFWINAPI ReadPrintImmediateFromINI (LPBHVRCOM lpBhvrCom, LPVOID lpVoid, LPDSD9861121 lpDS)

{
/************************************************************************
* Variable declarations
************************************************************************/
JCHAR szValue[6] = {0};

/************************************************************************
* Declare structures
************************************************************************/

/************************************************************************
* Declare pointers
************************************************************************/

/************************************************************************
* Check for NULL pointers
************************************************************************/
if ((lpBhvrCom == (LPBHVRCOM) NULL) ||
(lpVoid == (LPVOID) NULL) ||
(lpDS == (LPDSD9861121) NULL))
{
jdeErrorSet (lpBhvrCom, lpVoid, (ID) 0, _J("4363"), (LPVOID) NULL);
return ER_ERROR;
}

/************************************************************************
* Set pointers
************************************************************************/

/************************************************************************
* Main Processing
************************************************************************/
jdeGetPrivateProfileString (_J("NETWORK QUEUE SETTINGS"), _J("PrintImmediate"), _J(""), szValue,
DIM(szValue)-1);

if(jdeStrcmp(szValue, _J("TRUE")) == 0)
{
lpDS->cPrintImmediate = _J('Y');
}
else
{
lpDS->cPrintImmediate = _J('N');
}

/************************************************************************
* 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:
**************************************************************************/


Thanks
JDE-User
 
Back
Top