Hello, I’m trying to find the place somewhere (I think it will be in code unit 12) where Navision join GL entries. A better explanation, when we make a purchase or sales invoice, if we put two lines with the same product, after we register the invoice if we will check the GL entries we see that will join the values for the same accounts. If we have one purchase invoice with two lines with the same product it will launch to vendor’s account balanced with purchase account. I know that this is checked somewhere, because if a do the same thing but this time I use two different dimensions in lines, then I a separate entrie for each dimension on purchase account entries. So if any one knows where or how is this done, could give a clue? Thanks for your time, Mestre
look codeunit 80. Buffer array that is being used. i don’t have a db available to display the right code.
You can have a look at the functions FillInvPostingBuffer() UpdInvPostingBuffer() In codeunit 80/90 This is where it is done.
Thanks guys, Mestre