...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Use this event to
Excerpt |
---|
TODO |
Description
...
Modify values for <LookupResponse>-elements (values transferred from "MOB Label-Template" table) |
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Lookup", 'OnLookupOnPrintLabel_OnAfterSetFromLabelTemplate', '', false, false)]
local procedure OnLookupOnPrintLabel_OnAfterSetFromLabelTemplate(_LabelTemplate: Record "MOB Label-Template"; _SourceRecRef: RecordRef; var _LookupResponseElement: Record "MOB NS WhseInquery Element")
begin
end;
Example
// [Example] Display entire template name as DisplayLine1 ("unsplit" displayline 1 and 2)
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Lookup", 'OnLookupOnPrintLabel_OnAfterSetFromLabelTemplate', '', false, false)]
local procedure MyOnLookupOnPrintLabel_OnAfterSetFromLabelTemplate(_LabelTemplate: Record "MOB Label-Template"; _SourceRecRef: RecordRef; var _LookupResponseElement: Record "MOB NS WhseInquery Element")
begin
_LookupResponseElement.Set_DisplayLine1(_LookupResponseElement.Get_DisplayLine1() + ' ' + _LookupResponseElement.Get_DisplayLine2());
_LookupResponseElement.Set_DisplayLine2('');
end;
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Version History
Version | Changes |
---|---|
MOB5.29 | Introduced |
...