how to transfer a new custom field Such as Driver from sales order to the customer ledger entry?

Hi aLL, Who can show me how to transfer a new custom field Such as Driver from sales order to the customer ledger entry?

Could you have a short discuss about the post data between the tables ? and last into which tables?

Any suggestion will be warmly appreicated.

Thanks in advance.

Hi Gary,

Getting data around in NAV from i.e. a sales order into the customer or general ledger must follow a certain pattern. It needs to go from sales header to general journal lines, before getting posted as customer and general ledger entries. And it uses a number of different codeunits on its way.

This is from a blog post I wrote about it a few years back.

[View:~/nav/b/admin/posts/how-to-become-a-great-microsoft-dynamics-nav-developer-which-tables-to-use:320:50]

Here you can see the flow as it was in NAV 2013. Some of the functions have been rewritten in later versions, where we also have the ability to subscribe to events, when we need to extend the number of fields, instead of changing directly in the standard posting codeunits.