|Previous Next | Direct link to this topic|
During work with the B1UP’s Item Placement Tool you will encounter the term Panelevel and the FromPane and ToPane.
This section will try to explain what this concept is and how to work with them.
Panelevels is an invention of SAP Business One on how to place items of a window on different tab-pages.
For each tab is a Panelevel tied to it represented by a simple numeric value.
If we look at a window in SAP Business One will try to go into details.
This is a window in SAP Business One and its current Panelevel is 6. The reason for this is that the general tab is the active and by SAP definitions all data on the Item Master Data General tab is “tied” to pane 6 and on data like the Manu. If we were to press on the Purchasing Data tab the windows Panelevel would change to 1 and show all items tied to pane 1.
We also have a special pane called Panelevel 0. Any item that are placed on pane 0 will be shown no matter what Panelevel the window currently is in. That’s the reason why an item like Item Number are shown no matter what tab we are on.
Why a FromPane and a ToPane?
The above explanation works for about 95% of all items in SAP Business One windows and you can work from that. But the whole truth is a bit more complicated.
Each item in a window actually has a FromPane and a ToPane so the item can be on a range of panes. As mentioned this is very seldom used and most items from and to panes are the same (because it should only be shown on that single pane)
One of the special places is the Sales and Purchase documents
Because we have the Item/Service types and the Summary Type of document lines an item like the highlighted Combobox have a FromPane of 1 and a ToPane of 4. These four panes are used to show the different versions of the line-data and result in that if the window is on any of panelvel 1, 2, 3 or 4 the Combobox will still be shown.
In practical use only on documents would perhaps set the From and To pane to something different. Anywhere else you will let them be the same.
The use in B1UP and Panelevel -1?
The Item Placement Tool and the Universal Function - Content Creator takes advantage of the Panelevel system and let you manipulate the Panelevel of existing items and set them for your own items to allow you to move items to other Panelevels (tabs), move them to pane 0 (making the header data) and even to put them on panes that does not exist (which will result in that they are not shown)
Please note that the B1UP introduce a Panelevel -1. All that this means is that B1UP should not make any changes to current Panelevels. This is used when you wish to move an item around on its current pane and not move it another.
Here where take the Price list items (label + Combobox) which is normally located on pane 6 (Payment terms) of the Business Partner Master Data and set its From and To pane to 0 instead.
If we look at the result of this change we see that the Panelevel change + some additional pixel-moving (new top and left pixels) have moved the Price list data from the Payment Terms tab-page and made the data header data instead
Panelevels on most common windows