...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Use this event to
Excerpt |
---|
Populate values in Order Lines displayed at the mobile device (derived from Warehouse Activity Shipment Line). |
Template 1
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Put AwayMOB WMS Ship", 'OnGetPutAwayOrderLinesOnGetShipOrderLines_OnAfterSetFromWarehouseActivityLineOnAfterSetFromWarehouseShipmentLine', '', true true, true true)]
local procedure OnGetPutAwayOrderLines OnGetShipOrderLines_OnAfterSetFromWarehouseActivityLineOnAfterSetFromWarehouseShipmentLine(_WhseActLineTakeWhseShipmentLine: Record "Warehouse Activity LineWarehouse Shipment Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel ElementMOB Ns BaseDataModel Element")
begin
end;
...
Template 2
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Put AwayMOB WMS Ship", 'OnGetPutAwayOrderLinesOnGetShipOrderLines_OnAfterSetFromWarehouseActivityLineOnAfterSetFromWarehouseShipmentLine', '', true true, true true)]
local procedure OnGetPutAwayOrderLines OnGetShipOrderLines_OnAfterSetFromWarehouseActivityLine(_WhseActLineTakeOnAfterSetFromWarehouseShipmentLine2(_WhseShipmentLine: Record "Warehouse Shipment Line"; _TempReservationEntry: Record "Warehouse Activity LineReservation Entry"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel ElementMOB Ns BaseDataModel Element")
var
Item: Record Item;
begin
with _BaseOrderLineElement do begin
Item.Get( begin
// (optional parameter _TempReservationEntry can be used when specific knowledge of the associated Reservation Entry is required)
end;
Example 1
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Ship", 'OnGetShipOrderLines_OnAfterSetFromWarehouseShipmentLine', '', true, true)]
local procedure My01OnGetShipOrderLines_OnAfterSetFromWarehouseShipmentLine(_WhseShipmentLine: Record "Warehouse Shipment Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel Element")
var
Item: Record Item;
begin
Item.Get(_BaseOrderLineElement.Get_ItemNumber());
_BaseOrderLineElement.Set_DisplayLine5('Set from OnGetPutAwayOrderLinesSet from OnGetShipOrderLines_OnAfterSetFromWarehouseActivityLineOnAfterSetFromWarehouseShipmentLine');
SetValue _BaseOrderLineElement.SetValue('SpecialEquimentCodeSpecialEquipmentCode', 'SpecialEquimentCodeSpecialEquipmentCode: ' + Item Item."Special Equipment CodeSpecial Equipment Code");
end;
end;
Example
...
2
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Put AwayMOB WMS Ship", 'OnGetPutAwayOrderLinesOnGetShipOrderLines_OnAfterSetFromWarehouseActivityLineOnAfterSetFromWarehouseShipmentLine', '', true true, true true)]
local procedure OnGetPutAwayOrderLines My02OnGetShipOrderLines_OnAfterSetFromWarehouseActivityLineOnAfterSetFromWarehouseShipmentLine(_WhseActLineTakeWhseShipmentLine: Record "Warehouse Activity LineWarehouse Shipment Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel ElementMOB Ns BaseDataModel Element")
var
Item Item: Record Item;
begin
with _BaseOrderLineElement do begin
// New custom tag
Item // New custom tag
Item.Get(_BaseOrderLineElement.Get_ItemNumber());
_BaseOrderLineElement.SetValue('SpecialEquimentCodeSpecialEquipmentCode', Item Item."Special Equipment CodeSpecial Equipment Code");
// Sort by custom tag
Sort by custom tag
_BaseOrderLineElement.Set_Sorting1(_BaseOrderLineElement.GetValue('SpecialEquimentCodeSpecialEquipmentCode'));
end;
end;
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Version History
Version | Changes |
---|---|
MOB5.00 | Introduced |
...