Development changes and improvements LS One 2021

If a ticket from the support portal is attached to the work described here below, the ticket number (both development and support ticket number) are listed after the description. If no ticket numbers are listed, then either this change request came from the LS One roadmap and/or backlog or the request came to us through some other channel.

Breaking changes to IPOSPlugin and "Execute POS Plugin" operation

The "Execute POS plugin" operation for the POS has been changed as follows:

  • No longer requires the type name to be sent in as a parameter
    • This means that you need to remove the "type" portion of the parameter string or existing calls to the operation will not work as expected

  • Only supports one type per assembly that implements the IPOSPlugin interface.

The interface itself remains unchanged, but the parameter you send in to the "Execute POS plugin" operation has changed so that you need to make the following adjustments to the parameter sent in to the operation:

  • Before: <NameOfPluginDLL>;<TypeName>;<TaskName>;<Parameter1>;<Parameter2>
  • After: <NameOfPluginDLL>;<TaskName>;<Parameter1>;<Parameter2>

Example:

  • Before: ItemSpecialGroupSearchPlugin;ItemSpecialGroupSearch;Search;SG000001
  • After: ItemSpecialGroupSearchPlugin;Search;SG000001

Note that the <TypeName> part of the parameter has been removed. The purpose of this change is to make implementation and configuration of a "Execute POS plugin" operation in the POS easier and more user friendly. To support this the setup dialog in the POS has also been changed as follows:

 

New support interface for IPOSPlugin: IPOSPluginSetupProvider

This allows an implementation of IPOSPlugin to return information to the "Button properties" dialog so that the user can get a user-friendly way to configure the operation. The definition of the interface is as follows:

 

IPOSPluginSetupProvider definition

Provides information about an IPOSPlugin to display to the user when he is configuring a button for the POS. If a IPOSPlugindoes not implement this interface then the user must manually enter all the relevant information.

Name Description
List<POSPluginTask> PluginTasks { get; } Returns the list of tasks that theIPOSPlugin can execute.

 

POSPluginTask

Used by IPOSPluginSetupProvider to describe a single task and it's parameter type. This is used when configuring an IPOSPlugin on a button to allow the user select the type of parameter rather than manually entering all the information.

Name Description
public string Description { get; set; } The description of the action.
public string TaskID { get; set; } The ID of the action. This is passed to IPOSPlugin.RunTask as the task parameter.
public LookupTypeEnum LookupType { get; set; } Gets or sets the LookupTypeEnum that should be used when configuring this task. This will set what kind of parameter the user can configure in button configuration dialog for the POS.

 

Diff report for 2020.1 to 2021

2020.1 SP2 to 2021 diff report download

Database changes

To view all database changes the update scripts for this release can be reviewed in the Development pack. The update scripts can be found at ..\DevPack\Source\Core\Datalayer\DatabaseUtil\SQLScripts\Update Database\LS One 2021

 

In this release there were no breaking changes made to database tables, but there were a number of tables added for the cost valuation feature. You can see the changes outlined in the update scripts.

Partner requests

Issue number Support issue Description
ONE-8843 LSTS-3546 Added a setting to the SearchBar ConditionType to set the size of the combo box and add a tooltip to the combobox.