On start and end time fields of this list page times are entered in military time. NAV is automatically converting the times from military 24hr to standaard 12 hr format. How can I disable this feature? In other words, users enter a time in military format on a list page and they would liek it to remain in that format but the lsit page is auto converting the time to standard. thanks,
Yes you correct. If this really is a "must do" even if cosmetic, then you can do it. I would start by trying to convince them not to do this, as it really is a "stupid thing" (you may want to use a different wording [;)]). Everywhere else
But you could create a new string variable which you could ensure would be formatted in the military format. This could be done in the OnAfterGetCurrRecord trigger. And then you would need to create code on the page control with the text variable. In the onValidate trigger of the control, you can evaluate it by validating it against the your "internal" Time field (stored in time format). Remember to save the record, if the time is changed. The page will not send a "MODIFY" if you just changed a field in the background, only when changed in the page. And as you only change the variable in the page, then it will not trigger a modify.
Btw. I can recommend you to read this blog post by David Singleton: - a great read even if it has been a few years since it was written. A skill every NAV consultant/developer need to develop,