Gareth Cantrell Posted November 6, 2023 Posted November 6, 2023 I was wondering how I could create a report in Supplier Manager to show the total contract value per supplier. I can achieve what I need in Database Direct using the following SQL, however I'm unable to get the same data out in a report. Does anyone know how to achieve this? SELECT s.h_name as supplier , c.h_currency as currency , FORMAT(SUM(c.h_value),2) as "total contract value" FROM h_supplier_supplier_contracts c JOIN h_supplier_suppliers s ON s.h_id = c.h_supplier_id GROUP BY s.h_name, c.h_currency
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now