View Single Post
  #1  
Old 12th July 2017, 22:15
cs.vikash cs.vikash is offline
Junior Member
 
Join Date: Jan 2013
Posts: 3
cs.vikash is on a distinguished road
Baan: BaaN V, LN - DB: MS SQL - OS: Windows
Method Changes is not working in my Custom BOD
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)
C/S: None/Unknown

Hello Everyone,

I have developed a Custom BOD where I have picked following methods:

>Create
>Change
>Delete
>Show
>OnProcess
>PublishEvent

Requirement was to allow use to change some descriptive fields from Ming.Le and those changed values to be reflected in LN table. To meet this, I wrote following code in "On Execute Hook" of "OnProcess" method in BII:

tcbod.dll0001.bo.execute.bde.method(
"<MyBODName>BOD",
"Change",
i.request,
o.response,
o.result)

But this always returns -12 and changed values doesn't get reflected in Infor LN. Can someone please help me, where I'm doing wrong?

Regards
VIkash
Reply With Quote