No items found.

Get printable name – fieldId2PName function

This function can comes in handy if you want to get from the code printable name of a given field in the table. Lets say you have a table with some fields and you want to get label that correspond to this field somewhere form the code.

To illustrate this I created new edts and a table, then I drag & drop them into the fields section.

‍

Query table

In order to demonstrate functionality I additionally created also following printableName job

static void printableName(Args _args)

{

   print fieldId2pname(tableNum(Table1), fieldNum(Table1, FirstEdt));

   print fieldId2pname(tableNum(Table1), fieldNum(Table1, SecondEdt));

   pause;

}

‍

As we can see I am passing two arguments fieldId and tableId to the fieldId2pname, the outcome of this will be as follows:

Print Window.

One interesting place where this functions is being utilized in the standard is display method fieldName on EcoResProductDimensionGroupFldSetup table. fieldname is being called on EcoResProductDimensionGroup form grid to reveal the current names of the product dimensions, it is done this way to make modifications to the name of the product dimensions easier.

Zobacz inne

Hurtownia Danych 2.0.

Bezpieczeństwo danych w Microsoft Fabric. Od dostępu do workspace po Row Level Security

Czytaj artykuł
Text Link
Dynamics 365 F&O

Microsoft Data Archive w D365 F&O: jak działa, jakie ma ograniczenia i kiedy się nie uruchomi

Czytaj artykuł
Text Link
Produkcja i łańcuch dostaw

System ERP dla produkcji na Dynamics 365 jako dźwignia marży

Czytaj artykuł
Text Link
Wróć do wszystkich

Szukasz partnera Microsoft? Porozmawiajmy o Twoim projekcie

Pracuj z zespołem, który zrealizował wdrożenia i projekty dla dziesiątek firm. Umów rozmowę wstępną i sprawdź:

Jak Dynamics 365 dopasować do procesów Twojej firmy, a nie odwrotnie

Które obszary warto zautomatyzować, żeby odzyskać czas i obniżyć koszty

Jak wygląda wdrożenie z Anegis krok po kroku: od analizy po wsparcie po starcie

Wybierz termin spotkania
Dziękujemy za wiadomość!
Oops! Something went wrong while submitting the form.
Microsoft AI Builder
Microsoft Copilot Studio
No items found.
No items found.
No items found.