You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Next »
Filter and reduce Order Lines by a scanned value.This article builds on the concept of Select Order Line by custom barcode
Used for custom barcodes (Non GS1), in special cases where a regular expression is needed to decipher the barcode.
Follow the setup on Select Order Line by custom barcode and define your regular expression for the Barcode converter.
You must register this mobile document type.
Use event OnAfterCreateDefaultDocumentTypes
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultDocumentTypes', '', true, true)] local procedure OnAfterCreateDefaultDocumentTypes() var MobWmsSetupDocTypes: Codeunit "MOB WMS Setup Doc. Types"; begin MobWmsSetupDocTypes.CreateDocumentTypeAndAddToMobileGroup('GetLineSelectionInformation', Codeunit::"MOB WMS Whse. Inquiry", 'WMS'); end;
Remember to run Create Document Types from Mobile WMS Setup. Otherwise you will get this error.