Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Use this event to

Save collected values to table "MOB Registration". 


Description

This event is triggered for each collected value received from the Mobile Device "Post" request when values is stored to the "RegistrationData"-table. 
The RegistrationData-table is what is used for all Mobile WMS Posting functions. 

You can use this event to:

  • handle custom format for existing fields (including formats that would otherwise cause validation error when attempting to assign to RegistrationData.
  • validate new custom steps format to throw meaningfull error messages
  • transfer new custom steps to custom fields at RegistrationData. 
  • by using this event to set or validate values in RegistrationData, you may (in some cases) be able to avoid doing any further customizations to posting routines.

Note: Creating new custom fields at RegistrationData is no longer required since MOB5.10. You can now read custom values from RegistrationData directly via .GetValue(...)-functions in any code or eventsubscribers where you got access to the RegistrationData-table.


Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Toolbox", 'OnSaveRegistrationValue''', true, true)]
    procedure OnSaveRegistrationValue(_Path: Text; _Value: Textvar _MobileWMSRegistration: Record "MOB WMS Registration"; var _IsHandled: Boolean)
    begin
    end;

 

Example

 

Version History

VersionChanges
MOB5.11Introduced
  • No labels