Wednesday, April 20, 2022

Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

Renaming the elements in Dynamics 365 finops results in this error in visual studio.



This might be due to a form design being open on the designer window. Just close the elements in designer window and the error will be gone.

Monday, April 18, 2022

Supressing/comment infolog in Dynamics 365 FinOps(D365FO)

 [ExtensionOf(classStr(ProjStatusType_ReportedFinished))]

final class ProjStatusType_ReportedFinished_Extension

{

    public boolean journalCheckStatus()

    {

        boolean ret;

        SysInfologLevel sysInfologLevel;


        sysInfologLevel = infolog.infologLevel();

        infolog.setInfoLogLevel(SysInfologLevel::None);


        ret = next journalCheckStatus();


        if(!ret)

        {

            infolog.setInfoLogLevel(sysInfologLevel);

        }

        return checkFailed(strfmt("<MyNewlabel>", projTable.ProjId, projTable.Stage()));

    }


}

Tuesday, February 11, 2020

Microsoft.Dynamics.AX.Xpp.ErrorException was thrown


I was getting the above error while invoicing the sales order. The customer wanted to send the sales invoice as an email on print management. Below is print management setup of sales invoice.


Solution:

The issue was the setup on customer default setup on Accounts receivable/Common/Customers/All customers/Setup tab/print management and Accounts receivable/setup/form setup/print management were same. This was triggering the error. It seems report was getting sent to the customer twice.

Tuesday, June 11, 2019

Testing custom services with POSTMAN

Create a POST type entry and enter below in the search bar.

{{resource}}/api/services/<Service Group>/<Service>/<ServiceMethod>