Announcement

LS Central v 28.0 - Breaking changes

Posted on 3/19/2026 12:00:00 PM

In LS Central version 28.0, the POS Transaction codeunit has been refactored as part of our ongoing effort to improve the architecture of the POS transaction framework.

The primary goal of this refactoring is to simplify global state handling and support the gradual decomposition of the POS Transaction codeunit into smaller, more maintainable components. This architectural improvement will make the codebase easier to maintain and extend going forward, enabling faster innovation and more reliable customization for partners and customers.

As part of this work, many integration events have been updated, resulting in breaking changes. While these updates require some adjustments to existing customizations, they are an important step toward a more flexible and maintainable architecture.

To support the transition:

  • The affected events have been marked as obsolete.
  • Updated versions of the events have been introduced.
  • Parameters previously passed directly are now handled through the POS Transaction Context record, which centralizes transaction state management.

A comprehensive list of affected events is included in an Excel spreadsheet you can download from the LS Retail Portal.

                                                                                                                                                   

Updating Event Subscriptions

If your customer customizations subscribe to any of the affected events, you will need to update your code accordingly.

For example, the event:

{
internal procedure OnAfterPreAuthExecuted(var POSTransaction: Record "LSC POS Transaction"; var POSTransLine: Record "LSC POS Trans. Line"; var CurrInput: Text; var TenderTypeCode: Code[10])
}

has been replaced with:

{
internal procedure OnAfterPreAuthExecutedV2(var POSTransaction: Record "LSC POS Transaction"; var POSTransLine: Record "LSC POS Trans. Line"; var TenderTypeCode: Code[10]; var TransactionContext: Record "LSC POS Transaction Context")
}

The CurrInput parameter has been removed. The relevant values are now accessed through the TransactionContext record.

To update your subscription

  1. Change the event subscription from OnAfterPreAuthExecuted to OnAfterPreAuthExecutedV2.
  2. Replace direct usage of CurrInput with the appropriate setter and getter methods in TransactionContext.

Examples:

Using setters

  Instead of:

{
  CurrInput := Something;
}  

  Use:

{
  TransactionContext.SetCurrInput(Something);
}

Using getters

  Instead of:

{ 
if CurrInput = '' then
}

  Use:

{
  if TransactionContext.GetCurrInput() = '' then
}

                                                                                                                                                   

Recommendation

We strongly recommend building all extensions that depend on LS Central using the Release Candidate version. This will allow you to detect any required updates early and ensure your customizations are ready when the release becomes generally available.

Information on how to access the Release Candidate can be found here.

                                                                                                                                                   

These changes are part of our long-term effort to improve the structure, maintainability, and extensibility of the POS Transaction module. We appreciate your cooperation and flexibility as we continue evolving the platform.

If you have any questions or need assistance updating your code, please submit a support ticket to Technical Support.