Versions Compared

Key

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

Use this event to

Excerpt

Save collected values to table "MOB Registration".

 


Description

You may use this event only to change sort order.
You cannot set any values from this event.

Receive Order lines can be from:

  • Warehouse Receipts
  • Purchase Orders
  • Transfer Orders
  • Sales Return Orders

 

Sorting by existing fields

Change sorting key

...

Change sorting direction

...

Sorting by custom fields

Change sorting key 

...

Change sorting direction
  • This requires two steps for custom fields:

...

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. 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.

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. 

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 events 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

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
excerptTypesimple
cqllabel = "bc" and label = "onsaveregistrationvalue"

 

Version History

VersionChanges
MOB5.11Introduced

...