Barcode::validateItemBarcode Method [AX 2012]
Validates and converts the barcode to an item ID.
Syntax
client server public static ItemId validateItemBarcode(Common _buffer, BarCodeString _barCodeString)
Run On
Called
Parameters
- _buffer
Type: Common Table
The record where the resulting item ID and dimension should be stored; or nullNothingnullptrunita null reference (Nothing in Visual Basic).
- _barCodeString
Type: BarCodeString Extended Data Type
The input value, which is typically either an item ID or an item barcode.
Return Value
Type: ItemId Extended Data Type
The ID of the identified item or the input barcode.
Remarks
Must be called before the validateField method is called.
Note that the update of a joined inventory dimension data source in a form may require special handling.