Disallow Posting POS Invoices if past Invoices exist (Chronology)
SoftIQ Technologies Ltd.
8-25-17
Hello;

My client in retail using POS Module has experienced an issue where past POS Invoices which have not been finished are being taken advantage of by Users. What they want is if there is an existing POS Invoice that was not finished in the past the system to disallow posting until they are either finished or deleted.

I had tried to use the same logic used in “Force chronology for Invoice” but it is not working please assist.

This is what I have in Tools>>StockTools4.hal

switch (MainStockRec.Chronology) begin
case 1: keystr = "LocOK";
case 2: keystr = "OKFlagTransDate";
end;
if (ReadFirstKey(keystr,IVCashr,3,matchf) and (IVCashr.OKFlag==0) and
(IVCashr.TransDate<dp) and ((fnr!="IVCashVc") or (IVCashr.SerNr!=SerNr))) then begin
errcode = 1990;
res = true;
goto LExistStockTrans;
end;

Version: 8.3 2017-07-16
Build 83250800

/John Maina [2017/08/25 19:30 PM]
------------------------------------------------------------------------
Dejan R.
8-28-17
Hello John,

thank you for detailed description of an issue. I will have to talk to developers and then i will get back to you.


Dejan
SoftIQ Technologies Ltd.
9-10-18
Created byDejan R.13:55 28 Aug 2017
Hello John, thank you for detailed description of an issue. I will have to talk to developers and then i will get back to you. Dejan
Dear Dejan,

Did you ever get a response from your Developers as the client is still asking about this issue.

Thank you.


Regards,
John.
Giuseppe L.
9-10-18
Hello John,
I'll push our dev department to feed us with the proper information to give you an answer.

Giuseppe
HansaWorld Italy
SoftIQ Technologies Ltd.
9-10-18
Created byGiuseppe L.14:09 10 Sep 2018
Hello John, I'll push our dev department to feed us with the proper information to give you an answer. Giuseppe HansaWorld Italy
Hello Giuseppe,

This is noted. Awaiting your response.

Regards,
John.
Giuseppe L.
9-20-18
Hello John and thank you for waiting the required time to analyze the case and figure out more about your request.
We have the feature Force Chronology for Sales Ledger Invoice in Module: Sales Ledger> Settings: Account Usage S/L which disallow to assign a newer record number to previously dated documents.
Please refer to the section: "Force Chronology for Invoice"
http://www.hansamanuals.com/main/mailnumber___58981/theconf___514/manuals/version___80/swedish/hwconvindex.htm?shortcode=HW0201SETTINGS_Account_Usage_SL_Card_1_Check_Boxes

unfortunately, the code Tools>>StockTools4.hal you asked to check if can be applied to POS Invoice was not meant to be used with POS Invoice. That code updates stock and POS module doesn't work with stock.

As a matter of fact, you proposed a very good wish.

Please make this wish according to our routine and your local HansaWorld Country Manager and I will follow up with it.

Kind regards,
Giuseppe
HansaWorld
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