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
Hello, Thank you very much for the help. Best Regards, Daniel...
07:07 28 Apr 2024
Andis Blicāns, Grasko
Hi, We have client using 8.5 2021-09-26 (build 85400383). The fields &quot;Max Web Users&quot; and &quot;Max Sessions&quot; ar blank. Server is closing itself almost every day. Message in hansa....
15:52 26 Apr 2024