Retirement Notice
|
|
User login
|
|
Frontpage Sponsor
|
|
Poll
|
What do you expect from your SI Implementation partner for the success of ERP implementation. Bring best practices - Not to offer more CR's Leveraging standard functions 20% Need more honesty to work with the Users until their processes are fully mapped & Users are trained 40% Focus on process automation/ integrations/ Real time data/ BI analytics 13% Stick to basics 27% Total votes: 15 |
|
|
 |

24th June 2017, 08:32
|
Member
|
|
Join Date: Mar 2010
Posts: 70
|
|
Baan: BaaN IV and ERP -
DB: Oracle -
OS: Unix and Window
|
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
|

26th June 2017, 13:17
|
 |
Guru
|
|
Join Date: Sep 2012
Location: India
Posts: 2,503
|
|
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!
|

26th June 2017, 20:00
|
Member
|
|
Join Date: Mar 2010
Posts: 70
|
|
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
|

26th June 2017, 22:59
|
 |
Guru
|
|
Join Date: Sep 2012
Location: India
Posts: 2,503
|
|
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!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|