Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

System Setup / Plugin Customization / Plugin Configuration [SET062] .

DATASCOPE WMS is installed with preconfigured auto-reservation rules, which will automatically reserve stock. The Auto Reserve button is used to apply the selected reservation rule to automatically allocate and reserve stock. There are a range of standard Auto Reservation Rules in the software, or you can add your own custom rule by configuring this plugin.

image-20240610-103525.png
Info

If you don’t like reading, you can watch the video.

Panel
panelIconId1f3a5
panelIcon:movie_camera:
panelIconText🎥
bgColor#DEEBFF

None

Try it!

Plugin details

Type

Plugin Name

Interface

Location

Method Name

Module

Linked Action

Picking/Release

Job Allocation Auto Reservation

IJobAllocationAutoReservation

DATASCOPE.SDK.PluginInterfaces

Job Allocation

Auto Reserve Button

To develop your own plugin:

For more information regarding building the plugin, refer to the high-level overview on how to build a basic plugin - Developing your own plugins

Info

Strong development skills are required in order to develop your own plugins.

For more information, refer to What is needed to work with Plugins?

  • Open a Class Library Project within Visual Studio

  • Insert the DATASCOPE SDK

  • Insert the inheritance from the DATASCOPE SDK

  • Select the required Interface.

  • Write your code as per your own requirement.

  • Build it into a single .dll file and save it in the C:/ Program Files / DATASCOPE / DATASCOPE WMS WebAPI / Plugins folder on the server.

  • Test it in the module.

To configure this plugin:

  • From the Main Menu, browse to System Setup / Plugin Customization / Plugin Configuration

  • Select Job Allocation Auto Reservation from the Plugin Name drop-down.

  • Select ADDfrom the Action drop-down

  • Enter a Display Name (i.e. JobAllocation)

  • Add the compiled DLL file name, developed by a developer, in the Dll FileName field - for example JobAllocation.dll

Info

The DLL file name added into the Dll FileName field must be exactly the same as the .DLL file saved in the C: / Program Files (x86) / DATASCOPE / DATASCOPE WMS WebAPI / Plugins folder.

Info

All the Plugin .DLL files are located on the DATASCOPE WMS server under C: / Program Files (x86) / DATASCOPE / DATASCOPE WMS WebAPI / Plugins. . Refer to https://datascopewms.atlassian.net/wiki/spaces/TG/pages/109051919/What+is+needed+to+work+with+Plugins#Location-of-plugin-files .

  • Select Save to save the configuration.

  • This plugin will now be configured for either all modules with a Print buttons, or depending on the return string, only certain modules.

For more information on configuring a plugin, refer to Create a Custom Plugin and link it to a Module or System Setting (configuring plugins) or https://datascopewms.atlassian.net/wiki/spaces/TG/pages/109707274/Developing+your+own+plugins#Configuring-the-plugin-in-the-software

image-20240610-103700.png

Configuration Settings

The system setting is found under PICKING_JOB_ALLOCATION – setting: AUTO_RESERVATION_RULE.

The drop-down for the setting will display the pre-defined rules as well as the names of the plugin .dlls that have been setup for it on the plugin configuration screen.