How to: Start an Object in POS

With LS Central POS you can start objects of different types, for example to open a BackOffice page or to run a codeunit.

To prepare the setup

  1. Click the icon, enter POS Run-Objects, and select the relevant link.
  2. Click the New action, and fill in the fields:
    • Object Code: Code ID for the line.
    • Manager Key: Specifies whether a manger key or a manager login on the POS terminal is needed to run this Run-Object.
    • Object Type: Select the object type you want to use: Report, XMLport, Codeunit, or Page.
    • Object ID: Enter the ID that fits your selected object type, for example a page number if you selected Page.
    • Modal: Specifies whether this Run-Object is a modal Run-Object, meaning that it is to stay active on top of other windows in the program until the user has responded to the message issued by the system.

To run the object in the POS

  1. In your POS, find a free button for your new setup, right-click the button, and select Button Properties.
  2. In the POS Button Properties window, fill in these fields:
    • Description, enter a description.
    • Command, enter RUNOBJ.
    • Parameter, select the Object Code you specified in step 2 of the setup.
      Tip: You can use the Assist button to find a value from the list.
    • If you leave the Parameter field empty, you can set the value before you run the command on the POS.
  3. To save your setup, click OK and close the POS Button Properties window.

To open the object in POS

  1. Select your button.
  2. The system opens your object. For example, if you defined a page in your setup, that page is now opened.
  3. To return to the POS, close what you opened.

Note:
If you did not set parameters for the button, you can enter the object ID in the input field of the POS before you run the command.