Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
Does BaanBoard need a new forum entry for Questions related to Extensions / ION Interfacing: BOD and BDE?
Why Bother, nobody reads here ...
0%
Just drop all the questions in the http://www.baanboard.com/baanboard/forumdisplay.php?f=8 Tools Development forum
27%
Extensions are a different ball-game: they need a new forum entry
27%
ION Interfacing - BOD and BDE is a different ball-game: they need a new forum entry
27%
Just create two different forums and see what will happen...
13%
What are you talking about? Something new? Leave things as they are!
7%
Total votes: 15

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 21st April 2021, 12:40
RobertP RobertP is offline
Member
 
Join Date: Mar 2003
Location: South Africa Cyprus Canada
Posts: 63
RobertP is on a distinguished road
Baan: 4 or 5 - DB: Oracle - OS: Unix
Help / Info on vrc_search_table() in ottdllvrcsearch
Baan: Infor ERP 10.7
C/S: None/Unknown

Hello,

Function vrc_search_table() is located within tools DLL ottdllvrcsearch.

I cannot find help/info anywhere for either -- note - there's no reference in my programmers manual (LN10.x version)

For instance vrc_search_table(). The forth variable seems to relate to array depth.

I'd like to know what these tools are capable of. Any help or documentation would be appreciated.

Thanks folks
__________________
Better to die on your feet than live on your knees
Reply With Quote
Sponsored Links
  #2  
Old 21st April 2021, 15:06
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,639
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
In 4c4 I only used it once to play with locating domains and where they might be used. So basically you started in the PRD vrc, if the table was not in that VRC, it found a parent and checked it, so on and so fourth. I never really found a good use for it. Not sure if it changed going to LN or not.
Code:
| VRC Stuff
	extern	domain	ttadv.vers	curr.tver(2)
	extern	domain	ttadv.rele	curr.trel(2)
	extern	domain	ttadv.cust	curr.tcus(2)
	extern	domain	tcmcs.str10	cvrc

| Get starting VRC for each table. Using users current package/vrc.
		get_current_pvrc()
		
| Search VRC will return true when the curr fields point to the lastest
| VRC for the table.
		rc = 0
		while rc = 0 and strip$(curr.tver(1,1)) <> ""
			rc = vrc_search_table(ttadv422.cpac,ttadv422.cmod,ttadv422.flno,
				tdep,curr.tver,curr.trel,curr.tcus)
			if rc = 0 then
				get_parent_pvrc()
			endif
		endwhile

|******************************************************************************
| Used to get the users current VRC.  You always want to start in that VRC.
|******************************************************************************
function get_current_pvrc()
{
	select	ttadv040.*
	from	ttadv040
	where	ttadv040.user = :logname$
	and	ttadv040._compnr = 0
	as set with 1 rows
	selectdo
	endselect
	curr.tver(1,1) = ttadv040.vers
	curr.trel(1,1) = ttadv040.rele
	curr.tcus(1,1) = ttadv040.cust
}

|******************************************************************************
| Used to get the "derived from" VRC for a given VRC.
|******************************************************************************
function get_parent_pvrc()
{
	domain	ttadv.vers	tver
	domain	ttadv.rele	trel
	domain	ttadv.cust	tcus

	tver = curr.tver(1,1)
	trel = curr.trel(1,1)
	tcus = curr.tcus(1,1)

	select	ttadv111.*
	from	ttadv111
	where	ttadv111._index1 = {:ttadv422.cpac,:tver,:trel,:tcus}
	and	ttadv111._compnr = 0
	as set with 1 rows
	selectdo
		curr.tver(1,1) = ttadv111.vedf
		curr.trel(1,1) = ttadv111.redf
		curr.tcus(1,1) = ttadv111.cudf
	selectempty   
		curr.tver(1,1) = ""
	endselect
}
__________________
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 21st April 2021, 17:50
RobertP RobertP is offline
Member
 
Join Date: Mar 2003
Location: South Africa Cyprus Canada
Posts: 63
RobertP is on a distinguished road
Baan: 4 or 5 - DB: Oracle - OS: Unix
Hi Mark

Thanks. I'm already using the function in the manner you described but:
1 - I recon it can do more, and
2- The DLL contains additional functions

