About Table relationship

njaiku
Member Posts: 116
Hi,
I hope all are fine.
Suppose if i have 5 Master tables which is linked to 5 or 10 supplemental tables. I have to create one form with the following fields.
Table,Linked table,Relationship(that is Keys). with the process comand button.
By selecting one of the master table, When I click the process button, it must display the table that is related to the other table , in the Relationship field it must show the primary keys that is linked.
Is it possible in Navision?
I hope all are fine.
Suppose if i have 5 Master tables which is linked to 5 or 10 supplemental tables. I have to create one form with the following fields.
Table,Linked table,Relationship(that is Keys). with the process comand button.
By selecting one of the master table, When I click the process button, it must display the table that is related to the other table , in the Relationship field it must show the primary keys that is linked.
Is it possible in Navision?
Jai
0
Comments
-
:-k
Interesting question...
You could use the Field system table to get the possible relations of a table.
In the Field table there are fields like: RelationTableNo and RelationFieldNo which you can use to open your target table.
To be able to get an idea create a new report with dataitem the record Field.
You could also make a custom table with your desired columns (table id, table name, relation to table, e.t.c.) and fill it with info from the Field system record when opening a form.0 -
If the master tables and also the linked tables are for a big part the same, you can use the system of tables 36-37.
In it you info of (sales) orders,invoices,quotes,credit memo's, return orders,...
Maybe this gives you what you need.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thank u so much. But can you able to tell me which are the Field related system tables?Jai0
-
Table "Field" is the only one.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions