Versions Compared

Key

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

Use this event to

Excerpt

Save Validate and save collected values to table "MOB WMS Registration"-table.

 

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:


...

Description

Mobile registrations form a planned function are stored in the "MOB WMS Registration"-table.

This event is triggered for each and every value received in the Mobile "Post request".


You can use this event to:

  • Handle custom formats for existing fields
    • avoiding validation errors 
  • Validate format for new custom steps
    • throw meaningful error message, rather than error messages received from standard posting functions
  • Transfer new custom steps to custom fields 
    • by using this event to save values you may (in some cases) be able to avoid doing any further customizations to posting routines

Tip

Saving custom values in MOB WMS Registration -to save data to posting routines is not required since version 5.10

You can read custom values from directly via .GetValue(...)-Event Subscriber where you've got access to the MOB WMS Registration-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
excludeCurrenttrue
cqllabel = "bc" and label = "onsaveregistrationvalue" and label = "example"

 

Version History

VersionChanges
MOB5.11Introduced