B0900601 - Automatic Bank Reconciliation

Hello,
I am new to JDEList and have been searching for 2 days on how to modify B0900601. I debug in C, but do not code in it. I need to modify this BF to change the last character in record 16 from a '/' to ',/' (I need to add a comma before the slash).

First, can you anybody walk me through modifing this code BEFORE the record 88 is appended?

Second, has anybody heard of a bug in this BF which parses the fields incorrectly in JDE (these appears to be one less delimiter than needed when the final text field is null).

With a touch of desperation,
Sue-Ellen

Example of the code I've added to the I0900601_GetNextRecord which is not working:

/* SEC01 BEGIN - end each line 16 with a comma and slash, not just a slash */
if (jdeStrncmp(dsBAI2Internal->lpszBuffer, _J("16"), 2)==0)
{
p = jdeStrchr(dsBAI2Internal->lpszBuffer, END_DELIMITER); /* find the end of the first record */


if (p == NULL)
{
}
else
{
p = jdeStrchr(dsBAI2Internal->lpszBuffer, END_DELIMITERS); /* find the end of the first record */

if (p == NULL)
{

/*dsBAI2Internal->lpszBuffer[strlen(dsBAI2Internal->lpszBuffer)-1]=0;*/


int len = jdeStrlen(dsBAI2Internal->lpszBuffer);

if (len >1)
{
dsBAI2Internal->lpszBuffer[len-2]='\0';
}
}
else
{
}
}
}

/* SEC01 END */
 
Top