Blog

SAP Business One – Sales Summary total for last 24 hours

Categories

SAP Business One

Table of Contents

By Ryan Howe

Sales Summary total for last 24 hours

This query in SAP Business One returns 1 value, the total sales dollars in the last 24 hours. This is a great query to turn into an alert, or use in a Dashboard on release 8.8 or SAP Business One.

SELECT sum(T0.[DocTotal]) AS ‘SO$’ FROM ORDR T0 WHERE T0.[DocDate] >= getdate()-1

Ryan Howe

Ryan Howe

Partner, Clients First Business Solutions New Jersey

Ryan Howe is a Certified Public Accountant turned SAP Business One consultant. Leading the SAP Business One practice at Clients First, Ryan has over 23 years’ experience in the financial management and ERP industry, specializing in business analysis, relationship building, and business process optimization. When he’s not helping customers leverage SAP Business One to meet their short and long-term needs, you can find him at any Michigan State sporting event with his family – go Spartans!