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++ - Set contract parameter value in controller class of SysOperationServiceBase framework

D365F&O - X++ - Create Batch job using SysOperationServiceBase in X++

D365F&O - X++ - Create and post Customer payment Journal using X++ code.