I have subscribed Event ie. "OnAfterAssignFieldsForNo" on "Purchase Line". see below Image.
It. Show the Warning ie. The name of PurchLine is not valid. The name of variables and parameters must be suffixed with the type or object name. [AA0072].
Please suggest How to solve this warning.
Thanks in Advanced.
You must use the parameter names that are defined in the event publisher, so the only way to fix that is changing the parameter names in the event publisher
Thanks for your reply. If I have changed the name "PurchaseLine" instead of "PurchLine". in the EventSubscriber. but It shows the error "The member referenced by event subscriber 'WHTProdPostGroupValidaeAgainstType' parameter 'PurchaseLine' is not found."
You can't change the parameter names in the subscriber, you are not allowed to change them because they have to be the same as the names in the publisher. The only way that this could be changed is if you can change it in the publisher first.