opengenpos / genpos

source code for the GenPOS point of sale application owned by Georgia Southern University and now open source.
MIT License
2 stars 0 forks source link

Max number items per stored guest check is approx. 120 #13

Open RichardChambers opened 1 week ago

RichardChambers commented 1 week ago

Testing with a two terminal cluster, Steve found that storing (using a total key setting for Service Total) and retrieving a guest check from a Satellite Terminal when the number of items per guest check was set to the maximum of 200 would provide only a summary rather than the complete list of items on the Satellite Terminal.

Steve reported that doing the same action on the Master Terminal did not have this issue and the complete guest check was retrieved and displayed allowing additional items to be added and the resulting guest check stored again.

I suggested dropping the max number of items on a guest check to 120 and that works properly when retrieving a stored guest check from the Satellite Terminal. When he tried 150 items, the summary was retrieved rather than the complete list of items. It appears there is some threshold between 120 items and 150 items where the Satellite Terminal will retrieve a guest check summary rather than the complete guest check.

This was using a system type of Pre-guest Check Buffering.

Note that in the ASSRTLOG logs there was a warning at startup that the size of the data buffer needed for 200 items was greater than 0xFFFF, the max for a USHORT.

At this time 120 items per guest check as a maximum is sufficient for a small restaurant.