Barcode Generator Known issue on Business Central update to 17.5
If you are receiving the following error: Function ID -1621499682 was called. The object with ID 0 does not have a number with that ID
“IWX Library – Barcode Gen”(CodeUnit 23044800).Generate39Barcode – Barcode Generator by Insight Works
Ensure you have the latest version of Barcode Generator, v1.3.7723.3 at the time of this notice. Make sure any extension that is dependent on Barcode Generator is rebuilt. To do this please remove all .app files from the .alpackage folder in your source project, then download the symbols, and rebuild.
Cause: Microsoft Dynamics Business Central is removing the “Temp Blob” Table. The previous version of Barcode Generator had marked all procedures obsolete using “Temp Blob” records to pass barcode images, and as of v1.3.7723.3, they no longer exist. Any extension that is also using a Barcode Generator procedure with “Temp Blob” records as a parameter requires changing to our internal table “IWX Barcode”.
Note: If you do need to rebuild your extensions we recommend changing any call to GenerateDataMatrixBarcode() to the new procedure GenerateMatrixBarcode(). GenerateDataMatrixBarcode is being deprecated due to a change in the parameters our barcode generation server takes.
DataItemTableView = SORTING (Number);
SETRANGE(Number, 1, 1);
BarcodeGeneration: Codeunit “IWX Library – Barcode Gen”;
BarcodeGeneration.Generate39Barcode(trecBarcode, ‘100’,55, 220);
trecBarcode: Record “IWX Barcode” temporary;
Please take a look at our updated documentation if you need any further assistance.