Changing the order of action buttons on Forms (Add, Change, Delete, Previous, Inquire, Next)

By default, Lawson forms present action buttons along the top of a form in this order:

  • Add

  • Change

  • Delete

  • Previous

  • Inquire

  • Next

You can change the left to right order that the buttons show on all ERP forms by updating the portalconfig.xml file. Changing order is the only global change you can make to action buttons on ERP forms.

To change the order of buttons on forms

  1. Open the portalconfig.xml file for editing. This file is located on the web server in:

    /DocumentRoot/lawson/MyLawsonPortal/portalconfig.xml

  2. Change the order of the characters that represent button actions in the erp_button_order attribute in the <SETTING id> node. (The <SETTING ID> nodes are between the <SETTINGS></SETTINGS> tags near the top of the portalconfig.xml file.)

    By default, the attribute is set as shown below:

    <SETTING id="erp_button_order" value="a|c|d|p|i|n" />

    where

    a=Add

    c=Change

    d=Delete

    p=Previous

    i=Inquire

    n=Next

    Example:

    Suppose you want the Previous and Next buttons to show in the two left-most positions and you want the other buttons to move two positions to the right. To accomplish this you would change the value of erp_button_order as shown below.

    <SETTING id="erp_button_order" value="p|n|a|c|d|i" />