Use this event to
...
- 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
...
Standard Label Template Designs
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Print", 'OnPrintLabel_OnAfterPopulateOrderListLine', '', true, true)]
localprocedureOnPrintLabelOnAfterPopulateDataset(_LinePath: Text; _SourceRecRef: RecordRef; var_Dataset: Record"MOB Common Element")
begin
end;
Expand | ||
---|---|---|
| ||
|
...