Setting Break Points in the Where Used Functionality

It happens too much that when I show the cool stuff of the Object Manager people begin to jump and shout ‘Wow, didn’t know that!’. I think the best way to share those timesaving tricks is to blog about it.

Let’s start with one that I don’t actually use that much but can come handy when you want to analyze a process where a field gets a wrong value. Let’s say the sales line gets filled with a wrong unit cost and you want to debug that process.

First you go to the where used functionality and open the sales line table. Drill down to the code lines where the unit cost is filled and choose “Set Breakpoint” or F9. Now breakpoints are set on all places where the unit cost is filled in the system.

Start the debugger and add a sales order. You will see that the debugger will stop at every point where the unit cost is filled.

Look at a demo on YouTube!

HTO-1-1.jpg

HTO-1-2.jpg

HTO-1-3.jpg

HTO-1-4.jpg

HTO-1-5.jpg

Look at a demo on YouTube!

Explore posts in the same categories: Object Manager, Where Used Functionality

2 Comments on “Setting Break Points in the Where Used Functionality”

  1. Luc van Vugt Says:

    Welcome to the Dynamics blog-o-sphere, Reijer.

  2. Reijer Molenaar Says:

    Thanks Luc!

Comment:

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word