Versions Compared

Key

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

Use this event to

Excerpt

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

...

  • handle custom format for existing fields (including formats that would otherwise cause validation error when attempting to assign to RegistrationData).
  • validate format for new custom steps (throw meaningful error message here, rather than error messages received from standard posting functions).
  • transfer new custom steps to custom fields at RegistrationData (optional)
  • 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.

...

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"

...