EzeScan KFI is not always loading the value into a TRIM Context Foreign Barcode field.
The first time save an image into TRIM Context and you load a value of 123456 into a TRIM Foreign Barcode field it works. But when you save the next image and try to reuse the value of 123456 in the TRIM Foreign Barcode field, it just leaves the field blank?
This is because the Foreign Barcode value should be unique. In reality a physical sticker would be printed and affixed to one document only, not multiple documents.
If you are testing with Foreign Barcodes values, make sure they are incrementing or changing for each document saved.