Hi everybody,
I am quite new in programming Navision. Therefore my question seems a little bit stupid
I want to apply the following changes during the process of creating new productcodes. I want that the user go direct in the field (with TAB) which should be next. I have sort this out with the option "NextControl". But I want also in the field "EAN" that the user get a PopUp when the field is empty => "are your sure there is no EAN code ??"
Can somebody tell me where I need to place what kind of Code ???
Thank you very much in advance for your support
Michael
Comments
Rough and dirty code:
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
Jan Hoek
Product Developer
Mprise Products B.V.
RIS Plus, LLC
Best is, as Jan said, to do this Navision style,
Navision checks at 2 places mostly
1). If the item is used in e.g. a salesorder or purchase order. You can use TESTFIELD(EANCODE) in Table 37
2). When posting in e.g. codeunit 80, or 22! just retest the EAN code.
For some customers is takes getting used to, but after a while they get used to it.