Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5572 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

I need to change the date,(or the reporting date), in a point of sale system to reflect a working day rather than an actual day. The system is in a restaurant and bar and as the bar may not close until after midnight on occasion, the invoices generated need to reflect that period. The date field however is an auto enter non modifiable field, as it should be. I can not think of an elegant way to bring these extra invoices in to the day's report. Can anyone point he way ?

Posted (edited)

I am unclear whether to kick the date (of weekend activity) forward or back. If forward to the next Monday, try this calculation (result is date) and generate your reports on it:

date + Position ( "17" ; DayOfWeek ( date ) ; 1 ; 1 )

UPDATE: If kicking the date back, use:

date - Position ( "71" ; DayOfWeek ( date ) ; 1 ; 1 )

Edited by Guest
Added update
Posted

Hi LaRetta, I think that I need to take the additional hours of the next day and add any invoices created then to the previous day so that if an invoice was created at 02:30 am on Wednesday, it would come out on the Tuesday turnover reports. The problem is that there are no set hours so it may be 1 hour after midnight or 7 hours after midnight and then there is the problem of Saturday as the restaurant is closed on Sunday

Posted

The problem is that there are no set hours so it may be 1 hour after midnight or 7 hours after midnight and then there is the problem of Saturday as the restaurant is closed on Sunday

Okay, then you need a set of business rules because the system can't determine the proper date if the open-for-business times change.

Have you considered a table where you can track date, time open and time end for your restaurant? That would make it possible to track and kick the receipts backwards if they are outside the standard business hours for that specific receipt date. Otherwise, you will need to come up with a standard set of 'open hours per day' for the business so you can apply the calculation to it.

This topic is 5572 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.