Retrieving text from MediaObject multiple text attachments.

kasturi srinivas

Member
Hi All,

Here iam facing problemwith retieving of text from multiple text media objects attached to a sales order.the code is given below.

JDBReturn = jdeGTGet_GenericText(_J("GT4211A"), &dsKeyGT4211A, 3, &lpGTData, &lTotalRec);

if (JDBReturn == JDEDB_PASSED)
{

jdeStrncpy ((JCHAR *)lpDS->szDescriptionLine1, (const JCHAR *)(&lpGTData->pData), DIM(lpDS->szDescriptionLine1)-1);

}


Now my problemis it is retrieving text from 3 rd attachment but in RTA form out put is coming in symbols.plz anyone tellme how to change RTA text to normal plain text.
 
Are you referring RTF text?

If yes can you please use API "jdeGTGet_RTFText"instead of 'GenericText'
 
No, I dont want RTA Text i want GENERIC TEXT, but the output is coming in symbols.How can i will get normal Text Output.
 
I am not sure your tools release. If it is 8.98 then try with the business function BD3N0011 or BD3N0004. let me know if its worked.
 
Back
Top