Dynamics 365 Blog - Posts from Februar 2020

These posts are machine-translated.
Currently, only posts from »Februar 2020« are displayed Filter entfernen

How to get dimension display value for ledgerDimension field

If you want to determine the display value of a financial dimension stored as RefRecId by code, you can use the following function from the LedgerDimensionFacade:

DimensionDisplayValue displayValue = 
LedgerDimensionFacade::getDisplayValueForLedgerDimension(ledgerJournalTrans.LedgerDimension);

 
 
 

Control FormViewOption of a form through code

To control the FormViewOption of a form, you can use code like the following:

public static void setFormViewOption(
    FormRun _formRun,
    FormViewOption _formViewOption = FormViewOption::Details
    )
{
    if (_formRun
        && _formRun.viewOptionHelper())
    {
        _formRun.viewOptionHelper().setViewOption(_formViewOption);
    }
}

 


 
 
 

 

 
 
 
Posts of the actual month
Februar 2020
MoTuWeThFrSaSu
 12
3456789
10111213141516
17181920212223
242526272829 
 
© 2006-2024 Heinz Schweda | Imprint | Contact | German version | Mobile version
In order to provide you with better service, this site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.