Baanboard.com

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

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

Poll
What do you expect from your SI Implementation partner for the success of ERP implementation.
Bring best practices - Not to offer more CR's Leveraging standard functions
20%
Need more honesty to work with the Users until their processes are fully mapped & Users are trained
40%
Focus on process automation/ integrations/ Real time data/ BI analytics
13%
Stick to basics
27%
Total votes: 15

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 31st March 2023, 15:13
peter Maher peter Maher is offline
Newbie
 
Join Date: Mar 2023
Posts: 1
peter Maher is on a distinguished road
Baan: Baan 4.0 - DB: oracle - OS: windows
Data dictionary Extract via SQL
Baan: Other/Unknown
C/S: None/Unknown

Hi All

I hope someone can advise.

I have ODBC access to BAAN.
Is there a sql statement I can run to extract the table definition, column name ,type , table join if FK and description etc?

I do not have user access to BAAN only ODBC (SQL) access as I am a report writer.

Many thanks in advance.

Kind Regards.
Reply With Quote
  #2  
Old 3rd April 2023, 21:26
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,819
mark_h will become famous soon enoughmark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
I don't have a sql statement to run but I would look at ttadv420(table definitions), ttadv421(indexes) and ttadv422(table fields). Of course you will need to know which VRC is active for a table. I can't imagine doing this without baan access. Plus these tables are in company 000. So in pl/sql ttiitm001101.t$copr would reference a production table with information and some thing like select * from baan.tttadv420000 would get the tools tables. Hopefully someone can give you more information.
__________________
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 4th April 2023, 15:27
OmeLuuk's Avatar
OmeLuuk OmeLuuk is offline
Guru
 
Join Date: Mar 2002
Location: NetherBelgium
Posts: 1,376
OmeLuuk will become famous soon enough
Baan: Infor LN 6.1 10.2.1 > 10.7 - DB: MS SQL2017 - OS: VM WindowsServer2016
Quote:
Originally Posted by mark_h View Post
.... Hopefully someone can give you more information.
Think of Baan as being a relational database management system that not only stores the predefined data in predefined tables but also stores the database structure itself in so called "tools tables" together with almost all that is needed to use that database system. Look at this as Data Dictionary.

Downloading the structure itself is quite a feat, specially when you know a bit of the complexity that is possible with the so called derivation structure, as some stored tools components are not used because another component (database record) takes precedence. Like an update on a table is used instead of the primary record, given the update is present. Or customizations that take precedence over a standard component.

When you want only the current database structure (and its limitations) specially for one table, you better search for the RDD file, which is short for Runtime Data Dictionary ("the current version in a machine (and human) readable version without database access") for the current Package Combination.

These files (one per table with the current settings and one for the domains per package) are located in ${BSE}/dict/.

Those files give good insight in the database structure.
__________________

Also read Luke 24:4-8

After that you can find many answers on Infor, LN, BaanIV, BaanV, InforLN and ION and even some questions asked here on baanboard.com
Reply With Quote
  #4  
Old 28th April 2023, 12:17
Bruce21's Avatar
Bruce21 Bruce21 is offline
Member
 
Join Date: Jan 2004
Location: Austria
Posts: 47
Bruce21 is on a distinguished road
Baan: 4, ERPLN - DB: Oracle - OS: Win2000, Win2003
i have written a tool which will read and transform the data dictionary of ln - result is a view which is "human-readable". if you are interested please let me know.
Features out of the box includes like fieldnames in selectable language , enum and datetime conversion, mssql/oracle support and some more
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
Application data dictionary vs. run-time data dictionary NPRao Tools Development 5 7th July 2009 09:16
Strange error while importing tables: Can not create index 9999 eppesuiG Tools Administration & Installation 8 17th March 2008 05:35
ERPJewels Hitesh Shah Third Party Products 10 6th November 2006 06:38
Difference between application data dictionary and runtime data dictionary? jack786 Tools Development 3 21st August 2004 03:04


All times are GMT +2. The time now is 00:30.


©2001-2023 - Baanboard.com - Baanforums.com