Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this event to

...

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.

Current alternatives are:
- If
*  If you are building/deploying the Mobile WMS yourself (Per-Tenant version) you may create your inline customizations to codeunit "MOB WMS Adhoc Registr.".PostToteShippingRegistration() and submit a request for your changes to be included in our next release.
- If
* If you are deploying the .app (or from AppSource) you must create a new custom RegistrationType, and deploy a redundant/modified version of "MOB WMS Adhoc Registr.".PostToteShippingRegistration() from your own extension.

...

    // [Template]
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistration''', true, true)]
    local procedure OnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistratio(_WhseShptLine: Record "Warehouse Shipment Line"; var _RequestValues: Record "MOB NS Request Element"; var _Registration: Record "MOB WMS Registration")
    begin
    end;
 

Example

    // [Example] 
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistration''', true, true)]
    local procedure MyOnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistration(_WhseShptLine: Record "Warehouse Shipment Line"; var _RequestValues: Record "MOB NS Request Element"; var _Registration: Record "MOB WMS Registration")
    var
        RegisteredToteID: Text;
    begin
        RegisteredToteID := _Registration."Tote ID";

        if not RegisteredToteID.Contains(_RequestValues.GetValue('ToteID')) then
            _Registration.FieldError("Tote ID");

        // Assign any field at MobWmsRegistration here...
        // ...
    end;

 

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "example" and label = "OnPostAdhocRegistrationOnToteShipping_OnBeforeModifyRegistration"

...