Changing dimension value code

moneimNAVmoneimNAV Posts: 18Member
Hi,
I used Dynamics NAV 2016
I changed the code of an existing dimension value (RENAME) and the system automatically changed the dimension value in GL entry records
But I can't found the code that made this change (I tried use debugger but I don't found)
Any idea please ?

Answers

  • Slawek_GuzekSlawek_Guzek Posts: 1,390Member
    This is handled by table relations, not by code. One of the reasons why defining relations between tables is very important, even with the field gets populated in the code only.

    When you do rename (from UI or by calling RENAME) NAV client examines data in all tables, all fields which have in their properties defined relation to the table/field you are renaming.
    Slawek Guzek
    Poszukuje programistow znajacych Microsoft Dynamics NAV
  • AKAK Posts: 175Member
    It's done automatically by the TableRelation property of the field Dimension Value Code in table 355.
Sign In or Register to comment.