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
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 26th October 2009, 11:27
Agus Mujtahid Agus Mujtahid is offline
Member
 
Join Date: Mar 2008
Posts: 73
Agus Mujtahid is on a distinguished road
Baan: BaaN 5.0c - DB: Oracle 10.2 - OS: AIX 5.3
default cursor on form field
Baan: iBaanERP 5.0c
C/S: Client

Dear all,

We have problems when we develop session&program script.
We have form field (3 fields for input, is not table field) in session type 3 (multi occurence form with view). these field are "wh.to", "lokasi.to" and "verification". we wish, if we run this session, the cursor move to "wh.to" field and after we input for this field, we wish cursor move to "lokasi.to" field directly and after we input in this field ("wh.to"), we want cursor move to "verification" field. and the last after we input in "verification" field, we want run a function.
to move cursor directly, we made script with to.field() function and field event secsion.But, everytime we run this session, cursor didn't move to "wh.to" field, and after we input in this field, the cursor didn't move to "lokasi.to" field directly. and after we put value for "verification" field, the function was not run.for detail, see attachment.

Please help me to solve it, thanks

Mujtahid
Attached Files
File Type: xls locatin transfer warehouse.xls (92.0 KB, 21 views)
Reply With Quote
  #2  
Old 26th October 2009, 14:53
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,904
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Post the relevant code. Did you set the form field order correctly? What mode does the session start with find,modify, etc? It should be possible, but everything needs to be in the correct sections. At least I assume 5 is the same as 4c4.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #3  
Old 26th October 2009, 18:00
_Ralph_'s Avatar
_Ralph_ _Ralph_ is offline
Senior Member
 
Join Date: Oct 2006
Location: Brazil
Posts: 209
_Ralph_ is on a distinguished road
Baan: LN 6.1 - DB: DB2 - OS: Unix
Do you know the funtion to.field()?
Reply With Quote
  #4  
Old 27th October 2009, 02:04
Agus Mujtahid Agus Mujtahid is offline
Member
 
Join Date: Mar 2008
Posts: 73
Agus Mujtahid is on a distinguished road
Baan: BaaN 5.0c - DB: Oracle 10.2 - OS: AIX 5.3
Script

Quote:
Originally Posted by mark_h View Post
Post the relevant code. Did you set the form field order correctly? What mode does the session start with find,modify, etc? It should be possible, but everything needs to be in the correct sections. At least I assume 5 is the same as 4c4.
Please see attachment. In our attachment you can see start command for this session, script and field order for this form.
Attached Files
File Type: xls location transfer warehouose 2.xls (125.5 KB, 29 views)
Reply With Quote
  #5  
Old 27th October 2009, 02:08
Agus Mujtahid Agus Mujtahid is offline
Member
 
Join Date: Mar 2008
Posts: 73
Agus Mujtahid is on a distinguished road
Baan: BaaN 5.0c - DB: Oracle 10.2 - OS: AIX 5.3
to.field()

Quote:
Originally Posted by _Ralph_ View Post
Do you know the funtion to.field()?
we use this function to move cursor to destination field that we want, we can override field order in form editor with this function.
is it wrong?
Reply With Quote
  #6  
Old 27th October 2009, 14:39
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,904
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
According to the help to.field can only be used in after.input, after.display, after.field. Maybe in the after.display for batch number. I do not really know baan 5, so I do not know what the default mode is - you made need to start it in a different mode(like modifiy).
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Sponsored Links
  #7  
Old 28th October 2009, 01:54
Agus Mujtahid Agus Mujtahid is offline
Member
 
Join Date: Mar 2008
Posts: 73
Agus Mujtahid is on a distinguished road
Baan: BaaN 5.0c - DB: Oracle 10.2 - OS: AIX 5.3
to.field()

Hi Guru,
In this case, we made script, after input data on "wh.to" field we use function it to move it directly to "lokasi.to" field. but it is not run for these 3 fields, "wh.to", "lokasi.to" and "verification.to".
Reply With Quote
  #8  
Old 28th October 2009, 12:08
rberti's Avatar
rberti rberti is offline
Member
 
Join Date: Feb 2007
Location: São Paulo
Posts: 62
rberti is on a distinguished road
Baan: BaaN IV, Baan V, LN - DB: Oracle, Informix - OS: UNIX
Hi Mujtahid.

Does Baan 5 suport the Tools Interface Version (TIV) concept? In LN, sometimes, you have to change the tiv number of the script to a lower number to assure backwards compatibility. There is more information in help about supported tiv numbers, at least for LN...

Hope it helps!
Reply With Quote
  #9  
Old 29th October 2009, 02:06
Agus Mujtahid Agus Mujtahid is offline
Member
 
Join Date: Mar 2008
Posts: 73
Agus Mujtahid is on a distinguished road
Baan: BaaN 5.0c - DB: Oracle 10.2 - OS: AIX 5.3
Tools Interface Version (TIV)

Hi, we have not enough knowledge about it.
We ever open session ttaad0500m000,but we don't know about this session. please tell me, thanks.
Reply With Quote
  #10  
Old 29th October 2009, 12:13
rberti's Avatar
rberti rberti is offline
Member
 
Join Date: Feb 2007
Location: São Paulo
Posts: 62
rberti is on a distinguished road
Baan: BaaN IV, Baan V, LN - DB: Oracle, Informix - OS: UNIX
Tiv concept extends only to LN

I just saw that TIV concept is only avaliable on LN...

Take a look at the topic down:

Quote:
SSA ERP LN 6.1 Programmers Guide


Tools Interface Version (TIV)

--------------------------------------------------------------------------------

The Tools Interface Version (TIV) is a concept supported by the SSA ERP LN Enterprise Server to guarantee backwards compatibility. By setting a TIV number to each object the behaviour can be different for incompatible features executed with different versions of the porting set or SSA Enterprise Engine. The TIV number is a property of the program and library scripts, and can be defined in session "Program Scripts / Libraries (ttadv2530m000)". The bshell also have its own TIV number.

Supported TIV numbers
The supported TIV numbers related to porting set versions are listed below.

TIV Description
0 - 999 Supported TIV levels for porting set 7.5a and 7.6a
1000 Initial TIV level for porting set 7.5a
1001 Ftp functions added for portingset 7.5x
1010 Initial TIV level for porting set 7.6a
1011 Ftp functions added for portingset 7.6x
1012 Functions for Outbound Publishing
1020 New functions in Bundle 2
I´ve had trouble once with some functions that didn't work within the tiv version I was, and there is also some posts about it in the forum.

http://www.baanboard.com/baanboard/s...ight=%22TIV%22

http://www.baanboard.com/baanboard/s...ight=%22TIV%22

http://www.baanboard.com/baanboard/s...ight=%22TIV%22

Sorry couldn't help more.
Regards,

Rafael
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
Programming Question mr_suleyman Tools Development 37 11th November 2016 08:14
Setting a form field default value pjohns Tools Development 7 13th June 2012 05:36
Form Field Order Eddie Monster Tools Development 3 23rd August 2006 19:58


All times are GMT +2. The time now is 04:15.


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