Change OptionString value

ReedbergReedberg Member Posts: 68
Hello all,
I have a field with option type:
OptionString := ,Ferry,Port,Track
OptionCaption := ,Ferry,Port,Track

A year ago new module was developed and this field has the following option type:
OptionString := ,Ferry,Port,Track
OptionCaption := ,Ferry,Plant,Track

This difference can lead to some mistakes, so I want to change "OptionString" to ",Ferry,Plant,Track". But at some point one year ago developers decided to leave this field as it is and change caption. Why? What probable problems can occur if I change OptionString value?

Thanks!

Answers

  • lvanvugtlvanvugt Member Posts: 774
    Changing OptionCaption only (and thus leaving the OptionString as is) ...
    Reedberg wrote:
    OptionString := ,Ferry,Port,Track
    OptionCaption := ,Ferry,Plant,Track
    ... has a minimum effect on your application code. As only the OptionCaption has changed. If the OptionString was changed this probably has a bigger impact regarding all references to OptionString value Port would have been changed to Plant; which is done "under water" by NAV.
    Luc van Vugt, fluxxus.nl
    Never stop learning
    Van Vugt's dynamiXs
    Dutch Dynamics Community
Sign In or Register to comment.