Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 24th June 2017, 07:32
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Custom BOD Steps

Hi All,

I have started to work on custom BOD recently and need some verification/input from XI gurus. Based on my understanding following is the sequence of creating a simple custom BOD:

1. Create xml file with exact format
2. Create XSD project in LN Studio
3. Create BID project in LN Studio (Need to know the difference between BID and XSD project? Why do we need BID?)
4. Create BII project (This actually maps the xml field to table or converted values through hooks)
5. Generate DLL which creates two dll in LN

First of all can you please verify above sequence and understanding and confirm if that is correct? Also I need answers to my following questions:

1. When I call generate BOD dll in LN, in that scenario how would the DLL know which record needs to be sent into BOD? What is logic and where it is written which governs the record need to be sent to BOD?


Any input will be helpful.

Thanks,
Anubhav
Reply With Quote
  #2  
Old 26th June 2017, 12:17
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,287
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
These steps are right. Apart from these, you also need to register the BOD in LN.

Coming to the questions -

1. Difference between XSD and BID
- As per the standard development practice, you create XSD for assigning the data types to your fields and setting the identifier for your BOD
- BID is used for add the events which you are going to use with the BOD.
- In the end, the field to table mapping and customization's are performed in BII.

2. When I call generate BOD dll in LN, in that scenario how would the DLL know which record needs to be sent into BOD? What is logic and where it is written which governs the record need to be sent to BOD?
- When you call a BOD, set of standard DLL's tcboddll.* are used to validate the table and field mappings for the called BOD. They will go through the XML files related to the BOD and will get the table to be used and the field mappings.

Hope that is clear.
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #3  
Old 26th June 2017, 19:00
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Hi Bhushan,

Thanks for the input and validating my thought process!!!

I am still confused for point # 2:

******Just for reference from previous message*****

2. When I call generate BOD dll in LN, in that scenario how would the DLL know which record needs to be sent into BOD? What is logic and where it is written which governs the record need to be sent to BOD?

- When you call a BOD, set of standard DLL's tcboddll.* are used to validate the table and field mappings for the called BOD. They will go through the XML files related to the BOD and will get the table to be used and the field mappings.
*********************

Lets say I create a custom BOD for one simple table (Units) and call Publish BOD DLL at the time of any change in the table. I want to send in BOD only the record which has been changed not all records so how would I achieve that? Do we pass primary index of the record as well in DLL which publishes BOD? I may be wrong but what I remember that we just pass BOD name in DLL while publishing BOD, is it not?

Thanks,
Anubhav
Reply With Quote
  #4  
Old 26th June 2017, 21:59
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,287
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Yes. Offcourse we do pass the table index as a parameter to publish BOD Dll. Refer to BOD developer guide on how to call a BOD. In addition to the indices, we also pass the action to be taken i.e. Add, Delete, Modify
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
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
Created a Monitor but the Alert is not getting created for a Customized BOD Ajesh ION 26 15th February 2017 11:25
BOD Bll confusing jeffersyuan ION 4 2nd January 2017 18:49
Baan Implementation Steps in General Ajesh Tools Administration & Installation 1 5th December 2014 09:46
Creating Custom BOD in Business Studio oplexxdp Open World, Portal & Decision Manager 1 13th January 2012 08:46
Text problem (writing to text tables from custom session) Linda Nemitz Blogs and Web links 0 20th February 2009 14:55


All times are GMT +2. The time now is 08:21.


©2001-2017 - Baanboard.com - Baanforums.com