Hi Dinhson, Did you do what sbhatbng suggested? Then you need one more step. You need to copy it from sales header to gen. journal lines, before you can copy it to g/l entry table. That's done in codeunit 80. All the steps you need to take to make a field from sales order post to the g/l entry table is: 1) Create your field in Sales Header Table (Transaction Type) 2) Create same field in both general journal line and g/l entry table. 3) In codeunit 80, where gen.journal line is initiated with the values from the sales header: Add your field like Transaction := SalesHeader."Transaction Type" 4) In codeunit 12, where it initiates the values in G/L Entry table from the Gen. Journal lines.
↧