Batch Status value

I understand that an article in the knowledgebase (ID 891318) describes the meaning of the Batch Status values. But I no longer have access to this information. Can someone please summarize the values?

All I want to be able to do is retrieve the batch number of the current open batch on a particular register.

Thanks, Steve P.

Reply to
stevepet
Loading thread data ...

I believe that would be zero, but it would be easy enough to check...

In POS, open the Journal - the batch number should be displayed.

Now do a query for that batch number and check the status. Now do a query for the status value you found - there should be one record for each register in you database (even if it's just a manager's station).

Glenn Adams Tiber Creek C> I understand that an article in the knowledgebase (ID 891318) describes

Reply to
Glenn Adams [MVP - Retail Mgmt]

Glenn, You are correct, the value is zero (0x00) when a batch is first opened but the status value changes as actions associated with the batch get processed. For instance when opening amounts are added, the batch status changes to 2 (0x02). When closing amounts are added, the status value becomes a 6 (0x06). It seems to be a bit mask for this value but I don't know all the possible settings.

// Batch Status // 0x01 - Closed // 0x02 - Opening Amounts Entered // 0x04 - Closing Amounts Entered // 0x08 - Blind Closed // 0x10 - ? // 0x20 - ? // 0x40 - ? // 0x80 - ?

My application can now take all of these known values into consideration but I would like the official word on the other possible values to be sure I can locate an open batch. I was hoping the knowledgebase article (ID 891318) would explain all the bit values

Thanks, Steve P.

Glenn Adams [MVP - Retail Mgmt] wrote:

Reply to
stevepet

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.