Many users of the VSS wanted to have visual signals for highlighting a resource's unavailability such as specific "downtimes", absences, and external blockades in addition to the default visual alerts (allocations being later than the response date).
Absences can arise from various causes such as
By defining different colors and/or tooltips for the different kinds of unavailabilities you can always quickly grasp not only that a resource is unavailable but also why. This is done in 3 steps.
Currently, this is done by global text constants in the codeunit 5416200 (NETRONIC VSS Management).
There you can specify a color and a relating tooltip text, grouped as couple. Note that the color is set as HTML Color, e.g., #FFFFFF for white, #000000 for black, #FF0000 for red etc.
In our case, we want to display holidays in green.
Please note the following:
Now you have to add a comment field to the table Resource Capacity in NAV where you enter the kind of unavailabilties corresponding to the global text constants you have defined earlier in the codeunit 541620. This makes sure that the comment assigned to the record will be checked for appearing in the TextConstants TEXT7313, TEXT7315, TEXT7317, TEXT7319, TEXT7321, TEXT7323, TEXT7325, TEXT7327 or TEXT7329 and the corresponding color will be applied.
If the relating DOT.NET object doesn’t get a comment while being read, color and tooltip text as described under #6 of the above list will be applied.
Now adjust the CA/L code to your new constants as shown below. If we want to display absences of resource Linda that are due to holidays by the text "Holiday" and the color green, the code has to look as follows:
As a result of the above described code modifications, Linda's holidays are displayed like shown in the picture below. This way, unavailabilities of resources can easily be recognized and interpreted.