I am trying to add some additional functionality to an invoice. I have an agent's commission, which I'd like to implement similar to a normal discount.
i have added commission account fields to the general posting setup, as well as to the invoice lines and sales invoice lines.
Anyone has any idea which codeunit is used to post the discounts to the G/L, or any additional information which might help?
thanks in advance!
0
Comments
You could make a difference between 'normal' customers and 'agents' by using different posting groups.
Tino Ruijs
Microsoft Dynamics NAV specialist
But I don't know if you really want to change these codeunits.. :-k
It will not be a easy job.
Maybe it's better to use the general journal after you posted the invoice. You could create a function to create and post the general journal line automatic. And call this function after posting the invoice.
Tino Ruijs
Microsoft Dynamics NAV specialist
Did you manage to solve the commission functionality or posting of commission to G/L Entries ?
I am facing the same situation now, any help would be appreciated.
Topic Linked : viewtopic.php?f=23&t=32066
Thanks in Advance
******************
There is a very thin line between "you know" and "you don't"
Cheers!