Global Dimension don't go to Ledger Entry Dimnesions

leutzulleutzul Member Posts: 3
edited 2006-03-29 in Navision Attain
When client of mine posted a transaction from a journal. The strange thing is that after that i saw that in GL Entry global dimension appears correctly but in Ledger Entry Dimensions there is only the shorcut dimension(and none of two global dimensions).
Could you please help me with this.

Comments

  • krikikriki Member, Moderator Posts: 9,112
    Are you sure there is no customization done that makes this happen?
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • leutzulleutzul Member Posts: 3
    Yes i'm sure. This situations happened just for 3 transactions, the rest of transactions are ok but i don't find an explanations for this strange situations.
  • ara3nara3n Member Posts: 9,256
    What you need to do is in cu 12 add the following code to INITGLEntry function

    after the following line

    GLEntry."Global Dimension 1 Code" := GenJnlLine."Shortcut Dimension 1 Code";
    GLEntry."Global Dimension 2 Code" := GenJnlLine."Shortcut Dimension 2 Code";


    //S001 Start
    TempJnlLineDim.SETRANGE("Journal Line No.",GenJnlLine."Line No.");
    TempJnlLineDim.SETRANGE("Dimension Code",GLSetup."Global Dimension 1 Code");
    IF TempJnlLineDim.FIND('-') THEN
      GLEntry."Global Dimension 1 Code" := TempJnlLineDim."Dimension Value Code";
    
    TempJnlLineDim.SETRANGE("Dimension Code",GLSetup."Global Dimension 2 Code");
    IF TempJnlLineDim.FIND('-') THEN
      GLEntry."Global Dimension 2 Code" := TempJnlLineDim."Dimension Value Code";
    
    TempJnlLineDim.RESET;
    //S001 End
    


    [EDIT} reread your problem which is the opposite problem. This fixes problems where glentry is blank but ledger dimension entry dimension have the records.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.