Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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

This plugin can be used with the Pickface Replenishment Review screen. The Pickface Replen (CS*) service only calculates demand for Sales Orders. Confirmed Jobs are typically not included in the demand calculation.

This plugin mirrors the standard code that normally runs within the Pickface Replen service and allows customers to add other calculation demands, like confirmed Jobs.

image-20240517-140835.png

Try it!

Plugin details

Type

Plugin Name

Interface

Location

Method Name

Module

Linked Action

Replenishment

Core Replenishment Calculation

IReplenishmentCalculation

DATASCOPE.SDK.PluginInterfaces

Pickface Replenishment Review

Calculation Type

Overview of Source Code

The plugin's source code is provided within the DLL file and can be modified to include additional or different logic.

Note: All the plugins. DLL files are stored on the DATASCOPE WMS server under C: / Program Files (x86) / DATASCOPE / DATASCOPE WMS WebAPI / Plugins.

 The plugin will run from the Pickface Replenishment Review screen and will be set as the default Calculation Type.

When attempting to run it while the Pickface Replen Service is running, the user will get a pop-up requesting that they stop the Pickface Replen Service first and then try again.

The user will see in the Pickface Replen Service Status field on the Pickface Replenishment Review screen whether the Pickface Replen Service is running.

This plugin is separate from the existing Replenishment Calculation Plugin to allow more flexibility from the backend.

To develop your plugin:

Note: Strong development skills are required to develop your 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 Replenishment Calculation from the Plugin Name drop-down.

  • Select ADD from the Action drop-down

  • Enter a Display Name (i.e., CUSTOM_REPLEN_CALC)

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

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.

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 the Calculation Type drop-down on the Replenishment Release filter screen or the Calculation Type drop-down on the Pickface Replenishment Review screen.

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-20240607-122817.png

  • No labels