web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

How to find out what code unit it belongs to?

(0) ShareShare
ReportReport
Posted on by 450

So i need to check whether a customer has an overdue balance or not and depending on that i need to perform an action. Now I used the debugger to go over the code once you validate the customer name on your sales order and i stumbled upon "CalcOverdueBalance".  Now to be honest i don't know / remember if the code actually runs over it since it ran over so much in the debugger but i'm guessing it does. Now I want to subscribe to that function but i need to know what code unit it belongs to for that. Is there any way to find out to which one it belongs?

Categories:
  • Suggested answer
    Community Member Profile Picture
    on at

    The function is implemented in the Customer table (18), but you cannot subscribe to it as it isn't a Publisher function.

    Tero

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans