Skip to main content

Order businessDate vs openDate

Comments

4 comments

  • Ann Murphy

    Hi Jim Dobson,

    The closeoutHour is the cutoff time for the restaurant’s current business day. For example, if a restaurant has the closeoutHour of 4:00 AM, and an order is placed on July 7th at 2:00 am the businessDate for that order would be July 6th. 

    The Sales Summary report is based on business date, but you can filter by hourly increments. In the attachment, you can see that when selecting “Today,” you have the option to filter until 3:59 AM because this restaurant has a 4:00 AM closeoutHour.

    Thanks,

    Ann

    0
  • Jim Dobson

    Thank you Ann Murphy!

    And to clarify, the openedDate timestamp (converted to local time) of an Order is the time used to filter Sales Summary orders by time, correct?

    And lastly, can you please clarify the difference between openedDate (The business date of the order) being derived from the date/time the order is placed and businessDate (The business date on which the order was fulfilled).

    Thanks!

    0
  • Ann Murphy

    Hi Jim Dobson,

    That is correct, the openedDate of an order is used to filter the Sales Summary report. 

    The openedDate field is the date and time the order entity was opened. In the order object this is represented by a string, and related to the business date of a restaurant, which is determined by the closeoutHour, and subsequently used to determine which date in the Sales Summary report the order will appear.

    The businessDate field in the order is the business date the order was fulfilled. The business date an order is placed (openedDate) is not necessarily the same. 

    Let me know if this clears things up!

    Ann

     

    0
  • Jim Dobson

    Thank you Ann!

    0

Please sign in to leave a comment.