Hi,
We created label file as FDL and label as eg: @FDL9001.
while using in class I used as warning("@FDL:@FDL9001"). this takes as string.
if I use like warning(@FDL9001) this takes as label but shows the BPErrorUnknownLabel issue.
BPErrorUnknownLabel: BP Rule: [BPErrorUnknownLabel]:Path: Unknown label '@FDL9001'. 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.
when I refer this link https://community.dynamics.com/ax/f/33/t/253388.
here, they suggested to create without @ and use as @FDL:FDL9001 (in-case of new label).
For this also am getting the same error while running Run best practice fixers through solution explorer.
It looks little bit confusing whether to create label with @ and without @.
Note : if I build the package with Run best practice checks - checked I didn't get any error like this.
Please clarify this.
Thanks & Regards
Kathiravan M