Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > ION

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
18%
200 - 500 GB
29%
500 - 800 GB
3%
800 - 1200 GB
8%
1200 - 1500 GB
8%
1500 - 2000 GB
12%
> 2000 GB
23%
Total votes: 77

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 7th August 2019, 16:39
bharath1203 bharath1203 is offline
Junior Member
 
Join Date: Dec 2016
Posts: 6
bharath1203 is on a distinguished road
Baan: 10.04 - DB: Baan sql - OS: Windows
Question Customised BOD not triggering in ION

GoodDay,

I have created a custom bod and added it in the ion connection point. I got Subscription tlesb300 table also. When I insert the data from tlbct3232m000 session the sequence count is increasing but when I insert the data directly through the session for which I have created the bod the sequence number in tlesb200 is not increasing.
Any suggestions would be greatly appreciated.
Reply With Quote
  #2  
Old 9th August 2019, 15:21
ARijke ARijke is offline
Guru
 
Join Date: Sep 2005
Posts: 498
ARijke is on a distinguished road
Baan: Baan IV upto LN - DB: -- - OS: --
did you add a trigger anywhere in the application code (preferable the DAL) to publish the BOD?
In your test with tlbct3232m000, did you test with a Process verb? in that case the LN tools trigger an Acknowledge BOD that will increase the sequence number.
Regards, Adriaan
Reply With Quote
Sponsored Links
  #3  
Old 12th August 2019, 09:27
bharath1203 bharath1203 is offline
Junior Member
 
Join Date: Dec 2016
Posts: 6
bharath1203 is on a distinguished road
Baan: 10.04 - DB: Baan sql - OS: Windows
I have added the trigger in user exit and I have tested my process verb using tlbct3232m000 session and I got the acknowledge bod as the response. When I use tlbct3232m000 session for insertion(Process verb) the sequence count in tlesb200 table is increasing but when i insert the record manually, count is not increasing.
Please do the needful.
Reply With Quote
  #4  
Old 12th August 2019, 09:59
ARijke ARijke is offline
Guru
 
Join Date: Sep 2005
Posts: 498
ARijke is on a distinguished road
Baan: Baan IV upto LN - DB: -- - OS: --
The trigger is for the Sync verb and the created subscription is for the the Sync verb as well?
did you check via debugging whether the trigger is actually hit?
Reply With Quote
  #5  
Old 13th August 2019, 10:53
bharath1203 bharath1203 is offline
Junior Member
 
Join Date: Dec 2016
Posts: 6
bharath1203 is on a distinguished road
Baan: 10.04 - DB: Baan sql - OS: Windows
I wrote this code in UE of tcibd001.

function extern long ue.after.after.save.object(long mode)
{
on case mode
case DAL_NEW:
publishMyCustomBOD("Add")
break
case DAL_UPDATE:
break
endcase
return(0)
}


function publishMyCustomBOD(domain tcmcs.str30 i.Action)
{

long r,z

r = tcbod.dll0001.publish.bod(
"bharath121BOD", |i.noun,
"botst201", |i.bod.table,
trim$(i.Action), |i.action.code,
2, |i.bod.entity.type,
"", |i.bod.entity.code,
tcibd001.item, |i.document.id,
false, |i.batch.bod,
"", |i.batch.id,
0, |i.batch.sequence,
0, |i.batch.size,
"", |i.processing.action
tcibd001.item) |identifiers

}

when i try to insert data thru session count is not increasing in tlesb200 table
when i try to insert data thru tlbct3232m000 count is increasing in tlesb200.

I think code is triggering.
Reply With Quote
  #6  
Old 13th August 2019, 11:11
ARijke ARijke is offline
Guru
 
Join Date: Sep 2005
Posts: 498
ARijke is on a distinguished road
Baan: Baan IV upto LN - DB: -- - OS: --
If you think the trigger is reached then it is probably the best to create a trace file and see the function flow and where it stops without actually creating the BOD in the outbox.
1 additional check, did you flag the BOD to be staged in the session BOD Implementation Registration?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Process BOD not calling DLL from ION vik.patil ION 1 6th August 2018 17:43
How to Create XSD and Register Custom BOD in ION vik.patil ION 2 5th May 2018 00:22
How to publish BOD to ION? jeffersyuan ION 6 21st October 2017 06:40
Infor LN technical with hands-on (ION, Mingle, BOD Customization) rittan68 Jobs and Resumes 0 15th February 2017 09:43
ERP LN Technical Analyst, ION, BOD, BDE hsaenz Jobs and Resumes 0 10th February 2015 17:34


All times are GMT +2. The time now is 00:48.


©2001-2018 - Baanboard.com - Baanforums.com