I am facing the same issue. In our case this is happening at the time GST tax calculation from the method Class\TaxEngineServiceProxy\deserializeTaxDocument and while executing the CLRInterop::staticInvoke() method from the below piece of code.
public ITaxDocument deserializeTaxDocument(str _taxDocumentJson)
{
ITaxDocument ret;
InteropPermission permission = new InteropPermission(InteropKind::ClrInterop);
permission.assert();
ret = new TaxDocumentProxy(/*Microsoft.Dynamics365.Tax.Core.TaxEngineService::deserializeTaxDocument(_taxDocumentJson)*/
// BP Deviation Documented
CLRInterop::staticInvoke(
#ClassTaxEngineService,
#MethodTaxEngineService_deserializeTaxDocument,
_taxDocumentJson));
CodeAccessPermission::revertAssert();
return ret;
}
Also AOS restart is resolving the issue temporarily. But it is impacting all the users who is working on any form that involves tax calculation logic when it starts occuring.
Any help here is much appreciated.
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (