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]
------------------------------------------------------------------------
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
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024
Bror-Erik Kotiranta
In NC you hace operations>>ai chats. They are used for these Br, Bror-Erik...
05:12 21 Nov 2024