India GST Patch issue on AX 2012 R2

This topic contains 3 replies, has 4 voices, and was last updated by  Locus IT 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20770

    Saurabh
    Participant

    We’ve installed GST hotfix and so all the mentioned DLL’s and objects are available at required places after installation. All required Tax setup has been done as per the documentation from MS.

    Now, I am trying to test it by creating SO. But as soon as I click any of the buttons which goes for GTE tax calculation(Totals, confirmation..), I am getting an error as

    ====================================

    Processing item Solving merged Z3 expression failed: The solving formula encountered a run-time error.. Details: Parameters

    Header.Lines.GST.SGST.Rate.Rate = 0

    Header.Lines.GST.CGST.Rate.Rate = 0.14

    Header.’Total Discount Percentage’ = 0

    Header.Lines.’Assessable Value’ = 100

    Solving parsed Z3 expression

    Header.Lines.’Base Amount’=Header.Lines.’Assessable Value’*(100-Header.’Total Discount Percentage’)/100

    Header.Lines.’Price includes tax’=0

    Header.Lines.GST.CGST.’Base Amount’=Header.Lines.’Base Amount’

    Header.Lines.GST.CGST.’Tax Amount’=Header.Lines.GST.CGST.’Base Amount’*Header.Lines.GST.CGST.Rate.Rate

    Header.Lines.GST.SGST.’Base Amount’=Header.Lines.’Base Amount’

    Header.Lines.GST.SGST.’Tax Amount’=Header.Lines.GST.SGST.’Base Amount’*Header.Lines.GST.SGST.Rate.Rate

    System exception: Fail to load Z3. at Microsoft.Dynamics365.Tax.Core.CalculationEngine.Calculation.FormulaEngine.FormulaEngineFactory.GetFormulaEngine()

    at Microsoft.Dynamics365.Tax.Core.CalculationEngine.FormulaFacade.Calculate(FormulaMetadata metadata, Hashtable parameters)

    ===================================

    Anyone else faced this issue?

    It looks like a issue with the dll “”Microsoft.Dynamics365.Tax.Core””.

    Please suggest if anything else needs to be done apart from the installation steps provided by MS or If there could be anything I can do to overcome the issue?

    #20789

    Locus IT
    Participant

    Hello Saurabh,

    Most of cases, this issue is due to loading of Z3 assemblies. Please use assembly dependency check tool (for instance Dependency Walker, you could easily get online) to validate all dependencies assemblies of Microsoft.Z3.dll and libz3.dll are well settled in your machine.

    For instance you go with Dependency Walker, run it and click “File” => “Open” to select the assembly you want to check,

    The result will show we missed some DLLs need for libz3(MSVCP110.dll, VCOMP11.dll and MSVCR110.dll), it is because “Microsoft Visual C++ 2012” is not well installed in your environment. Please follow the link or search installation file online to repair.

    Expected result of 2 DLLs: regarding Microsoft.Z3, it should all green without any validation error. Regarding libz3, there might be some bridging dependency issue, but as long as the 4 direct dependencies are well settle like screenshot above, it’s good to go.

    #20772

    Andrew Jenson
    Participant

    Hello Saurabh,

    Disabled hot swapping of assemblies and Generated Full CIL after resolving dll issue.

    #20774

    Chloe Jacobs
    Participant

    Hi Saurabh,

    For this error there is one solution which is Microsoft visual c++ 2015 redistributable package (x64) download.

    if this solution is not useful then try in Virtual Machine.

    because there is DLL problem in your server.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Skip to toolbar