where ever u see
codes such as 'RunGenJnlPostLine(GenJnlLine,########);' .......... these function are used for transfering the record of general jounral to code unit 12 where actual gl entries are made ... hope this helps
There is no exact line that does it.
In Navision, the the lines are grouped per account no, dimensions and possibly other fields to avoid creating 1 G/L account entry per line.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
does anyone have a chart/diagram or any resource that shows the process flows within the sales-post, i am trying to add fields to the "Cust Ledger Entry" table from the "sales header"
There are posts with info on how to do it, but I don't remember which.
Some hints:
You need to create the field in T36:"Sales Header", T81:"General Journal Line", T21:"Cust. Ledger Entry.".
In codeunit 80, you have to search where codeunit 12:"Gen. Jnl.-Post Line" is called. Just before the call you have to put the field from T36 into T81.
In codeunit 12, you have to search for "INSERT". Just before the INSERT into table 21, you need to move the field from T81 to T21.
It is not so difficult, it is just searching for those points and put 1 line of assignment to get it working.
PS 1 last advice : give the new field the same UNIQUE field ID in all your tables where it is used. E.g. You give it ID=90000 in all tables. This means that NO OTHER field can have ID=90000. It is a trick I use and it helps a lot in certain circumstances.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
In Codeunit 80 the Codeunit 12 ("Gen. Jnl.-Post Line") is called so many times. How to know before which CALL shall I put my coding to copy a field from Sales Header to Gen. Jnl line's new field (which in turn will be copied to Cust ledger entry)
Yes you are absolutely right because I put my code in one place & was not able to see the field updates in "Service Tax" entry.
Will copy the same before every call.
Hi guys ,
Like transfering field to cust.ledger entry from sales header, I would like to do to transfer from sales header to g/l entry can anyone suggest me on how do this..
Thanks
Bharath k
In codeunit 80, transfer the fields from sales header to general journal line.
In codeunit 12, transfer the fields from general journal line to G/L entry
And do use hooks (and events for later versions)!
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Comments
codes such as 'RunGenJnlPostLine(GenJnlLine,########);' .......... these function are used for transfering the record of general jounral to code unit 12 where actual gl entries are made ... hope this helps
In Navision, the the lines are grouped per account no, dimensions and possibly other fields to avoid creating 1 G/L account entry per line.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
that is true !!
There are posts with info on how to do it, but I don't remember which.
Some hints:
You need to create the field in T36:"Sales Header", T81:"General Journal Line", T21:"Cust. Ledger Entry.".
In codeunit 80, you have to search where codeunit 12:"Gen. Jnl.-Post Line" is called. Just before the call you have to put the field from T36 into T81.
In codeunit 12, you have to search for "INSERT". Just before the INSERT into table 21, you need to move the field from T81 to T21.
It is not so difficult, it is just searching for those points and put 1 line of assignment to get it working.
PS 1 last advice : give the new field the same UNIQUE field ID in all your tables where it is used. E.g. You give it ID=90000 in all tables. This means that NO OTHER field can have ID=90000. It is a trick I use and it helps a lot in certain circumstances.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
So the best is that you put it in all calls.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Will copy the same before every call.
Like transfering field to cust.ledger entry from sales header, I would like to do to transfer from sales header to g/l entry can anyone suggest me on how do this..
Thanks
Bharath k
pri_1_ranjan served the best hint.
I use the free GDT software.
In codeunit 12, transfer the fields from general journal line to G/L entry
And do use hooks (and events for later versions)!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!