Was hoping to find some official documentation.

I think an older Baan (4 or 5) programmers manual contained help on this. Do you have access?

Any help appreciated.
Thanks
__________________
Better to die on your feet than live on your knees
Reply With Quote
  #4  
Old 21st April 2021, 17:53
RobertP RobertP is offline
Member
 
Join Date: Mar 2003
Location: South Africa Cyprus Canada
Posts: 63
RobertP is on a distinguished road
Baan: 4 or 5 - DB: Oracle - OS: Unix
For instance vrc_search_table().

-- The forth variable seems to relate to array depth.
-- The function expects arrays

this hints at return of multiple vrc's.

Where would this functionality be documented?
__________________
Better to die on your feet than live on your knees
Reply With Quote
  #5  
Old 21st April 2021, 18:21
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,639
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
I never saw any documentation on tools libraries - not that I recall. I search my old documents but nothing popped up. I did find this old thread from 2002 http://www.baanboard.com/baanboard/s...c_search_table which mentions it.
__________________
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
  #6  
Old 22nd April 2021, 10:24
RobertP RobertP is offline
Member
 
Join Date: Mar 2003
Location: South Africa Cyprus Canada
Posts: 63
RobertP is on a distinguished road
Baan: 4 or 5 - DB: Oracle - OS: Unix
Mark, great link. Thanks. I never used ttstpobjinfo before. It worked perfectly. Posting the info in case anyone else needs this info in future.



Date : 21-04-22 [09:07, Eur] Object information Page : 1
Standard Data Company : 0000

--------------------------------------------------------------------------------
Object Information
--------------------------------------------------------------------------------
Path
--------------------------------------------------------------------------------
Object = ottdllvrcsearch
Pathname = D:/ssa61/tools/tt7.6_a/ottdll/odllvrcsearch
product ID = 0

--------------------------------------------------------------------------------
Header
--------------------------------------------------------------------------------
Magic = [_bic_dll_]
relno = 72
TIV = 1900
obj_revision = 1
object_flags = 8=DLL
enddate = 2019-12-01

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
function extern create.ttadv113(
)

ttadv111 record should be filled. For this record ttadv113 structure
will be created

function extern delete.ttadv113(
)

ttadv111 record should be filled. For this record ttadv113 structure
will be deleted

function extern repair.ttadv113(
)

Desc: Repair ttadv113 table. This table will be filled with information from
table ttadv111.
Pre: -
Post: ttadv113 has been modified, record of ttadv111 has been set
retry point and commit has been done

