How to Add a Beep to an ADCS Solution in Dynamics NAV
You can add beep sounds to your ADCS solution. To do this, you add the keyword _BELL_ to a string for the miniform that has the functionality you want to modify. The keyword is case sensitive. The following procedure demonstrates modifying codeunit 7705, which controls the logon screen for a handheld device.
To add a beep sound to an ADCS string
Start Microsoft Dynamics NAV Development Environment, and on the Tools menu, choose Object Designer.
Choose CodeUnit, and from the list, select a codeunit for ADCS miniforms, for example, codeunit 7705.
Choose the Design button. The C/AL Editor opens.
On the View menu, choose C/AL Globals.
Choose the Text Constants tab.
For each string for which you want to sound a beep, append the following code to the end of the string.
The following is example code.
Invalid User ID._BELL_
For a double-beep, append the following code.
Recompile the codeunit.