How to extract label text. This code shows how to get the text of a specific label for a specific module, for a specific language. This might come in handy when constructing a text to be printed on a report, that will more than one label text. // This code allows you to extract the label text of a specific label, for a specific module, // for a specific language // // Handy when constructing text fields containing many values and labels for printing // // str = labeltxt("gls",element.design().languageId(),200); str labeltxt(str _labelModule,LanguageId _languageId, LabelIdNum _labelNo) { Label l; l = new label(_languageId); return l.extractString(l.name(_labelModule,_labelNo)); }
My thoughts on Dynamics AX application development. I have been working as a consultant with Microsoft ERP-technology since 1994. Currently I work at Optimate A/S. My main focus is customization and application development. This blog is merely my place to put stuff that I want to remember. If anybody can benefit from reading this, that's great :0). Feel free to use any code snippets posted - but accept that you do this at your own risk!!!