Check saved invoice record
Aldevinas Katkus
9-24-20
Operating system: macOS
I am importing invoices from an external system. I noticed that after saving Official Ser. Number becomes blank if it does not conform rules. There is no recordcheck error in this case (checked manually). The Ofic. Number just becomes blank.
How can I detect that Official number has become blank after saving the record?
The following does not work
if (RecordStore(IVr,true)) then begin
IVr2.SerNr=IVr.SerNr;
if (ReadFirstMain(IVr2,1,true)) then begin

if (blank(IVr2.OfficialSerNr)) then begin
StopAlert(IVr2.SerNr & " with no ofic. Nr.");
problemf=true;


end;
end;
end;
Swati D.
9-24-20
Hi Aldevinas

We will get a response for you asap

Thank you for your question

Swati 9.24
David Delač
9-25-20
Hi Aldevinas,

I'm not able to see an issue with the piece of code that you have pasted here. Maybe you could open a bug report with halcust attached and repeatable situation that I can look at?

Best Regards,
David D.
Aldevinas Katkus
9-25-20
Created byDavid Delač16:36 25 Sep 2020
Hi Aldevinas, I'm not able to see an issue with the piece of code that you have pasted here. Maybe you could open a bug report with halcust attached and repeatable situation that I can look at? Best Regards, David D.
Hi David,
This code is being executed by maintenance to process import files from a specific location on the server. Maybe this is why it does not work for me?
Swati D.
10-1-20
Hi Aldevinas

Is this sorted for you now? Or do you still need help?

Swati 1.10
Aldevinas Katkus
10-5-20
Reported bug: SL>>Invoices>>Official ser. No. blank after saving
No hals are needed to replicate this bug.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024