Force Chronology for POS Invoices
SoftIQ Technologies Ltd.
9-8-18
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 saving or posting any new POS Invoices until past Invoices are Oked.

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 errcode = 1990;
res = true;
goto LExistStockTrans;
end;

Version: 8.3 2017-07-16
Build 83250800


/John Maina [2018/09/08 18:00 PM]
------------------------------------------------------------------------
Giuseppe L.
9-10-18
Hello John,
and thank you for reaching out to us with your question.

Apparently, you posted the same question yet:

https://partners.hansaworld.com/forum/viewmessage/2/599

I close this thread and I'll push our dev department to take care of your inquiry.

Best regards,

Giuseppe
HansaWorld Italy
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
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