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.
- For everything else use OnPrintLabel_OnAfterPopulateDataset
- Make sure you are only handling the desired template
- Use GetValue/SetValue to modify the dataset
See also:
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;
More examples
-
Case: Print Customized License Plate Contents label (Cloud Print) — Modify the column and lines on License Plate Contents.
Version History
Version | Changes |
---|---|
MOB5.48 | Introduced |