KVSMEDWHCBarcodeMgt#
Events#
OnBeforeReadBarcode(Text, Enum KVSMEDUnitOfMeasureType, Record KVSMEDBarcodeReaderParams, Record KVSMEDBarcodeReaderResponse, Boolean, Boolean) :#
Summary: Is called at the beginning of the ReadBarcode procedure and offers the possibility to prevent further processing.
[IntegrationEvent(false, false)]
local procedure OnBeforeReadBarcode(ScannedContent: Text; var KVSMEDUnitOfMeasureType: Enum "KVSMEDUnitOfMeasureType"; var TempKVSMEDBarcodeTokenizerParams: Record "KVSMEDBarcodeReaderParams" temporary; var TempKVSMEDBarcodeReaderResponse: Record "KVSMEDBarcodeReaderResponse" temporary; var Successful: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDWHCBarcodeMgt", 'OnBeforeReadBarcode', '', false, false)]
local procedure DoSomethingOnBeforeReadBarcode(ScannedContent: Text; var KVSMEDUnitOfMeasureType: Enum "KVSMEDUnitOfMeasureType"; var TempKVSMEDBarcodeTokenizerParams: Record "KVSMEDBarcodeReaderParams" temporary; var TempKVSMEDBarcodeReaderResponse: Record "KVSMEDBarcodeReaderResponse" temporary; var Successful: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
ScannedContent
:KVSMEDUnitOfMeasureType
:TempKVSMEDBarcodeTokenizerParams
:TempKVSMEDBarcodeReaderResponse
:Successful
:IsHandled
:
OnAfterReadBarcode(Text, Enum KVSMEDUnitOfMeasureType, Record KVSMEDBarcodeReaderParams, Record KVSMEDBarcodeReaderResponse, Boolean) :#
Summary: At the end of the procedure, ReadBarcode is called and offers the possibility to edit the data afterwards.
[IntegrationEvent(false, false)]
local procedure OnAfterReadBarcode(ScannedContent: Text; var KVSMEDUnitOfMeasureType: Enum "KVSMEDUnitOfMeasureType"; var TempKVSMEDBarcodeTokenizerParams: Record "KVSMEDBarcodeReaderParams" temporary; var TempKVSMEDBarcodeReaderResponse: Record "KVSMEDBarcodeReaderResponse" temporary; var Successful: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDWHCBarcodeMgt", 'OnAfterReadBarcode', '', false, false)]
local procedure DoSomethingOnAfterReadBarcode(ScannedContent: Text; var KVSMEDUnitOfMeasureType: Enum "KVSMEDUnitOfMeasureType"; var TempKVSMEDBarcodeTokenizerParams: Record "KVSMEDBarcodeReaderParams" temporary; var TempKVSMEDBarcodeReaderResponse: Record "KVSMEDBarcodeReaderResponse" temporary; var Successful: Boolean)
begin
end;
Parameters:
ScannedContent
:KVSMEDUnitOfMeasureType
:TempKVSMEDBarcodeTokenizerParams
:TempKVSMEDBarcodeReaderResponse
:Successful
:
OnBeforeGetBarcodeByReferenceNo(Text, Enum KVSMEDBarcodeCodingSystem, Text[250], Record Item Reference, Boolean, Boolean) :#
Summary: Is called at the beginning of the GetBarcodeByReferenceNo procedure and offers the possibility to prevent further processing.
[IntegrationEvent(false, false)]
local procedure OnBeforeGetBarcodeByReferenceNo(ReferenceNo: Text; KVSMEDBarcodeCodingSystem: Enum "KVSMEDBarcodeCodingSystem"; var ErrorText: Text[250]; var ItemReference: Record "Item Reference"; var BarcodeRecordExists: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDWHCBarcodeMgt", 'OnBeforeGetBarcodeByReferenceNo', '', false, false)]
local procedure DoSomethingOnBeforeGetBarcodeByReferenceNo(ReferenceNo: Text; KVSMEDBarcodeCodingSystem: Enum "KVSMEDBarcodeCodingSystem"; var ErrorText: Text[250]; var ItemReference: Record "Item Reference"; var BarcodeRecordExists: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
ReferenceNo
:KVSMEDBarcodeCodingSystem
:ErrorText
:ItemReference
:BarcodeRecordExists
:IsHandled
: