POS Actions

The POS Actions page lists all actions customized by LS Express. Partners can also create their own custom actions when needed.

How to: Create Custom Actions in LS Express

  1. Create a record

    • Use the InsertCustomPOSAction procedure from the LSEPOSActionMgt codeunit to add a new record in the LSEPOSAction table.

    • This procedure requires the Action ID, Description, and Comments as parameters.

      Note: Custom Action IDs must be within the range 50000 – 99999.

  2. Write the action code

    • Subscribe to the Event OnExecuteCustomPOSAction in the LSE SystemNewPOSEvtSubscribers codeunit to define how the custom action behaves.

    • Use a case statement to handle each custom POS action created and specify what the system should do when that action is triggered.

  3. View the record

    1. Open the Administration page, choose Navigate and then select POS Actions.

    2. You will see the new Action ID, Description, and Comments added after running the procedure.

      Note: LS Express predefined POS actions cannot be deleted.

      Only custom POS actions with IDs between 50000 – 99999 can be removed.

      Attempting to delete other actions will result in an error notification.

How to: Configure Custom Actions in the POS Menu

  1. Open the Administration page, choose Navigate and then select Menu.

  2. In the Lines FastTab, add the new custom POS actions to make them available in the POS user interface.

  3. To test the result, ensure all steps above are completed and then verify the customized action directly in the POS.