D365F&O - X++ - Best Practice Warning BP Rule: [BPErrorUnknownLabel]: Path:

To resolve the following error:

 Path: [dynamics://Table/SalesTable/Field2]:Unknown label ‘@ZILabel:NewLabel’. Legacy labels (such as the label id @SYS12345) are case insensitive and modern labels (such as ‘MyLabelId’ in @MyLabelFile:MyLabelId) are case sensitive. Use upper casing when referring to legacy labels and exact casing for modern labels. 

use literalStr() before the custom label.

info(literalStr("@ZILabel:NewLabel"));

Comments

Popular posts from this blog

D365F&O - X++ - How to Enable/Disable button on form based on a condition in D365F&O using Event handlers.

D365FO - X++ - Generate CAR (Customized Analysis Report) report of custom model