Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

Thursday, April 17, 2025

Log level errors during full build and sync

 


If you’re encountering errors related to standard objects, try searching the error in ChatGPT. It can help identify the configuration key that needs to be enabled.

System Administration>setup>License configuration.

To enable the configuration key, system should be in maintenance mode.

Reference Link :

https://community.dynamics.com/forums/thread/details/?threadid=ae25b9ff-9379-ee11-8179-00224827e012


Thursday, January 30, 2025

Error

 



I'm getting the above error "when a purchase order is released and then if i modify any field in form and click on save"

Resolution :

Refresh the main and line data sources in write method of main data source. And re read the main data source.
Refreshed the data sources in Release order button also. 

Thursday, May 23, 2024

Cannot stop DynamicsAxBatch service on computer Dynamics 365 for finance and operations

 


The message already shows the service name. ” DynamicsAXBatch” You can copy it from Service detail dialog.

So Open CMD with run as administrator and run the following command and get  pid

sc queryex DynamicsAxBatch


Now I have IP.

And kill the Process Id 

taskkill /f /pid 11524  

Now I start the service again.

Project is successfully complied             





Wednesday, July 26, 2023

Code to get Validations in D365 X++

 public str captureInfoMessage()

    {

        SysInfologEnumerator    sysInfologEnumerator;

        SysInfologMessageStruct infoMessageStruct;

        ErrorMsg                logMessage;

        str                           logString;

        str                          ret;

        int                          i;

        #Define.NewLine('\n')

    sysInfologEnumerator = SysInfologEnumerator::newData(infolog.infologData());

        while (sysInfologEnumerator.moveNext())

        {

            i = 1;

            if (logMessage)

            {

                logMessage += #Newline;

            }

            infoMessageStruct = SysInfologMessageStruct::construct(sysInfologEnumerator.currentMessage());

            while (i <= infoMessageStruct.prefixDepth())

            {

                logString = logString + infoMessageStruct.preFixTextElement(i) + '. ';

                i++;

            }

            logString = logString + infoMessageStruct.message();

            logMessage = logMessage + infoMessageStruct.message();

        }

         ret = logMessage;

        return ret;

    }