Workflow Event - edit NAV Workflow event

aceX
Member Posts: 166
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
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
Best Answer
-
@aceX
Open dev-client, open the Menu "Tools", then "Debugger", open "Event Subscriptions"My blog - https://www.HannesHolst.com/5
Answers
-
I've exported all objects in .txt format, just to search where is the code for Customer credit limit is exceeded, but there is no clue. So please, any idea is welcome.0
-
Codeunit 312. It's called from lots of places. Sales Header, Sales Line, General Journal Line.Kyle Hardin - ArcherPoint0
-
Hi @kylehardin ,
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.
Regards0 -
I don't think there are any subscribers to c312, at least not that I could find. So you are just after a good example of a subscriber so you can see how it works and how to make your own?Kyle Hardin - ArcherPoint0
-
Yes @kylehardin, I'm trying to create my new Workflow Event, but, I can't find some good original NAV example. Most of the subscriber functions looks like they are working systematically not like they are programmed in NAV.
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 Regards0 -
Codeunit 1520, Subscriber function "RunWorkflowOnCustomerCreditLimitExceeded" ?My blog - https://www.HannesHolst.com/1
-
Hi there @HannesHolst,
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 Regards0 -
@aceX
Open dev-client, open the Menu "Tools", then "Debugger", open "Event Subscriptions"My blog - https://www.HannesHolst.com/5 -
Well, in this scenario, I think that will be the correct answer, cause there is no other way to see which integration event have subscriber to him self. But also, there does not exist record, where is the subscriber to the integration events who are located in the T36 - Sales Header.
Regards @HannesHolst
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions