System Setup / Plugin Customization / Plugin Configuration [SET062] .
The plugin is used for the integration of an onsite weight scale. Typically, these scales differ in what data is available and the format of the information, making standard integration difficult.
Info |
---|
If you don’t like reading, you can watch the video. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
None |
Try it!
Plugin details
Type | Plugin Name | Interface | Location | Method Name | Module | Linked Action |
Checkout | Final Mass Checkout Fetch Mass | iFetchMass | DATASCOPE.SDK.PluginInterfaces |
|
| Fetch Mass Button |
When implementing this plugin the system will make a request to the plugin and the only information that needs to be passed back is a number, representing the weight, or an error message, to display to the Operator.
This plugin will allow DATASCOPE WMS to integrate with almost any scale on the market, the only customization required will be written into the plugin itself.
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?
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 Final Mass Checkout Fetch Mass from the Plugin Name drop-down.
Select ADDfrom the Action drop-down
Enter a Display Name (i.e. FinalMassFetch)
Add the compiled DLL file name, developed by a developer, in the Dll FileName field - for example FinalMassFetch.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 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 Developing your own plugins | Configuring the plugin in the software