Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Use this event to

Specifically, modify the lines on Order List Template e.g. License Plate Contents, before transferring to the Cloud Print Service 

  • This event is only for lines.
  • Make sure you are only handling the desired template
  • Use GetValue/SetValue to modify the dataset


See also:

Customize Labels

Standard Label Template Designs


Template

[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Print", 'OnPrintLabel_OnAfterPopulateOrderListLine', '', true, true)]
    local procedure OnPrintLabelOnAfterPopulateDataset(_LinePath: Text; _SourceRecRef: RecordRef; var _Dataset: Record "MOB Common Element")
    begin
    end;


 Click here for parameters...
  • _LinePath
    • Name of the template to handle
  • _SourceRecRef
    • A RecordRef to the context the print is called from.
    • I.e. Sales Order Line, Warehouse Receipt Line, Purchase Order Return Line, Warehouse Activity(Pick, Put-away) etc.
  • _Dataset


More examples

  

Version History

VersionChanges
MOB5.48Introduced



  • No labels