Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Poll
As a Customer What would do to keep your ERP Implementation intact
Proactively define Business Process-- Take the Project Ownership
45%
Handover everything to System Integrator from drawing BP till implementation of ERP
18%
Hire more inhouse skilled & capable IT Resource to work directly with SI
36%
Rely on SI Architects/Consultants
0%
Total votes: 11

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 22nd February 2021, 16:02
martin.f martin.f is offline
Member
 
Join Date: Nov 2019
Location: Germany, Kempten
Posts: 77
martin.f is on a distinguished road
Baan: LN 10.5 - DB: Microsoft SQL - OS: Microsoft Windows 10
business methods with extensibility
Baan: Other/Unknown
C/S: None/Unknown

Hello,
does anybody know, if it is possible to use dal.start.business.method() with extensibility.
I have declared a business method in the functions section of table extension whinh220.
I want to call this from session extension.

However I get error -2 DALNOMETHOD.

dal.start.business.method( "whinh220",
"update.customs.value",
l.ret,
g.orno,
g.pono,
g.cuva)

Regards
Martin

Last edited by martin.f : 22nd February 2021 at 16:09.
Reply With Quote
  #2  
Old 23rd February 2021, 08:27
andreas.toepper andreas.toepper is offline
Senior Member
 
Join Date: Jun 2004
Posts: 216
andreas.toepper is on a distinguished road
Baan: Baan4, LN6.1 - DB: MSSQL - OS: Linux&Windows
I think DALNOMETHOD is raised, when the name of the function/method does not exist in the DAL. As far as I know a method used in dal.start.business.method() is an external function in the DAL.

Well, on our LN 10.7 there's no function named "update.customs.value" in DAL whin220 in the standard source. It does not exist in LN 10.2.1, too (so it is not a deleted function).
Reply With Quote
  #3  
Old 23rd February 2021, 09:38
JaapJD's Avatar
JaapJD JaapJD is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 914
JaapJD will become famous soon enoughJaapJD will become famous soon enough
Baan: BaanIV, BaanERP, ERP LN 6.1 - DB: Oracle, SQL Server - OS: Unix, Windows
If you have an external function in the Functions hook of the table extension, you can call it from the session extension in two ways:
1. Add a #pragma used dll otxestwhinh220 and call the function directly
2. Use exec_dll_function()
Reply With Quote
Sponsored Links
  #4  
Old 23rd February 2021, 17:21
martin.f martin.f is offline
Member
 
Join Date: Nov 2019
Location: Germany, Kempten
Posts: 77
martin.f is on a distinguished road
Baan: LN 10.5 - DB: Microsoft SQL - OS: Microsoft Windows 10
Thank you guys. This helps
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
Repinting invoices for lots of business partners thomasthetank Finance, Invoicing and Integration 2 25th January 2021 15:01
ue.before.after.destroy.object pralash Tools Development 8 6th August 2018 14:37
Manufacturing/Distribution Business Analyst tboeksch Jobs and Resumes 0 13th September 2007 03:14
Manufacturing/Distribution Business Analyst (Asheville, NC) tboeksch Jobs and Resumes 0 30th July 2007 23:23


All times are GMT +2. The time now is 02:19.


©2001-2021 - Baanboard.com - Baanforums.com