Info |
---|
New custom steps per Tote can currently not be created using existing IntegrationEvents. Addtional ToteShipping events has been planned for Q3 2020 to allow integration to Consignor, LogTrade or similar, that may require a package-identication or weight to be collected per Tote. |
...
// [Template]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnToteShipping_OnHandleRegistrationForWarehouseShipmentLine', '', true, true)]
local procedure OnPostAdhocRegistrationOnToteShipping_OnHandleRegistrationForWarehouseShipmentLine(var _Registration: Record "MOB WMS Registration"; var _RequestValues: Record "MOB NS Request Element"; var _WhseShptLine: Record "Warehouse Shipment Line")
begin
end;
Example
// [Example]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnToteShipping_OnHandleRegistrationForWarehouseShipmentLine', '', true, true)]
local procedure MyOnPostAdhocRegistrationOnToteShipping_OnHandleRegistrationForWarehouseShipmentLine(var _Registration: Record "MOB WMS Registration"; var _RequestValues: Record "MOB NS Request Element"; var _WhseShptLine: Record "Warehouse Shipment Line")
var
WhseShptHeader: Record "Warehouse Shipment Header";
RegistrationType: Text;
begin
RegistrationType := _RequestValues.GetValue('RegistrationType');
WhseShptHeader.Get(_WhseShptLine."No.");
_WhseShptLine."Description 2" := CopyStr(StrSubstNo('%1 %2 %3', RegistrationType, _Registration."Tote ID", WhseShptHeader."MOB Posting MessageId"), 1, MaxStrLen(_WhseShptLine."Description 2"));
end;
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...