Skip to content

[Event Request][W1][Page][6532][Continuous Item Tracking] Add OnBeforeValidateInput to LastInput OnValidate #29540

@GonzaloGuerraVicente

Description

@GonzaloGuerraVicente

Why do you need this change?

I want to be able to parse the data readed from a GS1-128 Barcode to extract the Application Identifiers needed.
For example, for the following barcode I need to extract the AI "10" witch corresponds to the Lot Number.

Image

Describe the request

A possible Event Publisher would look like

field("Scanning Area"; LastInput)
{
	Caption = 'Input';
	Editable = true;
	Lookup = true;
	ToolTip = 'Specifies the content scanned to input.';

	trigger OnValidate()
	begin
		OnBeforeValidateInput(LastInput, SourceItemTrackingEntryType);
		if ContinuousScanningMode then
			CurrPage.Close();
	end;
}

[IntegrationEvent(false, false)]
local procedure OnBeforeValidateInput(var Input: Text; ItemTrackingEntryType: Enum "Item Tracking Entry Type")
begin
end;

Internal work item: AB#617041

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an event

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions