HOW TO SYNCHRONIZE DATABASE IN D365
Sunday, 30 August 2020
DATABASE SYNCHRONIZATON IN D365
GET CURRENT LANGUAGE IN D365
GET CURRENT LANGUAGE IN D365
Below code is used to get the current language of the system.
static void main(Args _args)
{
//get company's language
info(companyinfo::languageId());
// get user language (user setup)
info(new xInfo().language());
// get the system language id
info(SystemParameters::getSystemLanguageId());
}
Thanks,
Vikas Mehta.
HOW TO GET THE BARCODE FROM CODE IN D365
HOW TO GET THE BARCODE FROM CODE IN D365
With the below code you can pass the text and get the corresponsing barcode value in Dynamics 365.
How to get exception error in info
Exception error in info
D365 exception message
public str getErrorStr()
{
SysInfologEnumerator enumerator;
SysInfologMessageStruct msgStruct;
Exception exception;
str error;
enumerator = SysInfologEnumerator::newData(infolog.cut());
while (enumerator.moveNext())
{
msgStruct = new SysInfologMessageStruct(enumerator.currentMessage());
exception = enumerator.currentException();
error = strfmt("%1 %2", error, msgStruct.message());
}
return error;
}
Thanks,
Vikas Mehta.
Blog Post 6: Bonus – Building Your First Custom Copilot Plugin in X++
Blog Post 6: Bonus – Building Your First Custom Copilot Plugin in X++ Introduction In our previous posts, we explored what Copilot can do o...
-
D365 INTERVIEW QUESTIONS Technical For Functional click here 1. What are the new features of D365 ? WHATS NEW IN D365 di...
-
D365 F&O FUNCTIONAL INTERVIEW QUESTIONS Below are the general functional interview questions asked .Please note that the interview...
-
EVENT HANDLERS IN D365 With D365 event handlers play very important and hence we need to know how and when to use them to maximum bene...
-
How to write a validate write data event handler code for a table Right-click onValidatedWrite of the event at the table level, and then...
