BP label error in AX7

3.2k views Asked by At

Can someone guide me to why does this error popup

I have a model SLD_HRApplicationFoundation, which has a SLD_HRP label file. When I check for best practices, I get the following error

BP Rule: [BPErrorUnknownLabel]:Path: [dynamics://EdInt/SLD_HRRetirementAge]:Unknown label 
'@SLD_HRP:Param0014'. Legacy labels (such as 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.

Where as my SLD_HRP.en-US.label.txt file has the following entry

Label ID: Param0014
Label: Default retirement age
Description: Help text for retirement age years

and the properties set for SLD_HRRetirementAge EDT as

Label: @SLD_HRP:Param0013
Help text: @SLD_HRP:Param0014 

I am currently running AX7 update 8 and SLD_HRApplicationFoundation model has been build to latest changes and database is synchronized as well.

1

There are 1 answers

1
FH-Inway On

A bit late, but since this issue is still occuring in the latest version (PU15):

Sometimes the model build does not seem to correctly update the label information. As Medhi Moalla suggests in his answer on your identical question in the AX community question BP Label Error AX 7, the following command line tool can be used to recreate the label .dll files:

Open

  1. Open command line with (admin) privilege
  2. Execute this command : J:\AosService\PackagesLocalDirectory\bin\labelc.exe -metadata="J:\AosService\PackagesLocalDirectory" -output="J:\AosService\PackagesLocalDirectory\<Package Name>\Resources" -modelmodule="<Package Name>"