Dynamics 365 Blog - Posts from Oktober 2019
These posts are machine-translated.
Run best-practice checks from the command lineUsually the best practice checks are run during the build of a project/a solution. Sometimes, however, it can be quite practical to run them separately from a build. Therefore Microsoft offers us the XppBp-Tool, see https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-tools/author-best-practice-rules (at the bottom). This tool is located in the PackagesLocalDirectory\bin directory and can be used as follows:
Xppbp.exe
-module:MyModel
-model:MyModel
-metadata:"C:\AOSService\PackagesLocalDirectory"
-all |
|
|
|
|
|
|
|

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)); } }