Hi there,
I need to find Subscriber event (Customer Credit Limit is Exceeded). Does any one have a clue how to track subscriber events on one Integration (Business) event. I need to know this cause in Customer Credit Limit is Exceeded I need to add one more check - does customer has overdue balance.
If any one have experience, please let me know is this ok, or maybe it's better to have my WorkFlow Events Codeunit.
Best Regards
0
Answers
In Codeunit 312 there is only call of Publisher (Integration) Event SalesHeader.OnCustomerCreditLimitExceeded. I can't to find subscriber event to this integration event. I need to see and edit the code of that subscriber event if it's possible or to follow the example for my own subscriber event.
Regards
I've have found a couple examples for creating WF Events. Mostly useful for me is:
http://shivteja.blogspot.mk/2015/11/dynamics-nav-2016-implementing-events.html
but in my example I need some different steps like original CustomerCreditLimitIsExceeded WF is working.
Best Regards
I've found this Subscriber event who is subscribing to [IntegrationEvent] OnCustomerCreditLimitExceeded() who is located in T36 - Sales Header. I also found the CheckAvailableCreditLimit function, where is called OnCustomerCreditLimitExceeded integration event function. There I've put the "bypass" code and it's ok. But that is not correct solution. I need to find who is the subscriber on the [IntegrationEvent] OnCustomerCreditLimitExceeded().
Best Regards
Open dev-client, open the Menu "Tools", then "Debugger", open "Event Subscriptions"
Regards @HannesHolst