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
Carolina Valentino
are the activity set as Hansamanuals said? https://www.hansamanuals.com/main/mailnumber___62526/theconf___231/manuals/version___20250224/langcode___es/hwconvindex.htm?shortcode=HW0301SETTINGS_Order...
17:20 4 Apr 2025
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025