info( "xxx" ) -> info( 'xxx' );The solution for this warning:
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Labels
Showing posts with label d365. Show all posts
Showing posts with label d365. Show all posts
Thursday, December 16, 2021
D365 - How to prevent warning "BPERRORLABELISTEXT"
A very quick way is to change the quotation marks to apostrophes.
Tuesday, December 14, 2021
D365 - How to solve warning "[BPUnusedStrFmtArgument]:The placeholder '%1' to strFmt is not used in the format string."
Old migrated code from AX 2012:
warning( strFmt( "@cieb:cieb4", _sParamName ) );shows this warning (in label is this value "Attention - parameter %1 not found."): BP Rule: [BPUnusedStrFmtArgument]:The placeholder '%1' to strFmt is not used in the format string.
For this warning removing add literalStr() for label string validation.
warning( strFmt( literalStr("@cieb:cieb4"), _sParamName ) );
Subscribe to:
Posts (Atom)