...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Handle collected values from a single Registration for a Warehouse Shipment Line.
...
Examples of use could be:
...
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. |
Use this event to
Excerpt |
---|
Handle collected values from a single Registration for a Warehouse Shipment Line. |
Description
This event is used to handle collected steps and is executed once for each individual Mobile WMS Registration.
Examples of use could be:
- Write collected values to new or existing fields in the database that subsequently can be accessed from standard posting function events.
- Validate collected values against live data since registration at the mobile device is mostly conducted offline.
Template
// [Template]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistrationOnHandleRegistrationForWarehouseShipmentLine', '', true, true)]
local procedure OnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistratioOnHandleRegistrationForWarehouseShipmentLine(var _WhseShptLineRegistration: Record "Warehouse Shipment LineMOB WMS Registration"; var _RequestValues: Record "MOB NS Request Element"; var _RegistrationWhseShptLine: Record "MOB WMS RegistrationWarehouse Shipment Line")
begin
end;
Example
// [Example]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistrationOnHandleRegistrationForWarehouseShipmentLine', '', true, true)]
local procedure MyOnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistrationOnHandleRegistrationForWarehouseShipmentLine(var _WhseShptLineRegistration: Record "Warehouse Shipment LineMOB WMS Registration"; var _RequestValues: Record "MOB NS Request Element"; var _RegistrationWhseShptLine: Record "MOB WMS RegistrationWarehouse Shipment Line")
var
RegisteredToteID
WhseShptHeader: Record "Warehouse Shipment Header";
RegistrationType: Text;
begin
RegisteredToteID RegistrationType := _RegistrationRequestValues.GetValue('RegistrationType');
WhseShptHeader.Get(_WhseShptLine."Tote IDNo.");
if not RegisteredToteID.Contains(_RequestValues.GetValue('ToteID')) then
_Registration.FieldError("Tote ID");
// Assign any field at MobWmsRegistration here...
// ..._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) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Version History
Version | Changes |
---|---|
MOB5.17 | Introduced |
...