Temp. Table & License Permission
navuser1
Member Posts: 1,334
Dear Sir,
Suppose there is a custom Table (ID 10,000) in your database & it's not permitted to access (Insert/delete/Modify) through your customer license.
But you can use its Temporary instance in your program. \:D/
Suppose there is a custom Table (ID 10,000) in your database & it's not permitted to access (Insert/delete/Modify) through your customer license.
But you can use its Temporary instance in your program. \:D/
Now or Never
0
Comments
-
Can you give an example how you can use that?
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
Just one example: I have used that in a customer report for collecting countless unsorted serial numbers, sorting them at runtime for a neat consecutive printout, using the temporary table as a dataitem.
Can ease your life as a developer on quite a number of occasions (in all NAV versions, I first saw that being used in 2.01
)
It does have some drawbacks too, if your customers do their own development work, as they will sometimes stumble upon these tables:
- when they try to export modified objects for a source code merge to reconcile the production database with the test database
- when they try to modfiy objects where you have used these unlicensed tables
since these are not included in their license.Kai Kowalewski0 -
:-k
And that temporary table that you're using is a customized table outside of the range of customer with the desired key you want?
I think I get it.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
You can use any table as the source for a temporary record variable, whether you have it in your license or not. Used that way it's really just a programming construct, not an actual table.0
-
Exactlytinoruijs wrote:And that temporary table that you're using is a customized table outside of the range of customer with the desired key you want?
. In my case both key and field structure were needed to give the document the required good looks.
Just for sorting , you could use any table with an approiate key as a temporary instance , but always make sure that it really is "Temporary".
In case you forget to set this property, the usual DELETEALL on a table with records within the license range will have disastrous consequences, so it is safer to use tables outside of the license range.Kai Kowalewski0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions


