Thursday, June 1, 2023

Get D365FO label translation in specific language at runtime using X++

Label label = new Label(_custInvoiceJour.LanguageId ? _custInvoiceJour.LanguageId : infolog.language());
str txt = strFmt(label.extractString(literalStr("@Currency")));

Rename AX database after restore

USE master
GO
ALTER DATABASE AxDB
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE AxDB
Modify Name = AxDB_Contoso
GO
ALTER DATABASE AxDB_Contoso
SET MULTI_USER
GO

Table browser URL in D365FO

Critical Thinking icon icon by Icons8