- Created by Johannes Sebastian Nielsen, last modified on May 30, 2024
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 17 Next »
Description
Additional text displayed on a List.
On Planned Functions, DisplayLines are used on both the Order-list and the OrderLines-list.
See also: How-to: Modify HeaderLabel and HeaderValue
Orderlist
The default Order list has four DisplayLines available.
OrderLines list
The default OrderLines-list has four available lines.
Adding Line-breaks
For line breaks, use Char = 10 and 13, also known as carriage return (CR) line feed (LF).
Use MobToolbox.CRLFSeparator() or MobToolbox.CRLFSeparator()
Other options for displaying information
- Display dialoges Create a Pop-up when opening an Order or on Posting
- Add a Information Step that is shown during line registration
Example
Additional text (Lorem ipsum...) displayed on Order Header Level as DisplayLine4
Event Subscriber
Subscribe to an "OnAfterSetFrom"-event and use the Set_DisplayLine1,2,3 and 4 to modify the displaylines.
Tip: Use Get_DisplayLine1,2,3,4 to read the existing content. This way, you and postfix any information you want to the existing text.
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pick", 'OnGetPickOrderLines_OnAfterSetFromWarehouseActivityLine', '', true, true)]
local procedure OnGetPickOrderLines_OnAfterSetFromWarehouseActivityLine(_WhseActLineTake: Record "Warehouse Activity Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel Element")
begin
_BaseOrderLineElement.Set_DisplayLine4('Lorem ipsum....');
end;
Available Order Line events:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
Available Order events:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
- No labels