Create Fields in Existing Tables

kenl
Member Posts: 182
Hello,
When we add fields to exisiting tables, is there any rule for it?
I found that for Purchase Header and Sales Header, the existing fields are "related".
(The same case apply to Purchase line and Sales Line)
The the same field number, the data type are matched.
When we add fields to existing table, (like Purchae Header/ Sales Header), should we apply this rule ? Same dataType for same field Number for both tables ?
Thanks,
Ken[/list]
When we add fields to exisiting tables, is there any rule for it?
I found that for Purchase Header and Sales Header, the existing fields are "related".
-
Field
1. Document Type
2. Sell-to No / Buy-from No
3. No.
4. Bill-to No / Pay-to No
......
(The same case apply to Purchase line and Sales Line)
The the same field number, the data type are matched.
When we add fields to existing table, (like Purchae Header/ Sales Header), should we apply this rule ? Same dataType for same field Number for both tables ?
Thanks,
Ken[/list]
0
Comments
-
kenl wrote:When we add fields to existing table, (like Purchae Header/ Sales Header), should we apply this rule ? Same dataType for same field Number for both tables ?
it is very useful to use same numbers for same fields. If you add the same fields in Purchase and Sales Header its just useful for a good survey (and its navision standard, so its reasonable to do that). But if you need fields in Sales Header and Sales Invoice Header for example I would recommend to use same numbers and datatypes, as you can use TRANSFERFIELDS then.0 -
It's more important to have the same numbers/names/types in tables that folow the same process, so from Sales Header to Sales Shipment Header and Sales Invoice Header. The posting routines already has a TRANSFERFIELDS command in there, so 9 times out of 10 that will already take care of a field flowing from order to posted documents.
Other than that it just makes it easier for you to maintain the development if you use the same numbers etc.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