Options

Form 47

bbcaibbcai Member Posts: 80
In this form, when we click on the 'No' column in the table box and go to its C/AL Code, we can see a line of code like this:

ShowShortcutDimCode(ShortcutDimCode);

Where is this function actually? I cant find this function anywhere...

Comments

  • Options
    ArhontisArhontis Member Posts: 667
    Hi,

    That funtcion is in table 37. Sales Line. And calls codeunit 408 DimensionManagement to get the shortcut dimensions values from table Document Dimension for that particular line.

    It uses a parameter that is an array and the matrix has 6 columns that have the SourceExpr = ShortcutDimCode[3] or ShortcutDimCode[4] e.t.c. and their CaptionClass = '1,2,3' or '1,2,4' or '1,2,5' e.t.c. so that the column displays the caption of the Shortcut Dimenstion (3...8) and that value that gor from the child table Document Dimension.

    Is it clear?
  • Options
    eromeineromein Member Posts: 589
    Yes Mr. Arhontis... It is clear... :roll:


    :wink:
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • Options
    DenSterDenSter Member Posts: 8,304
  • Options
    bbcaibbcai Member Posts: 80
    Thanks!!
  • Options
    ArhontisArhontis Member Posts: 667
    :shock: :(

    It was a kind "Is it clear?" I am not in the army, you know...

    NOW, drop and give me five!!!!
Sign In or Register to comment.