Dear Friends,
Its been quite a time that I had a chance to post something. Thought of sharing a small code snippet, which helps in obtaining the next open period of a ledger calendar (considering module access as well). I did this customization related to vendor invoice, which can be used for any other functionalities as well (as standard does it for expense reports and time sheets).
I had some requirement, due to which I was not able to use "findNextPeriod" method of "LedgerCalendars" class; else, that can be ysed, and slight code tunings needs to be done here.
Its been quite a time that I had a chance to post something. Thought of sharing a small code snippet, which helps in obtaining the next open period of a ledger calendar (considering module access as well). I did this customization related to vendor invoice, which can be used for any other functionalities as well (as standard does it for expense reports and time sheets).