Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Additional text displayed on a List.


On Planned Functions, DisplayLines are used on both the Order-list and the OrderLines-list.

Available on 

  • Order Header level
  • Order Line level

The default device configuration has 5 available lines where 3 are in use.

See also: How-to: Modify HeaderLabel and HeaderValue


Orderlist

The default Order list has four DisplayLines available.

Image Added

OrderLines list

The default OrderLines-list has four available lines.
Image Added


Automatic line wrap

Text or words longer than the display area, are automatically wrapped to the next line.


Adding Line-breaks

For line breaks, use Char = 10 and 13, also known as carriage return (CR) line feed (LF).

Use MobToolbox.CRLFSeparator().


Other options for displaying information

  • Display dialoges (When you want Create a Pop-up when opening an Order )"Collector step" so the information is displayed during the actual Registration of Barcode scanning / input values.or on Posting
  • Add a Information Step that is shown during line registration

Example

Additional text (Lorem ipsum...) displayed on Order Header Level as DisplayLine 4

Image Removed

DisplayLine4.

Event Subscriber

Subscribe to an "OnAfterSetFrom"-event and use the Set_DisplayLine1

,2,3 and 4 to

-4 modify the displaylines.


Tip: Besides setting, you can also "get" displaylines.
Use Get_DisplayLine1,2,3,4 -4 to read the existing content.
This way, you and postfix any information you want to the existing text.


    [EventSubscriber(ObjectType::CodeunitCodeunit::"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

are

:

Filter by label (Content by label)
showLabelsfalse
max90
showSpacefalse
sorttitle
cqllabel = "bc" and label = "orderlines" and label = "integrationevent" and label = "onaftersetfrom"


Available Order events:

Filter by label (Content by label)
showLabelsfalse
max90
showSpacefalse
sorttitle
cqllabel = "bc" and label = "orders" and label = "integrationevent" and ancestor label = "47220743onaftersetfrom"

Further reading

Order Processing