Use this event to
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnAfterSetFromWarehouseEntry', '', true, true)]
localprocedure OnLookupOnHistory_OnAfterSetFromWarehouseEntry(var _LookupResponseElement: Record"MOB NS WhseInquery Element"; _WhseEntry: Record"Warehouse Entry")
begin
end;
Example
// [Example]: Modify the DisplayLine1 to show the Bin Type Code.
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnAfterSetFromWarehouseEntry', '', true, true)]
localprocedure MyOnLookupOnHistory_OnAfterSetFromWarehouseEntry(var _LookupResponseElement: Record"MOB NS WhseInquery Element"; _WhseEntry: Record"Warehouse Entry")
begin
_LookupResponseElement.Set_DisplayLine1(_WhseEntry."Bin Type Code");
end;
...
Version History
Version | Changes |
---|---|
MOB5.4546 | Introduced |