I need to calculate next working date by using base calendar through AL code.
1) I want a functionality to pass start date e.g "31/03/2020" and end date e.g "20/04/2020".
I need to calculate total number of working days in between.
2) Similarly, if I pass date "31/03/2020" and number of working days e.g 20 days,
the function should return the end date.
I was unsuccessful in using Code unit "Calendar Management" and it function "CalcDateBOC".
Any explanation with code example will help me.
Thanks