User login
|
|
Frontpage Sponsor
|
|
Poll
|
How big is your Baan-DB (just Data AND Indexes) 0 - 200 GB 16% 200 - 500 GB 28% 500 - 800 GB 2% 800 - 1200 GB 9% 1200 - 1500 GB 9% 1500 - 2000 GB 14% > 2000 GB 21% Total votes: 43 |
Baanboard at LinkedIn
|

|
|
|
 |

18th September 2015, 16:41
|
Junior Member
|
|
Join Date: Oct 2002
Location: Holland
Posts: 3
|
|
Baan: Baan IVc -
DB: Oracle -
OS: Unix 11
|
How to perform Baan Automation together with BOI data
A new blog entry has been added:
How to perform Baan Automation together with BOI data
Quote:
Hi,
For years we are working with the BOI's used with BCK 1.3 software, Create COM objects, register them on the server, etc. All working fine.
We have build on this technology an extranet, together with web services.
Now we want to stop using the Java Client and BOI COM dll's on the Windows server side (32 bits, registry setting) and go on with the Baan Automation (Baan Client on the server).
I saw some samples of Baan Automation, which are working fine, even with return variables in reference calls.
We can build off course our own library, and then return a separated string, containing the records, but most of the logic is already there in our BOI's.
So we still want to use the exisiting BOI libraries (baan side) to retrieve, update and delete the data. Therefore I call the class through ASP.NET by:
'Sample code
BaanObj = Server.CreateObject("Baan4.Application.default")
BaanObj.Timeout = 30
'Predefined variables:
ccur.f.Text = "USD"
ccur.t.Text = "USD"
StructCurrency = 0 'Reference variable to the BaanObj call
StructError = 0 'Reference variable to the BaanObj call
ReqdFields = ""
CallId = 0
SetSize = 1000
SetComplete = "N"
Company As Integer = 100
|
|

24th September 2015, 13:09
|
Junior Member
|
|
Join Date: Oct 2002
Location: Holland
Posts: 3
|
|
Baan: Baan IVc -
DB: Oracle -
OS: Unix 11
|
I have probably found a solution.
The containers seems still be there after you return in the .NET code.
A new function on the baan side with a reference of the container from .NET can read out the container. If you parameterize it with an index parameter, you are able to read out the complete container record by record and return it to .NET code.
Also the 4K string limit is solved with this.
|

24th September 2015, 20:31
|
 |
Guru
|
|
Join Date: Sep 2012
Location: India
Posts: 2,365
|
|
Baan: LN FP 1-9, 10.4, a little bit of Baan IV -
DB: SQL Server 2008, Oracle -
OS: Windows Server 2008 R2, Unix
|
Thanks for posting the solution.
Also note that you should not create blogs for your questions. Creating threads in related forums might get responses.
Moving it to right forum.
__________________
Regards,
Bhushan
Unless you try to do something beyond what you have already mastered, you will never grow!
|

25th September 2015, 09:58
|
Junior Member
|
|
Join Date: Oct 2002
Location: Holland
Posts: 3
|
|
Baan: Baan IVc -
DB: Oracle -
OS: Unix 11
|
Thank you. I wasn't aware about the blogging issue.
|
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
|
|
|
|