View Single Post
Old 4th June 2008, 18:16
Hitesh Shah's Avatar
Hitesh Shah Hitesh Shah is offline
Join Date: Nov 2001
Location: Mumbai,India
Posts: 1,853
Hitesh Shah is on a distinguished road
Baan: triton,Baan IVc4 , ERP Ln - DB: Oracle/Bisam/SQL 2000/SQL 2005 - OS: Sun Solaris/Windows 2003
display sessions and domains

It is not mandatory to use field 'ttadv301.zprg' to get session code . In fact if the form field code begins with 'tt' , it should be able to return the session code .

Further there are other displays sessions like ttadv2505s000 / ttadv2506s000 which gives more choice .e.g. U can get the session on any field code beginning with tf , tg and tu also. If the field code is table field from other packge , u can deploy following code in before.zoom section to get the session code .

timmmnnn.cccc =$("ttadv2506s000" ,z.session , "tuabcd","",0)
attr.zoomcode = 0
For display domains , it's very strict . The zoomname must be tuxch014.domn

	ttadv400.cpac  = tudll989.domn(1;2)
	cpac = tudll989.domn(1;2)
	ttadv400.cdom = tudll989.domn(3)
	tudll989.domn =$("ttadv4505s000",z.session,"tuxch014.domn","",0)
	attr.zoomcode = 0
Original discussion in may be relevent.

Last edited by Hitesh Shah : 4th June 2008 at 18:34. Reason: original link
Reply With Quote