If we get BP warring regarding parameter "e" is not used in coding part we can set below attribute in the method.
SuppressBPWarning('BPParameterNotUsed', 'Parametr e not used')
Example:
[DataEventHandler(tableStr(PurchLine), DataEventType::Updating),
SuppressBPWarning('BPParameterNotUsed', 'Parameter required for eventhandler.')]
public static void PurchLine_onUpdating(Common sender, DataEventArgs e)
{
}
SuppressBPWarning('BPParameterNotUsed', 'Parametr e not used')
Example:
[DataEventHandler(tableStr(PurchLine), DataEventType::Updating),
SuppressBPWarning('BPParameterNotUsed', 'Parameter required for eventhandler.')]
public static void PurchLine_onUpdating(Common sender, DataEventArgs e)
{
}
No comments:
Post a Comment