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. Package Type) is changed, while registrations existsexist.

Description

  • This event is triggered when Shipment Info is changed from any value to <blank> 
  • 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;

...