GeneXus For SAP Systems Simple Worklist with global action Floorplan

Official Content
This documentation is valid for:

The Simple Worklist with global action Floorplan is a set of layouts that allows you to query and view data and offers the possibility of applying a certain action to a group of items (to select the items, a checkbox is offered for each line).

This article describes you how to apply it to a Transaction object or Web Panel object to obtain a page like the following:

image_20221125162621_1_png

Note: The design guideline of this floorplan is at SAP's documentation.

How to create it

Look at the Patterns tab of a Transaction in your Knowledge Base. If you have never applied the Fiori for Web pattern in your KB before, read this article: HowTo: apply the Fiori pattern for the first time. Otherwise, by positioning on the Fiori for Web Pattern tab, check the "Apply this pattern on save" checkbox and select the offered link to choose a floorplan:

GeneXusForSAPSystems_ListAndReportPattern_Image83

You can choose the Simple Worklist with global action floorplan from several offered floorplans:

image_20221125161746_1_png

This floorplan can be applied to a Transaction object or a Web Panel object.

Learn how to apply a List Floorplan to a Web Panel.

How to program it

By default, the global action comes unset. To set it, you have to right-click the ProcessItems User action on the Simple Worklist with global action tab, and select the 'Go to Event' option:

GoToEventProcessItemsSimpleWorklsitwithglobalaction_png

This will open the Simple Worklist with global action Web Panel on its Events section and automatically created the Click event of the ProcessItems action:

ActionProcessItemsSimpleWorklistWithGlobalAction_2018420134414_1_png

How to customize it

The following section explains how to customize your Simple Worklist with global action.

Add/Modify/Delete actions

You can add, modify or delete actions by positioning on the Simple Worklist with global action tab, but if you want to do this, you may prefer the GeneXus For SAP Systems List Report Floorplan

To add actions, you have to right-click the GridActions node and then, select Add > UserAction in the contextual menu. The action will be added outside the grid (in the section where the button to insert is located).

UserActionSimpleWorklistwithglobalaction_png

To modify these actions, you can right-click on the action node and select the 'Go to Event' option. Then, you can modify the event code, but remember to do it outside the code generated by GeneXus (to avoid being overwritten by GeneXus).

If you want to add an action inside the grid for every line, you have to right-click on the Grid node and select Add > UserAction in the contextual menu:

AddGridUserActionSimpleWorklistwithglobalaction_png

To modify these actions, you have to follow the next steps:

1. Right-click on the Simple Worklist with global action tab and select Open YourObjectNameSimpleWorklistwithglobalaction.

GoToWebPanelSimpleWorklistwithGlobalAction_png

Note: Temporarily, the Web Panel's name is not WebPanelNameSimpleWorklistwithglobalaction, but it is WebPanelNameListReport.

2. Once in the Simple Worklist with global action Web Panel, go to the Events Section.

GotoEventsSectionSimpleWorklistWithGlobalAction_png

3. While there, you only have to create the Click event for your customized actions.

ClickEventSimpleWorklistWithGlobalAction_201842012578_1_png

Manage Filters

You can manage the filters by positioning on the Simple Worklist with global action tab.

To add filters, you have to right-click on the Table Filter node and then select Add in the contextual menu and then choose the kind of filter you want.

FilterNodeSimpleWorklistWithGlobalAction_201842013128_1_png

For more information, see GeneXus For SAP Filters.

Manage Orders

You can manage the Orders by positioning on the Simple Worklist with global action tab. Once there, you have to right-click on the GridActions node and then select Add > Orders.

image_2019621115831_1_png

After having created the Orders node, you have to right-click on Orders and then choose Add > Order in order to add a new one.

image_2019621115848_1_png

For each order you create, you have to complete its Name property: image_201962111595_1_pngand you have to add the attribute(s) by which the list will be sorted:

image_2019621115919_1_png

For each attribute, you can change the Ascending property, to choose whether you want the list to be sorted in ascending or descending order considering that attribute(s) value(s).

image_2019621115934_1_png

Customize the information to be shown on the list

You can manage the attributes to show by positioning on the Simple Worklist with global action tab.

To prevent attributes from being shown on the Simple Worklist with global action, you have to right-click the attribute and select Delete. Don't worry, it will be deleted from the Web Panel, not from the Transaction.

DeleteAttributeSimpleWorklistWithGlobalAttribute_png

To add attributes to be shown in the list, you have to right-click the Grid node, then select Add > GridAttribute:

AddAttributeSimpleWorklistWithGlobalAttributes_png

Then, GeneXus will display a list of attributes for you to choose which ones you want to add. 

ListAttributesSimpleWorklistWithGlobalAction_png

See Also

GeneXus For SAP Systems Launchpad Object
GeneXus For SAP Systems List Report Floorplan
GeneXus For SAP Systems Simple Worklist Floorplan
GeneXus For SAP Systems KPI Worklist Floorplan
GeneXus For SAP Systems Split Screen Master List Floorplan
GeneXus For SAP Systems Split Screen Master List with amount Floorplan
GeneXus For SAP Systems Wizard Floorplan