OnBeforeCalcDateBOC in Codeunit 7600, this can helps to change the source codes,OrgDate,
Hi Team,
if we have Publisher like below, OnBeforeCalcDateBOC(FirstCalCode,SecondCalCode,FirstSourceType,FirstSourceCode,FirstAddCode,SecondSourceType,SecondSourceCode,SecondAddCode);
Based on our requirment we can able to change the above data also we need the Var with Yes.
Also If we have OnAfterCalcDateBOC then it will also help full. :)

Thanks!
Regards srinivas
We don't have FirstCalCode or SecondCalCode in this codeunit. Seems you have customized codeunit, please rewrite your request for W1 codeunit.
i can see in standard cronus 2018 database, that is not customized variables,
Please check below screen shots.


Well, in this case it makes no sense to pass FirstCalCode and SecondCalCode to event as they are blank at this point. Please confirm specification of event you need, from my view it should be like this:
OnBeforeCalcDateBOC(FirstSourceType,FirstSourceCode,FirstAddCode,SecondSourceType,SecondSourceCode,SecondAddCode);
OR (if you want to alter calculation of FirstCalCode and SecondCalcCode) they should be passed to event by VAR and used value from event instead for date calculation below, right?
Yes, After standard calculation we want to update the our calculation. as below is correct.
OR (if you want to alter calculation of FirstCalCode and SecondCalcCode) they should be passed to event by VAR and used value from event instead for date calculation below, right?