Access modifier for table fields

Cem_KaraerCem_Karaer Member Posts: 281
Hello all,

Because Dynamics NAV is not an object-oriented environment, we have to simulate an object by using a table; fields for class properties, functions for methods. It is good that we can conceal some functions from outside access by making them local. But what about the fields? It would be best to mark any field as private to prevent outside access in the code. Is there any workaround to do that?
Cem Karaer @ Pargesoft
Dynamics NAV Developer since 2005

Answers

  • DuikmeesterDuikmeester Member Posts: 307
    Use a temp version of the table and fill only the fields that are relevant. When receiving only proces the fields that are allowed to be filled.
Sign In or Register to comment.