Adding Business Object Calls into Custom C# Method Directive code

,

To confirm you are looking at the right BO/method, you can run a trace on the regular process a user goes through to add a new user code in User Code Maintenance. I ran the trace, it looks like you are looking at the right BO/method to me. I also see UserCode.GetNewUDCodeType gets called if the code type hasn’t been defined.

The BL Tester is the best place I can think of to investigate BO methods and what parameters they require:

You can use this tester to test BO calls, and you can also pass data from one BO call to another, mimicking how it could work in Code or multiple widgets.

If you start setting up a “Invoke BO Widget” in a method directive, it will also show what parameters / outputs are available to each BO method (after you select it).

1 Like