drill down
gtrennert
Member Posts: 2
Hello,
I would like to use the drill down functionnality to record changes to à history table. This seems to be possible - the budget module seems to do this (entering à new budget value => record to budget ledger of changes) - but I don't understand how it works !
details :
this should manage reevaluations in a very simple way :
a form on item ledger with a specific flowfield called Reevaluation Amount. the flowfield is the sum of aan amount field in a new table. when entering a value in the flowfield, it records it in the new table but I need to get there the item ledger entry n° too !
I would like to use the drill down functionnality to record changes to à history table. This seems to be possible - the budget module seems to do this (entering à new budget value => record to budget ledger of changes) - but I don't understand how it works !
details :
this should manage reevaluations in a very simple way :
a form on item ledger with a specific flowfield called Reevaluation Amount. the flowfield is the sum of aan amount field in a new table. when entering a value in the flowfield, it records it in the new table but I need to get there the item ledger entry n° too !
0
Comments
-
Well gtrennert,
The fact is Navision is misusing a Navision bug. In my humble opinion the functionality Navision made is very wrong.
So before explaining how it works, let me just say something to the developer of the lovely peace of development... You are a bad man, very bad man... (Please think of the Babau accent from Seinfeld yourself)
When you create a flowfield you should ALWAYS!!! make it non-editable. If you do not make it non-editable changes are you'll mess up your database. The field you are asking about is a flowfield gone mad! It's an editable flowfield. If you enter a value, Navision will automatically create new records in the table this field flow on (to, whatever it is called).
Better is to create your own little function that create records based on the value you enter. Then call this function in the onvalidate of your field. Just make some code that opend a form and call it from the Ondrilldown trigger of the field on the form to make it look like a flowfield. And.... you're done!
Hope... I got your question right, would be a pitty to have written all this for nothing!"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0
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