Baanboard.com

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

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 27th October 2008, 10:58
MilindV's Avatar
MilindV MilindV is offline
Senior Member
 
Join Date: Feb 2008
Location: Hyderabad, India
Posts: 107
MilindV is on a distinguished road
Baan: LN, BaaN-IVc4, BaaN-Vc - DB: SQL Server - OS: Windows, Unix
Exclamation Getting Version Release Code on Form
Baan: Other/Unknown
C/S: None/Unknown

Hello All,

In standard baan sessions export data dict or import data dict, when we select version the next 2 fields of release and customer gets populated automatically, How can do the same thing in my customized session?
How can i get release and customer automatically? Is the code written in the script of session ttadv1511m000 in zoom.from section. If this is the case, then How can achieve the same behavior in my customized session.

Thank You All
Milind V
Reply With Quote
  #2  
Old 27th October 2008, 11:07
george7a's Avatar
george7a george7a is offline
Guru
 
Join Date: May 2004
Location: Nazareth
Posts: 1,491
george7a is on a distinguished road
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 - DB: MS SQL, Oracle - OS: Windows 2000, 2003 & UNIX
Hi,

You should export the fields you want from the "zoomed to" session, and import those fields in your main session.

I hope it helps,

- George
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
Sponsored Links
  #3  
Old 27th October 2008, 11:51
MilindV's Avatar
MilindV MilindV is offline
Senior Member
 
Join Date: Feb 2008
Location: Hyderabad, India
Posts: 107
MilindV is on a distinguished road
Baan: LN, BaaN-IVc4, BaaN-Vc - DB: SQL Server - OS: Windows, Unix
Exclamation Vrc

Thanks George

What u said is correct, but i m zooming to standard session ttadv1511m000 Package VRCs to get Version Release Customer, so i cant export fields as u have suggested(standard session, standard script, cant modify standard).
Reply With Quote
  #4  
Old 27th October 2008, 12:53
george7a's Avatar
george7a george7a is offline
Guru
 
Join Date: May 2004
Location: Nazareth
Posts: 1,491
george7a is on a distinguished road
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 - DB: MS SQL, Oracle - OS: Windows 2000, 2003 & UNIX
You are right, I did not notice you are talking about the standard session ttadv1511m000.

What you can do then is:
Rename your session variables to: "vers", "rele" & "cust" as extern fields (vers should zoom to ttadv1511m000 only). They will be automatically filled after you return from ttadv1511m000.

I have just tested it and it works

- George
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
  #5  
Old 29th October 2008, 04:58
MilindV's Avatar
MilindV MilindV is offline
Senior Member
 
Join Date: Feb 2008
Location: Hyderabad, India
Posts: 107
MilindV is on a distinguished road
Baan: LN, BaaN-IVc4, BaaN-Vc - DB: SQL Server - OS: Windows, Unix
It Worked

Thanks A lot George

It worked.
Actually in my session there are two sets of VRC input fields; say ver1, rele1, cust1 and ver2, rele2, cust2. So, It was not possible for me to change both the sets of variable names to as you mentioned. So what I have done, declared the vers, rele and cust as extern and then after zoom section of ver1 and ver2 i assigned these values respectively as follows.


Quote:
field.vers.f:
after.zoom:
import("vers", vers.f)
import("rele ", rele.f)
import("cust", cust.f)

field.cw.vers.f:
after.zoom:
cw.vers.f = vers
cw.rels.f = rele
cw.code.f = cust
Reply With Quote
  #6  
Old 29th October 2008, 08:09
george7a's Avatar
george7a george7a is offline
Guru
 
Join Date: May 2004
Location: Nazareth
Posts: 1,491
george7a is on a distinguished road
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 - DB: MS SQL, Oracle - OS: Windows 2000, 2003 & UNIX
Nice trick
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
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
Undocumented Functions & Variables george7a Tools Development 81 30th September 2015 11:35
form code not allowed when copying a session alexpreyer Tools Administration & Installation 3 1st March 2007 10:25
Form without session code norwim Tools Development 6 13th February 2006 15:50
how to add computed field in a form without soucrce code ncgjiju Tools Development 7 26th August 2005 14:07
tfacp9450m000 FIBU Brush Up Kai's Forum Users Deutsches Forum 1 16th November 1999 00:00


All times are GMT +2. The time now is 17:16.


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