Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 17th April 2014, 10:04
dharmendrayadav's Avatar
dharmendrayadav dharmendrayadav is offline
Member
 
Join Date: Mar 2013
Posts: 31
dharmendrayadav is on a distinguished road
Baan: ERP LN FP2 INDIA LOCALIZATION - DB: SQL SERVER 2008 - OS: Windows 7
User Exit Recursive Issue

Hi

I have created Prod. Order UE to update Request delivery date for parent and child production orders
for that when i am trying to update tisfc001 table from UE, first time it updated but when second time it gives me fatal error that recursive not possible. please help.
Reply With Quote
  #2  
Old 17th April 2014, 11:57
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,322
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
Hi,

Can you post your code? That will help to know the error better.
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #3  
Old 18th April 2014, 06:27
dharmendrayadav's Avatar
dharmendrayadav dharmendrayadav is offline
Member
 
Join Date: Mar 2013
Posts: 31
dharmendrayadav is on a distinguished road
Baan: ERP LN FP2 INDIA LOCALIZATION - DB: SQL SERVER 2008 - OS: Windows 7
function extern long ue.after.after.save.object(long mode)
{
on case mode
case DAL_NEW:
break
case DAL_UPDATE:
diff = 0
if old.rdld <> tisfc001.rdld then
diff = tisfc001.rdld - old.rdld
update.req.deliv.date()

endif
break
endcase
return(0)
}

function update.req.deliv.date()
{
select ltrnd100.ppno
from ltrnd100
where ltrnd100._index1 = {:tisfc001.pdno}
selectdo
if not isspace(ltrnd100.ppno) then
select tisfc001.rdld
from tisfc001 for update
where tisfc001._index1 = {:ltrnd100.ppno}
selectdo
tisfc001.rdld = tisfc001.rdld + diff
db.update(ttisfc001,db.retry)
endselect
endif
endselect
}
Reply With Quote
  #4  
Old 18th April 2014, 06:29
dharmendrayadav's Avatar
dharmendrayadav dharmendrayadav is offline
Member
 
Join Date: Mar 2013
Posts: 31
dharmendrayadav is on a distinguished road
Baan: ERP LN FP2 INDIA LOCALIZATION - DB: SQL SERVER 2008 - OS: Windows 7
is there any way to update same table on which ue is created ???
Reply With Quote
  #5  
Old 18th April 2014, 09:40
JaapJD's Avatar
JaapJD JaapJD is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 729
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
What is the tools version and porting set your are running?
Reply With Quote
  #6  
Old 18th April 2014, 10:00
dharmendrayadav's Avatar
dharmendrayadav dharmendrayadav is offline
Member
 
Join Date: Mar 2013
Posts: 31
dharmendrayadav is on a distinguished road
Baan: ERP LN FP2 INDIA LOCALIZATION - DB: SQL SERVER 2008 - OS: Windows 7
FP9, tiv = 1901
Reply With Quote
  #7  
Old 18th April 2014, 10:21
JaapJD's Avatar
JaapJD JaapJD is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 729
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
I think this is worth an incident at Infor. In 10.3.1 the UE is also called on db-statements. So your db.update on tisfc001 calls the UE again, which is causing recursion.
If you set the TIV of the UE DLL to e.g. 1800 you have a workaround.
Reply With Quote
  #8  
Old 18th April 2014, 12:09
dharmendrayadav's Avatar
dharmendrayadav dharmendrayadav is offline
Member
 
Join Date: Mar 2013
Posts: 31
dharmendrayadav is on a distinguished road
Baan: ERP LN FP2 INDIA LOCALIZATION - DB: SQL SERVER 2008 - OS: Windows 7
Thanks it works for me
Reply With Quote
  #9  
Old 20th October 2016, 10:52
jeffersyuan jeffersyuan is offline
Senior Member
 
Join Date: Jan 2006
Posts: 275
jeffersyuan is on a distinguished road
Baan: B4,B50C, LN FP1-FP10 - DB: SQL Server , Oracle - OS: Window , Unix , AIX
Seems in my environment, I had put the TIV as 1000, it still doesnot works.
(LN 10.5)

Jeffers
__________________
The Simply is The Best
Reply With Quote
Sponsored Links
  #10  
Old 20th October 2016, 11:39
hklett's Avatar
hklett hklett is offline
Member
 
Join Date: May 2002
Posts: 45
hklett is on a distinguished road
maybee use of disable.ue.dll() and enable.ue.dll() can help
Reply With Quote
  #11  
Old 20th October 2016, 17:49
jeffersyuan jeffersyuan is offline
Senior Member
 
Join Date: Jan 2006
Posts: 275
jeffersyuan is on a distinguished road
Baan: B4,B50C, LN FP1-FP10 - DB: SQL Server , Oracle - OS: Window , Unix , AIX
Quote:
Originally Posted by hklett View Post
maybee use of disable.ue.dll() and enable.ue.dll() can help
Do not found any function like this.

Jeffers
__________________
The Simply is The Best
Reply With Quote
  #12  
Old 20th October 2016, 17:56
hklett's Avatar
hklett hklett is offline
Member
 
Join Date: May 2002
Posts: 45
hklett is on a distinguished road
Do you have the latest programmer guide?

You can download it from KB 22924522 on inforxtrem
Reply With Quote
  #13  
Old 21st October 2016, 05:29
jeffersyuan jeffersyuan is offline
Senior Member
 
Join Date: Jan 2006
Posts: 275
jeffersyuan is on a distinguished road
Baan: B4,B50C, LN FP1-FP10 - DB: SQL Server , Oracle - OS: Window , Unix , AIX
Quote:
Originally Posted by hklett View Post
Do you have the latest programmer guide?

You can download it from KB 22924522 on inforxtrem

Found it, seems perfect to me.

Jeffers
__________________
The Simply is The Best
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
Problem with Convert SSA ERP User to Database User instant000 Operating Systems & Databases 1 17th March 2009 18:29
Performance issue in generation of user dialog nilesh.bhosale DEM & Workflow 2 17th June 2006 09:40
User Security Issue outra9e Tools Administration & Installation 6 15th January 2004 17:55
Zoom Session for selection bklunder Tools Development 1 27th November 2003 08:25
creating a user in NT srinivas Tools Administration & Installation 4 9th December 2002 11:40


All times are GMT +2. The time now is 18:05.


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