(Legacy) OnPrem/Per-Tenant Extension
This article was written for the separate Pack & Ship Extension (OnPrem or Per-Tenant).
Pack & Ship is now a feature in the standard Mobile WMS (since MOB5.42) with new events in the Mobile WMS scope (MOB).
Links:
API Documentation - Pack & Ship
OnLookupOnPackagesToShip_OnAfterSetFromWarehouseShipmentHeader
local procedure OnLookupOnPackagesToShip_OnAfterSetFromWarehouseShipmentHeader(_WhseShipmentHeader: Record "Warehouse Shipment Header"; var _LookupResponseElement: Record "MOB NS WhseInquery Element")
begin
end;
// Example adding a custom value to the barcode element of the first line in the Pack & Ship list with Shipment/License Plate lines
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pack Lookup", 'OnLookupOnPackagesToShip_OnAfterSetFromWarehouseShipmentHeader', '', false, false)]
local procedure MyProcedure(_WhseShipmentHeader: Record "Warehouse Shipment Header"; var _LookupResponseElement: Record "MOB NS WhseInquery Element")
begin
_LookupResponseElement.Set_Barcode('1234'); // Hardcoded value to be stored in the barcode tag of the first element in the Packing Screen with License Plates
end;
OnLookupOnPackagesToShip_OnAfterSetFromLicensePlate
local procedure OnLookupOnPackagesToShip_OnAfterSetFromLicensePlate(_LicensePlate: Record "MOS License Plate"; var _LookupResponseElement: Record "MOB NS WhseInquery Element")
begin
end;
OnLookupOnPackagesToShip_OnAddStepsToWarehouseShipmentHeader
local procedure OnLookupOnPackagesToShip_OnAddStepsToWarehouseShipmentHeader(var _LookupResponse: Record "MOB NS WhseInquery Element"; _WhseShipmentHeader: Record "Warehouse Shipment Header"; var _Steps: Record "MOB Steps Element")
begin
end;
OnLookupOnPackagesToShip_OnAfterAddStepToWarehouseShipmentHeader
local procedure OnLookupOnPackagesToShip_OnAfterAddStepToWarehouseShipmentHeader(_WhseShipmentHeader: Record "Warehouse Shipment Header"; var _Step: Record "MOB Steps Element")
begin
end;
OnLookupOnPackagesToShip_OnAddStepsToLicensePlate
local procedure OnLookupOnPackagesToShip_OnAddStepsToLicensePlate(var _LookupResponseElement: Record "MOB NS WhseInquery Element"; _LicensePlate: Record "MOS License Plate"; var _Steps: Record "MOB Steps Element")
begin
end;
OnLookupOnPackagesToShip_OnAfterAddStepToLicensePlate
local procedure OnLookupOnPackagesToShip_OnAfterAddStepToLicensePlate(_LicensePlate: Record "MOS License Plate"; var _Step: Record "MOB Steps Element")
begin
end;
OnLookupOnLicensePlateContent_OnAfterSetFromLicensePlateContent
local procedure OnLookupOnLicensePlateContent_OnAfterSetFromLicensePlateContent(_LicensePlateContent: Record "MOS License Plate Content"; var _LookupResponseElement: Record "MOB NS WhseInquery Element")
begin
end;
OnLookupOnLicensePlateContent_OnAddSteps
local procedure OnLookupOnLicensePlateContent_OnAddSteps(var _LookupResponseElement: Record "MOB NS WhseInquery Element"; _LicensePlateContent: Record "MOS License Plate Content"; var _Steps: Record "MOB Steps Element")
begin
end;
OnLookupOnLicensePlateContent_OnAfterAddStep
local procedure OnLookupOnLicensePlateContent_OnAfterAddStep(_LicensePlateContent: Record "MOS License Plate Content"; var _Step: Record "MOB Steps Element")
begin
end;