function extern long vrc_search_afil(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.pblb afil mb,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv270 has been set.
Ret: < 0 found function is expired
0 function not found
> 0 function found, position of newest function within VRC-tree is returned
Desc: Search for the newest Additional File, based on the specified VRC-tree.
In: cpac, cmod, pblb identifies the function to search for




Date : 21-04-22 [09:07, Eur] Object information Page : 2
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_chart(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttchm.chmn chmn,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttchm100 has been set.
Ret: < 0 found chart is expired
0 chart not found
> 0 chart found, position of newest chart within VRC-tree is returned
Desc: Search for the newest chart, based on the specified VRC-tree.
In: cpac, cmod, chmn identifies the chart to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_domain(
domain ttadv.cpac cpac,
domain ttadv.cdom cdom,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv400 has been set.
Ret: < 0 found domain is expired
0 domain not found
> 0 domain found, position of newest domain within VRC-tree is returned
Desc: Search for the newest domain, based on the specified VRC-tree.
In: cpac, cdom identifies the domain to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_dsession(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cses cses,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,




Date : 21-04-22 [09:07, Eur] Object information Page : 3
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv200 has been set.
Ret: < 0 found session is expired
0 session not found
> 0 session found, position of newest session within VRC-tree is returned
Desc: Search for the newest dynamic session, based on the specified VRC-tree.
In: cpac, cmod, cses identifies the session to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_form(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cfrm cfrm,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed,
[ long search.in.clan ] )

Pre: -
Post: if return <> 0 then current record of ttadv300 has been set.
Ret: < 0 found form is expired
0 form not found
> 0 form found, position of newest form within VRC-tree is returned
Desc: Search for the newest form, based on the specified VRC-tree. Form first
searched in language 2, then in language clan
In: clan, cpac, cmod, cfrm identifies the form to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time
search.in.clan = [optional] if true, form is not first searched in language
in clan. If found, form is returned (pre-LTS behaviour)

function extern long vrc_search_formdump(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cfrm cfrm,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv312 has been set.
Ret: 0 form dump not found
> 0 form dump found, position of newest object within




Date : 21-04-22 [09:07, Eur] Object information Page : 4
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
VRC-tree is returned
Desc: Search for the newest form dump belonging to the given form,
based on the specified VRC-tree.
In: clan, cpac, cmod, cfrm identifies the form to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record
and depends on the package of the component and whether this
information is needed during runtime or development time

function extern long vrc_search_function(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cfun cfun,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv260 has been set.
Ret: < 0 found function is expired
0 function not found
> 0 function found, position of newest function within VRC-tree is returned
Desc: Search for the newest function, based on the specified VRC-tree.
In: cpac, cmod, cfun identifies the function to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_impl(
domain ttadv.cpac cpac,
domain ttadv.impl impl,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed,
[ domain ttadv.cmod cmod ] )

Pre: -
Post: if return <> 0 then current record of ttadv700 has been set.
Ret: < 0 found business object is expired
0 business object not found
> 0 business object found, position of newest business object within VRC-tree i
returned
Desc: Search for the newest business object, based on the specified VRC-tree.
In: cpac, cmod, impl identifies the business object to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_impl_lname(




Date : 21-04-22 [09:07, Eur] Object information Page : 5
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
domain ttadv.frmtl lowercase.name,
domain ttadv.cpac cpac,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv700 has been set.
Ret: 0 business object not found
> 0 business object found, position of newest business object within
VRC-tree is returned
< 0 business object is expired
Desc: Search for the newest business object, based on the specified VRC-tree
and the specified Business Object name in lowercase.
In: cpac Package belonging to the Business Object
lowercase.name identifies the business object to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and
depends on the package of the component and whether this information is
needed during runtime or development time.

function extern long vrc_search_label(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.clab clab,
long lhgt,
long leng,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed,
[ domain ttadv.cont context ] )

Pre: -
Post: if return <> 0 then current record of ttadv140 has been set.
Ret: < 0 found label is expired
0 label not found
> 0 label found, position of newest label within VRC-tree is returned
Desc: Search for the newest label, based on the specified VRC-tree.
In: clan, cpac, clab, lhgt, leng identifies the label to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time
The context can be given along as a optional argument. If not given, the
default context 'ttadv.cont.general' is assumed

function extern long vrc_search_label_any_length_any_context(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.clab clab,
long tdep,
ref domain ttadv.vers tver() fixed,




Date : 21-04-22 [09:07, Eur] Object information Page : 6
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv140 has been set.
Ret: < 0 found label is expired, position of newest label within VRC-tree is r
a negative number
0 label not found
> 0 label found, position of newest label within VRC-tree is returned
Desc: Search for the newest label variant with context general or external, bas
specified VRC-tree and that is not expired. If all variants are expired, the ne
is returned as a negative number.
In: clan, cpac, clab, lhgt, leng identifies the label to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern vrc_search_label_desc(
domain ttaad.clan clan,
domain ttcdes find.desc mb,
ref domain ttadv.lhgt find.height,
ref domain ttadv.llen find.length,
ref domain ttadv.clab find.clab,
[ domain ttadv.cont context ] )

function extern long vrc_search_label_txtc(
domain ttadv.cpac cpac,
domain ttadv.clab clab,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

function extern long vrc_search_library(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cprs cprs,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv230 has been set.
Ret: < 0 found script is expired
0 script not found
> 0 script found, position of newest script within VRC-tree is returned
Desc: Search for the newest script, based on the specified VRC-tree.
In: cpac, cmod, cprs identifies the script to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time




Date : 21-04-22 [09:07, Eur] Object information Page : 7
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------

function extern long vrc_search_menu(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cmen cmen,
domain ttadv.parm parm,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed,
[ long search.in.clan ] )

Pre: -
Post: if return <> 0 then current record of ttadv360 has been set.
Ret: < 0 found menu is expired
0 menu not found
> 0 menu found, position of newest menu within VRC-tree is returned
Desc: Search for the newest menu, based on the specified VRC-tree. Menu first
searched in language 2, then in language clan
In: clan, cpac, cmod, cmen, parm identifies the menu to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time
search.in.clan = [optional] if true, menu is not first searched in language
in clan. If found, menu is returned (pre-LTS behaviour)

function extern long vrc_search_menudump(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cmen cmen,
domain ttadv.parm parm,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv365 has been set.
Ret: 0 menu dump not found
> 0 menu dump found, position of newest object within
VRC-tree is returned
Desc: Search for the newest menu dump belonging to the given menu,
based on the specified VRC-tree.
In: clan, cpac, cmod, cmen, parm identifies the menu to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record
and depends on the package of the component and whether this
information is needed during runtime or development time

function extern long vrc_search_mess(
domain ttaad.clan clan,




Date : 21-04-22 [09:07, Eur] Object information Page : 8
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
domain ttadv.cpac cpac,
domain ttadv.cmes cmes,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv450 has been set.
Ret: < 0 found message is expired
0 message not found
> 0 message found, position of newest message within VRC-tree is returned
Desc: Search for the newest message, based on the specified VRC-tree.
In: clan, cpac, cmes identifies the message to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_newest_textcode(
domain ttadv.cpac cpac,
domain ttadv.txtc txtc,
long tdep,
ref domain ttadv.vers vers,
ref domain ttadv.rele rele,
ref domain ttadv.cust cust )

Pre: -
Post: if return <> 0 then current record of ttadv160 has been set.
Ret: < 0 found textcode is expired
0 textcode not found
> 0 textcode found, position of newest textcode within VRC-tree is returned
Desc: Search for the newest textcode, based on the specified VRC.
In: cpac, txtc identifies the textcode to search for
tdep contains the depth of the vrc search tree
vers, rele, cust contains the start version to search

function extern long vrc_search_object(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cprs cprs,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv239 has been set.
Ret: < 0 found object is expired
0 object not found
> 0 object found, position of newest object within VRC-tree is returned
Desc: Search for the newest object belonging to the given script, based on the
In: cpac, cmod, cprs identifies the script to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree




Date : 21-04-22 [09:07, Eur] Object information Page : 9
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_ques(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.cque cque,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv460 and ttadv461 has been set.
Ret: < 0 found question is expired
0 question not found
> 0 question found, position of newest question within VRC-tree is returned
Desc: Search for the newest question, based on the specified VRC-tree.
In: clan, cpac, cque identifies the question to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_ques2(
domain ttadv.cpac cpac,
domain ttadv.cque cque,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv460 has been set.
Ret: < 0 found question is expired
0 question not found
> 0 question found, position of newest question within VRC-tree is returned
Desc: Search for the newest question (only language independent data),
based on the specified VRC-tree.
In: cpac, cque identifies the question to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_repobj(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.crep crep,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,




Date : 21-04-22 [09:07, Eur] Object information Page : 10
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv336 has been set.
Ret: < 0 found report object is expired
0 report object not found
> 0 report object found, position of newest object within VRC-tree is returned
Desc: Search for the newest report object belonging to the given report, based
VRC-tree.
In: clan, cpac, cmod, crep identifies the report to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_report(
domain ttaad.clan clan,
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.crep crep,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed,
[ long search.in.clan ] )

Pre: -
Post: if return <> 0 then current record of ttadv330 has been set.
Ret: < 0 found report is expired
0 report not found
> 0 report found, position of newest report within VRC-tree is returned
Desc: Search for the newest report, based on the specified VRC-tree. Report fir
searched in language 2, then in language clan
In: clan, cpac, cmod, crep identifies the report to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time
search.in.clan = [optional] if true, report is not first searched in languag
in clan. If found, report is returned (pre-LTS behaviour)

function extern long vrc_search_script(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cprs cprs,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv230 has been set.
Ret: < 0 found script is expired
0 script not found




Date : 21-04-22 [09:07, Eur] Object information Page : 11
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
> 0 script found, position of newest script within VRC-tree is returned
Desc: Search for the newest script, based on the specified VRC-tree.
In: cpac, cmod, cprs identifies the script to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_session(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,
domain ttadv.cses cses,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv200 has been set.
Ret: < 0 found session is expired
0 session not found
> 0 session found, position of newest session within VRC-tree is returned
Desc: Search for the newest session, based on the specified VRC-tree.
In: cpac, cmod, cses identifies the session to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_subscription_template(
domain ttadv.cpac cpac,
domain ttadv.frmt1 snam,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv765 has been set.
Ret: < 0 found subscription template is expired
0 subscription template not found
> 0 subscription template found, position of newest subscription template withi
VRC-tree is returned
Desc: Search for the newest subscription template, based on the specified VRC-t
In: cpac, snam identifies the subscription template to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_table(
domain ttadv.cpac cpac,
domain ttadv.cmod cmod,




Date : 21-04-22 [09:07, Eur] Object information Page : 12
Standard Data Company : 0000

--------------------------------------------------------------------------------
DLL Prototypes
--------------------------------------------------------------------------------
domain ttadv.flno flno,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv420 has been set.
Ret: < 0 found table is expired
0 table not found
> 0 table found, position of newest table within VRC-tree is returned
Desc: Search for the newest table, based on the specified VRC-tree.
In: cpac, cmod, flno identifies the table to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_textcode(
domain ttadv.cpac cpac,
domain ttadv.txtc txtc,
long tdep,
ref domain ttadv.vers tver() fixed,
ref domain ttadv.rele trel() fixed,
ref domain ttadv.cust tcus() fixed )

Pre: -
Post: if return <> 0 then current record of ttadv160 has been set.
Ret: < 0 found textcode is expired
0 textcode not found
> 0 textcode found, position of newest textcode within VRC-tree is returned
Desc: Search for the newest textcode, based on the specified VRC-tree.
In: cpac, txtc identifies the textcode to search for
tdep contains the depth of the vrc search tree
tver, trel, tcus contains the vrc search tree
Usually, the VRC-tree can be obtained from the ttadv111 record and depends o
the package of the component and whether this information is needed during r
or development time

function extern long vrc_search_topic_type(
domain ttadv.cpac cpac,
domain ttadv.sttp sttp,
domain ttadv.ttyp ttyp,
long tdep,
const domain ttadv.vers tver() fixed,
const domain ttadv.rele trel() fixed,
const domain ttadv.cust tcus() fixed )

pre Array tver/trel/tcus contains vrc search tree;
tdep = depth of vrc search tree.
return > 0: topic type defined by cpac/sttp/ttyp has been found and has not
expired, return value is equal to depth at which topic type
was found.
= 0: topic type not found.
< 0: found topic type has expired, return value is negative value
__________________
Better to die on your feet than live on your knees
Reply With Quote
  #7  
Old 22nd April 2021, 12:08
Juergen's Avatar
Juergen Juergen is offline
Guru
 
Join Date: Aug 2001
Location: Germany
Posts: 603
Juergen is on a distinguished road
Baan: IVc4, ERPLN - DB: Oracle - OS: Linux, Windows
Another posibility could be to use ttstpbaandoc - Generate Library Documentation

Regards,
Juergen
Reply With Quote
  #8  
Old 22nd April 2021, 16:27
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,639
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
That sounds really helpful. But some of us poor 4c4 stuck users do not have that option.
__________________
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
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
Background info for bshell options (BaanIV) victor_cleto Tools Administration & Installation 64 7th April 2020 17:58
Upgrade from 6.1c to 8.x porting set error ciavaglia Tools Administration & Installation 2 26th November 2012 17:37
Audit file structure baan_user Tools Development 8 4th May 2007 15:32
Problem with Porting Set 7.1c.03 for BaanERP 5.0b on Sun Solaris 5.0b baaniac Tools Administration & Installation 11 5th November 2003 08:23
Client Info NPRao Enhancements 1 14th May 2003 10:27


All times are GMT +2. The time now is 13:03.


©2001-2021 - Baanboard.com - Baanforums.com