Click or drag to resize

Creating Server Business Rules

The ShipExec business rules template creates the necessary object structure needed for custom business rule functionality against ShipExec. This new PSI.Sox.SBR.dll will contain all the new custom .NET code that allows the manipulation of main method calls within ShipExec.

Creating Visual Studio SBR project from template

  1. With the PSI.Sox.SBR template file loaded. Open Visual Studio 2010 and create a new Project. This will open the New Project dialog window.

    net Template
  2. Select Visual C#. Select PSI.Sox.SBR template and give it a name and location. Click OK when done.

    Note Note

    Assembly and Filename must be PSI.Sox.SBR. We recommend setting the 'file description' to company name and SBR. ex: Test Company SBR.

  3. Add a reference for 'PSI.Sox.dll' to your SBR project.

    VSTemplate Add Reference
  4. You can now complete your business rules. After compiling your business rules, you will need to copy them to the ShipExec windows service instance directory, this is normally located in 'Program Files\UPS Professional Services Inc\ShipExec Management Studio'. The instances are located within the 'bin' directory with a directory name of the instance name. You will need to stop the service before copying your business rules and restart afterwards.