This post is machine-translated. The original post in german language can be found here.

Hide enum values in form

To hide certain values in a form control derived from a base enum, you can use the enter() method.

[Control("ComboBox")]
class LedgerJournalTypeCB
{
    public void enter()
    {
        super(); 

        this.delete(enum2str(LedgerJournalACType::Vend));
        this.delete(enum2str(LedgerJournalACType::Cust));
    }
}
These post applies to following version:
Dynamics 365 for Finance and Operations

Thomas 07/22/2021 14:56 | #1


Add comment
 
 

 

 
 
 
Posts of the actual month
Mai 2024
MoTuWeThFrSaSu
 12345
6789101112
13141516171819
20212223242526
2728293031 
 
© 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.