Not sure what version of NAV you are using but you will first have to create the Transaction field in Gen. Journal line table, next in codeunit 80 search for the text // Post sales and VAT to G/L entries from posting buffer, in here put the code Genjnlline.transaction := Transaction type; Then go to Codeunit 12 and search for Glentry.init; in there put the code Glentry.transaction := genjnlline.transaction.
↧