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
  #76  
Old 30th October 2008, 16:29
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
Getting Table module and Table code together

Hi,

I hope this will be helpful.

To get Table-module(cmod) and code(flno) fields together(mmm999 format) after zooming out from standard session of Table Definitions(ttadv4520m000).

(Normally we get the single field after we zoom out from session as mentioned in field properties.)

Name your form-fields as table.f and table.t, zoom session will be standard session of Table Definitions(ttadv4520m000) and specify module(cmod) field as return field in field properties. This also return table code along with module.
Reply With Quote
  #77  
Old 31st October 2008, 05:25
Hitesh Shah's Avatar
Hitesh Shah Hitesh Shah is offline
Guru
 
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
getting table code

Another simple way to get the table code in ppmmnnn format without hardcoding the form field names is to zoom to ttadv3584m000 . And it will return the table code without any zoom return fields .
Reply With Quote
  #78  
Old 20th January 2009, 12:49
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
Clipboard functions

There are some undocumented clipboard functions in otgbrgtools DLL:

copy.to.clipboard
Code:
function extern copy.to.clipboard(
	 const string tag(),
	 const string mss() )

clear.clipboard
Code:
function extern clear.clipboard(
	 )

cut.to.clipboard
Code:
function extern cut.to.clipboard(
	 const string tag(),
	 const string mss() )

paste.from.clipboard
Code:
function extern paste.from.clipboard(
	 const string tag(),
	 ref string mss() )

Here is the full otgbrgtools DLL function:
Code:
function extern check.perm.lang(
	 domain ttaad.clan x,
	 ref long y )

function extern check.perm.mod(
	 domain ttadv.cmod x,
	 ref long y )

function extern check.perm.owner(
	 ref string x(),
	 ref long y )

function extern clear.clipboard(
	 )

function extern copy.to.clipboard(
	 const string tag(),
	 const string mss() )

function extern long create.path(
	 ref string path(),
	 long gmes )

function extern cut.to.clipboard(
	 const string tag(),
	 const string mss() )

function extern delete.menu.data(
	 domain ttaad.clan clan,
	 domain ttadv.cpac cpac,
	 domain ttadv.vers vers,
	 domain ttadv.rele rele,
	 domain ttadv.cust cust,
	 domain ttadv.cmod cmod,
	 domain ttadv.cmen cmen,
	 domain ttadv.parm parm,
	 domain ttyeno also.texts,
	 domain ttyeno also.objects,
	 [ long ignore.presence.of.linked.languages ] )

function extern long display.stp.info(
	 long newwindow,
	 long type,
	 long button,
	 const string msg(),
	 ... )

function extern dsk.ds2font(
	 const string fontds(),
	 ref long weight,
	 ref long slant,
	 ref long points )

function extern dsk.font2ds(
	 long weight,
	 long slant,
	 long points,
	 ref string fontds() )

function extern long dsk.load.font(
	 const string fontds(),
	 ref long width,
	 ref long height,
	 ref long baseline,
	 ref long charwidth )

function extern get.envpath(
	 domain ttadv.vers v,
	 domain ttadv.rele r,
	 domain ttadv.cust c,
	 domain ttadv.kord k,
	 domain ttadv.cpac p,
	 domain ttadv.cmod m,
	 string s(9),
	 domain ttaad.clan l,
	 long vr )

function extern get.home.dir(
	 )

function extern getbseenv(
	 ref string bsepath(),
	 ref string systemname() )

function extern iadv0002.read.perm(
	 )

function extern long iadv0007.integration(
	 domain ttadv.cpac cpac )

function extern long iadv0007.integration.including.tt(
	 domain ttadv.cpac cpac )

function extern long iadv0007.pvrc.in.pvrc(
	 domain ttadv.cpac component.cpac,
	 domain ttadv.vers component.vers,
	 domain ttadv.rele component.rele,
	 domain ttadv.cust component.cust,
	 domain ttadv.cpac current.cpac,
	 domain ttadv.vers current.vers,
	 domain ttadv.rele current.rele,
	 domain ttadv.cust current.cust )

function extern long iadv0300.dept.vrc(
	 ref string cpac(),
	 ref string from.vers(),
	 ref string to.vers(),
	 ref string from.rele(),
	 ref string to.rele(),
	 ref string from.cust(),
	 ref string to.cust() )

function extern long iadv0300.label.vrc.changed(
	 ref string clan(),
	 ref string cpac(),
	 ref string clab(),
	 long leng,
	 long lhgt,
	 long depth.vrc )

function extern long iadv0300.message.vrc.changed(
	 ref string clan(),
	 ref string cpac(),
	 ref string cmes(),
	 long depth.vrc )

