Codeunit which updates global dimensions in the table G/L Entry.

Hi all,

I am new in NAVISION and I need your help. I need to update Global Dimensions(those who are empty) in table G/L Entry.

Please can you help me on this?

I will appreciate your help.

Thanks,
Maddy.


Best Answer

Answers

  • Maddynav123Maddynav123 Member Posts: 12
    Hi Kepty,

    Thank you for answering me. It was helpful.
    I create a new codeunit and a function where I did the following:
    - Check in the table Dimension Set Entry, by Dimension Set Id field if there are dimension for the entries, If we find we enter in table G/L Entry
    - If we don't find dimensions in Dimension Set Entry table we search in headers(table Sales Invoice Header,Sales Cr.Memo Header,Purch. Inv. Header,Purch. Cr. Memo Hdr.) If we find dimension value that in headers that qe didn't find in Dimension Set Entry table we add in G/L entry table and also e should add this dimension value that we found in Dimension Set ENtry table, we should also update the Dimension Set Entry table using CodeUnit 408 using functions GetDimensionSet and GetDimensionSetID.

    Thank you
    Maddy.
Sign In or Register to comment.