The document contains a SQL query that retrieves data related to sales orders from various tables, including order headers and lines. It filters the results based on specific criteria such as order date, flow status, and selling price, while excluding certain order types and categories. The query aims to calculate total sales by summing unit selling prices and tax values for valid orders.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views
Incomplete order
The document contains a SQL query that retrieves data related to sales orders from various tables, including order headers and lines. It filters the results based on specific criteria such as order date, flow status, and selling price, while excluding certain order types and categories. The query aims to calculate total sales by summing unit selling prices and tax values for valid orders.