Versions Compared

Key

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

Use this event to

Excerpt

Clear or Update custom License Plate fields when Shipment Info (i.e. "Shipping Agent" and "Package Type") changes is changed, while registrations exist

...

  • This event is triggered when Shipment Info is changeschanged
  • Use this to clear any custom fields the previous Package Type has set on registered License Plate-records

...

[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pack Lookup", 'OnPostAdhocRegistrationOnPackagesToShip_OnUpdateLicensePlateFromPackageSetup', '', false, false)]
localprocedure OnPostAdhocRegistrationOnPackagesToShip_OnUpdateLicensePlateFromPackageSetup(var _LicensePlate: Record"MOB License Plate"; _PackageSetup: Record"MOB Mobile WMS Package Setup");
begin
end;

...