We suggest to add in platform such function: in Turkey we have in local legislation special accounting period. In this "accounting period" begin of period is 01.07.yyyy and end of period is 30.06.yyyy. For that may be added extra parameter(s) for functions like BegOfYear(), BeginOfPeriod(&Date,YEAR). And so autonumeration of documents may will start from 01.07.yyyy. For example amortization calculates related with 01.07.yyyy. This situation named as "Special Accounting Period".
At the moment, we control all this situation manually in code. But would be perfect even if platform could understand this specialities.