How to Change Media Object Text in F00165 !

RaghuBabu

Active Member
I have a requirement wherein I had to design an UBE to change Order Attachment Text for Multiple orders. I was able to find only GET MEDIA OBJECT TEXT from the function list.
Any BSFNs or other ways to change Media Objects Text? Thanks in advance for all your help.

Raghu

OW Xe SP22 | SQL2000 | WINNT
 
Hi, Raghu.
You can try to use ModifyGenericTextName JDEAPI func.
It modifies the generic text in the F00165 table.

JDERTN(JDEDB_RESULT) JDEWINAPI ModifyGenericTextName(PJSTR pObjectName, LPVOID pKey, PJSTR pText)

where:
PJSTR pObjectName Name of the generic text object. For example, "ABGT"

LPVOID pKey Pointer to the key of the generic text structure

PJSTR pText Pointer to the text to be modified



Return Value (as ususally)

JDB_SUCCESS It was successful

JDB_FAILED It was not successful

Good luck and best regards, Vladimir
 
Hi Vladimir,
Thanks for your reply. I will try it out (first time to try APIs).

Regards,
Raghu
 
Back
Top