"Posting Description" for Item Journal to GL Entry

Greetings,

I am looking on how to provide a more meaningful description of the GL entries generated by item journals.

Based on what I have learned (in less than a month, so please bear with me), the ledgers (item and GL) get their records from the journal lines.

I’ve managed to add a “Posting Description” field in Item Journal Line, and eventually update the same field in the Value Entry table when posting the item journal. However, I’m lost on how to copy the “Posting Description” field into the Gen Journal Line.

Can somebody guide me which code should I look into? I’m trying

Thanks in advance.

J

Nav 2009 SP1

If you have already gotten your new field value to the “Value Entry” table, then you are already half way there. As the GL Entries are created from the “Value Entries”. You’ll need to modify Codeunit 5802 “Inventory Posting To G/L”. You will find a function called “PostInvtPostBuf”. This is where the “General Journal Lines” are created and posted. Add your new fields here. You’ll also need to add the fields to the journal line and GL Entry tables if needed.

Hope this helps. And welome to NAV.

Awesome! Just what I am looking for. Beer’s on me if you happen to be in Singapore!

Thanks