Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
Where is your Baan/LN hardware located?
On Premise
57%
Hosted Data Center
14%
Cloud (Azure/AWS - Not Infor Cloudsuite)
29%
Infor Cloudsuite
0%
Total votes: 7

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 8th June 2019, 20:49
rajesh.lch rajesh.lch is offline
Junior Member
 
Join Date: Mar 2016
Posts: 19
rajesh.lch is on a distinguished road
Baan: ERPLN - DB: sql - OS: windows
[Extension]Unable to disable Form command of type Session
Baan: Other/Unknown
C/S: None/Unknown

Hi Team,

While i am trying to Disable one standard form command of type Session(Activate a - Session), using IS ENABLED hook is not working. Whereas same hook is working for Form command of type Function(Activate a - Function).

I have also tried using BEFORE.COMMAND hook with disable.command() it also Not Working.

Please suggest, where exactly i need to place the code to Disable Session type Form command using Extensions

Thanks in advance.

Regards,
Rajesh
Reply With Quote
  #2  
Old 10th June 2019, 11:49
rahul ingale rahul ingale is offline
Member
 
Join Date: May 2011
Location: Mumbai
Posts: 64
rahul ingale is on a distinguished road
Baan: baan infor - DB: sql - OS: windows xp
Try command.super()
__________________
IRL
Reply With Quote
  #3  
Old 14th June 2019, 12:32
JaapJD's Avatar
JaapJD JaapJD is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 829
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
It depends on how the form command has been defined in standard. If it runs for all selected records, you can not use the Is Enabled. Use the Before Command with the choice.again() function to prevent the session being started.
Reply With Quote
Sponsored Links
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
Auto Save of Data in Form Type 2 session jbaanm Tools Development 3 4th August 2015 21:54
How to call AFS in sp24? PV Ramone AFS/DDC/OLE: Function servers 4 2nd September 2008 11:06
Form without session code norwim Tools Development 6 13th February 2006 15:50
Editable synchronized dialogue not started srinivas AFS/DDC/OLE: Function servers 10 21st July 2005 07:25
Form in session tdpur0510s000 flashes klixy23 Tools Development 6 29th May 2002 10:17


All times are GMT +2. The time now is 14:53.


©2001-2018 - Baanboard.com - Baanforums.com