Saturday, January 14, 2012

BL Tester Utility

I can't believe I didn't know about this before now. On the Epicor Server, in the folder Epicor905/Utility are the setup files for an application called BL Tester (presumably short for Business Logic Tester). The first time you run BL Tester, you will have to specify the Epicor server your are connecting to. Once it is installed, click File, Open, and choose the dll for the business object you want to test. Ie. Epicor.MFG.BO.SalesOrder.dll You can then use the application to specify the parameters and call any business object method. For instance, you could call SalesOrder.GetRows, and specify different where conditions. After clicking "Invoke" button, BL Tester will display the result of the method, usually a dataset, in a tree view control.

4 comments:

  1. Thanks for sharing this!

    ReplyDelete
  2. I thought it was "business logic tester" at first too. However BL in this context is Business Layer - the application layer that contains the BOs, ROs and POs, and BL Tester can be used to test all of these.

    Careful! I'm fairly sure that although you don't get the pretty Epicor UI, BL Tester does directly modify the database

    ReplyDelete
  3. Thanks for sharing. Pretty useful.

    ReplyDelete
  4. How do you enter a System.String[]. I keep getting error
    'Object of type 'System.String ' cannot be converted to 'System.String[]'

    ReplyDelete