D365F&O - X++ - Best Practice Warning [BPUnusedStrFmtArgument]:The placeholder ‘%1’ to strFmt is not used in the format string.

 To remove the BP warning add literalStr() for label string validation in your code where you have used %1 in your label string.

error( strfmt( literalStr("@MyLabel:LabelCust"), CustTable.InvoiceId) );

Comments

Popular posts from this blog

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

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