The form will behave like a normal form, but it will work on your temptable.
If you want to pass some other parameters, the easiest way is to pass them as filters.
E.g. you have a temptable on T27:item and you want to send also a customer no..
Sorry to disagree, but either the Subject of this thread is wrong, or the replies and content are wrong.
A buffer table is used in Navision posting routines to consolidate many lines of data into less lines that are similar.
For example, when you post AR in a sales invoice, you post just one GL and Cust entry for the amount due. This line is created using the Invoice Buffer table. Or when posting Inventory cost to GL, you can post per item ledger entry, or per posting group. Posting per group reduces the amount of data posted, and makes it easier to see what is going on. POS and retail systems are also good candidates for Buffer tables.
Sorry to disagree, but either the Subject of this thread is wrong, or the replies and content are wrong.
A buffer table is used in Navision posting routines to consolidate many lines of data into less lines that are similar.
For example, when you post AR in a sales invoice, you post just one GL and Cust entry for the amount due. This line is created using the Invoice Buffer table. Or when posting Inventory cost to GL, you can post per item ledger entry, or per posting group. Posting per group reduces the amount of data posted, and makes it easier to see what is going on. POS and retail systems are also good candidates for Buffer tables.
Well I went with the idea he meant a temporary table. But you are right, I should also have explained this. =D>
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Maybe change the Subject of the Thread, then in six months time when someone searches for "Temporary Table" and see my reply they will think "What is this Singleton guy talking about". #-o
A buffer table is used in Navision posting routines to consolidate many lines of data into less lines that are similar.
In addition to this there are some new buffer tables like 5821 "Item Statistics Buffer" that are not used for grouping or posting, but for calculation of statistical values. f.e. Report 712 applies flowfilters to this table to calculate the values printed.
I was under the impression that a buffer table has a physical structure but no data. That you create a global temp variable of this table and then use it to do some calculations or display the data?
I was under the impression that a buffer table has a physical structure but no data. That you create a global temp variable of this table and then use it to do some calculations or display the data?
Basically yes, but Buffer tables and Temporary tables are two completely different things. It just happens though that in the majority of cases, Buffer tables are as you say not inserted into the database, so in code you would generally create a Temporary Table of type Buffer table.
In simpler terms, a Temporary Table is a part of the fin.exe, so its a technical thing. A buffer table is a part of the business logic, and is created int he database.
There are some cases where buffer tables are inserted into the database, you will see this in Retail, where a days transactions are added to a buffer table, instead of being posted, and then at the end of the day the buffer is posted.
Answers
If you want to pass some other parameters, the easiest way is to pass them as filters.
E.g. you have a temptable on T27:item and you want to send also a customer no..
In the OnOpenForm of the form, you can check if there is a filter on "No." and you know that in reality it is the customer no. you send into the form.
There are also other ways of using temptables or passing parameters, but they are more complicated.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Forgot about that one! I was in the habbit of calling forms by:
But your suggestion works perfectly, thanks again!
Ewald Venter
A buffer table is used in Navision posting routines to consolidate many lines of data into less lines that are similar.
For example, when you post AR in a sales invoice, you post just one GL and Cust entry for the amount due. This line is created using the Invoice Buffer table. Or when posting Inventory cost to GL, you can post per item ledger entry, or per posting group. Posting per group reduces the amount of data posted, and makes it easier to see what is going on. POS and retail systems are also good candidates for Buffer tables.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I was under the impression that a buffer table has a physical structure but no data. That you create a global temp variable of this table and then use it to do some calculations or display the data?
Ewald Venter
Basically yes, but Buffer tables and Temporary tables are two completely different things. It just happens though that in the majority of cases, Buffer tables are as you say not inserted into the database, so in code you would generally create a Temporary Table of type Buffer table.
In simpler terms, a Temporary Table is a part of the fin.exe, so its a technical thing. A buffer table is a part of the business logic, and is created int he database.
There are some cases where buffer tables are inserted into the database, you will see this in Retail, where a days transactions are added to a buffer table, instead of being posted, and then at the end of the day the buffer is posted.