function extern long integration.on.runtime(
	 domain ttadv.cpac cpac )

function extern long itttxt0008.determine.factor(
	 ref long multi.byte )

function extern long itttxt0008.multi.byte.input(
	 )

function extern paste.from.clipboard(
	 const string tag(),
	 ref string mss() )

function extern read.last.used(
	 ref string x() )

function extern read.rel(
	 )

function extern read.tt.par(
	 )

function extern reset.compnr(
	 )

function extern long search.path(
	 domain ttadv.cpac cpac fixed,
	 domain ttadv.vers vers fixed,
	 domain ttadv.rele rele fixed,
	 domain ttadv.cust cust fixed,
	 domain ttadv.kord kord,
	 ref string path() )

function extern set.compnr.0(
	 )

function extern strip.envpath(
	 ref string envpath(),
	 ref string home.dir() )

function extern long test.dir(
	 domain ttst200 path )

function extern long test.or.make.dir(
	 ref string path.buff(),
	 long gmes )

function extern write.last.used(
	 string x(250) )

function extern string zoom.to(
	 const string session(),
	 ... )
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
  #79  
Old 30th July 2009, 12:50
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
BMS Variables

BMS variables that are declared in standard sessions are not documented. Here is what I have found until now about them:

1) A predefined variable called "bms.sender.process" (long) and it contains the pid of the session that sent the message.
2) A predefined variable called "bms.sender.command" (long) that I am not sure what it is used for.
3) A predefined variable called "bms.sender.argument" (long) that I am not sure what it is used for.
4) A predefined variable called bms.answer(1) (string fixed based) that I am not sure what it is used for.

I will update this list when I find more about this issue.

- George
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
Sponsored Links
  #80  
Old 3rd August 2009, 09:58
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
Browsing the Server

This post talks about a useful function the can select or multi-select files and folders from your Baan server.

In the otgbrg0019 DLL you can find the following function (or something similar):
Code:
function extern long select.file(
	 domain tgfile path,
	 long multi.select.allowed,
	 ref string selected(,) fixed,
	 ref long no.of.selected,
	 long max.selected,
	 [ long only.directories ] )

Make sure you check (bic_info) the exact function definition on your server before you use it.
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
  #81  
Old 11th September 2014, 12:32
vamsi_gujjula's Avatar
vamsi_gujjula vamsi_gujjula is offline
Senior Member
 
Join Date: Nov 2011
Location: hyderabad ; india
Posts: 240
vamsi_gujjula is on a distinguished road
Baan: ERPLN fp3 and 10.4 - DB: oracle - OS: Aix , Redhat linux 6
Mentioned in the Program guide under edit$

Starting with TIV level 1640 the thousend separator and decimal sign can be overruled with the function
set.numformat.symbols(string decimal(1), string grouping(1) ).
The function reset.numformat.symbols() reverts to the normal behavior.
__________________
Regards,
Vamsi
Reply With Quote
  #82  
Old 30th September 2015, 11:35
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,355
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
Some more -

1.
Code:
string release(10)
release = bshell.release$()

Gives you the bshell release number.

2.
Code:
terminate.bshell()

Name says it all

3.
Code:
string portset(10)
portset = bse.portset$()

Gives you the porting set number

4. Socket functions still compile in LN but are not documented in latest Prog Guide
http://www.baanboard.com/programmers...m_sock_connect

5. You cannot use variable name as daynr1 or daynr2
(Atleast not in few versions of LN)

6. From ttdlldesc

A.
Code:
function extern domain ttdesc80 get.form.description.of.session(
	 domain ttaad.clan clan,
	 domain ttadv.cpac cpac,
	 domain ttadv.vers vers,
	 domain ttadv.rele rele,
	 domain ttadv.cust cust,
	 domain ttadv.cmod cmod,
	 domain ttadv.cses cses )

	pre	True
	post	True
	return	Form description of the session specified by the parameters;
		"" if form description of session could not be found.

B.
Code:
function extern domain ttcdes get.table.desc(
	 domain ttaad.clan clan,
	 domain ttadv.cpac cpac,
	 domain ttadv.vers vers,
	 domain ttadv.rele rele,
	 domain ttadv.cust cust,
	 domain ttadv.cmod cmod,
	 domain ttadv.flno flno )

	pre	True
	post	True
	return	Table description specified by the parameters;
		"" if table description could not be found.
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
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
Expanding Text variables lli-baan Tools Development 9 19th October 2012 16:30
How to set Environment variables for a session in a job baaniac Tools Development 3 4th September 2003 22:21
Undocumented functions in Baan 5... Ruskin Tools Development 0 4th September 2003 00:04


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


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