Skip to main content

Posts

Infolog in D365 x++

 Hi devs! Infolog class has always been used to edit infolog through code.  We can embed it within any condition to infolog details. 

Register App on Azure Active Directory for OAuth 2.0 Authentication

 Hi Devs! Being a dynamics developer, We normally have requirement of integration of MS dynamics with multple third party tool. Its common to register app when it comes to WHS mobile application too.  lets start! First and foremost URL :  https://portal.azure.com/#home Step #1: Select App registrations  Step# 2: Register new application. Step# 3: Once app is created, add certificates and secrete.  Copy and save the value. Step# 4: Adding API permissions Note: OData must be selected­­­­ Happy Daxing!

Generate a barcode from a string in D365 F&O

Hi Peeps! We normally came across these types of requirements that involves adding a barcode on the report e.g Production order report. So here is a piece of code that allows the a string to be converted into a barcode on the report. public BarCodeString ShowBarcode(str _text) {    Barcode barcode;      barcode = Barcode::construct(BarcodeType::Code128);    barcode.string( true , _text);    barcode.encode();      return barcode.barcodeStr(); }