ReadFirstKey cannot find a record
Aldevinas Katkus
9-24-20
Operating system: macOS
I am checking for an existing invoice like this

IVr2.OfficialSerNr=inline;
if (ReadFirstKey("OfficialSerNr",IVr2,1,true))then begin
...

if inline=VPLT25790C11LT then ReadFirstKey() returns false even though such key exists. I have checked the invoices browse window - the same issue - I cannot find an invoice even it is in the list.
If I search for VPL25866 it works fine.
Is it a bug?
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025
Paul Timms
Hi Yavuz The Services Cache register is stored on the server. Our customer servers are either Linux or Windows. The client OS is irrelevant. Thanks Paul...
14:44 10 Jun 2025