Buffer Problem

vikram7_dabas
Member Posts: 611
Dear concern
When I am posting Sales order Codeunit 80 will run and in this codeunit InventoryPostingBuffer,InvoicePostingBuffer and many postingbuffers table used, Can anyone explain me the uses and benefits of those(Buffer) tables.If microsoft will not use those(Buffer) tables then what will happen?Please explain me in detail.
When I am posting Sales order Codeunit 80 will run and in this codeunit InventoryPostingBuffer,InvoicePostingBuffer and many postingbuffers table used, Can anyone explain me the uses and benefits of those(Buffer) tables.If microsoft will not use those(Buffer) tables then what will happen?Please explain me in detail.
Vikram Dabas
Navision Technical Consultant
Navision Technical Consultant
0
Comments
-
Don't know in details, but in general buffers are used for some processing during posting, usually some data grouping. For instance: let's say you have 4 lines on sales invoice. All are of type G/L, and 2 of them have even same No and VAT 20%. The other 2 lines have different No, one of them 15% VAT and the other 20 % VAT. After posting you will not have all 4 of these lines in G/l Entry but just unique 3, and in VAT Entry you will not have 4 lines but just unique 2. If you want to know about a certain buffer in details, you will have to analyse the code using it. However buffer tables must stay where they are
and you mustn't change anything in them, otherwise you can brake the business logic very badly.
0 -
Dear concern
From where I can get the usage of PostingBuffer tables used in Codeunit 80 and 90 in details?0 -
I don't think you'll find documentation on this subject. Maybe you better say what is, that you want to achieve using these buffers, so others can suggest you the solution.0
-
Dear concern
Ya, vikram is right we r developers and we should know the uses of buffer table that r used in CU's.Anybody can explain in Detail.0 -
There isn't a document that's going to explain every line of Navision code to you. It's just like any other program that you'd modify: Other developers have worked on it and there's not great documentation (although it is pretty good for the most part).
Turn debugger on as well as breakpoint on triggers. Post some orders and step through the process. It will take several hours, but you should understand it much better when you are done. If you plan on doing Navision for a while this will be important skill to have, that is figuring out what huge bits of code are doing.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