on 09-11-2014 1:11 PM
Hi,
I need help on a query that a customer needs for a sales analysis report.
It should also contain:
Parameters from date X to Y and Warehouse Z
Columns should be as follows
# | Item No. | Item Description | Customer Code | Customer Name | City | Annual Total | April (2014) - Quantity | April (2014) - Sales Amount | April (2014) - Gross Profit | April (2014) - Gross Profit % | May (2014) - Quantity | May (2014) - Sales Amount | May (2014) - Gross Profit | May (2014) - Gross Profit % | June (2014) - Quantity | June (2014) - Sales Amount | June (2014) - Gross Profit | June (2014) - Gross Profit % | July (2014) - Quantity | July (2014) - Sales Amount | July (2014) - Gross Profit | July (2014) - Gross Profit % | August (2014) - Quantity | August (2014) - Sales Amount | August (2014) - Gross Profit | August (2014) - Gross Profit % | September (2014) - Quantity | September (2014) - Sales Amount | September (2014) - Gross Profit | September (2014) - Gross Profit % |
This report we can take from sap business one sales analysis report but customer asking city column.that why
Please send me query ASAP.
Regards,
Rajeev.
Hi,
Did you check B1 standard sales analysis report under sales reports?
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagarajan,
Yes i checked standard report in sap business one,
But customer asking city column to that report ,
If possible send me a query basic on Itemise sales analysis report ,total by customer.
Needed columns :
# | Item No. | Item Description | Customer Code | Customer Name | City | Annual Total | April (2014) - Quantity | April (2014) - Sales Amount | April (2014) - Gross Profit | April (2014) - Gross Profit % | May (2014) - Quantity | May (2014) - Sales Amount | May (2014) - Gross Profit | May (2014) - Gross Profit % | June (2014) - Quantity | June (2014) - Sales Amount | June (2014) - Gross Profit | June (2014) - Gross Profit % | July (2014) - Quantity | July (2014) - Sales Amount | July (2014) - Gross Profit | July (2014) - Gross Profit % | August (2014) - Quantity | August (2014) - Sales Amount | August (2014) - Gross Profit | August (2014) - Gross Profit % | September (2014) - Quantity | September (2014) - Sales |
Please help me ASAP,
Regards,
Rajeev.
Hi,
try below query
SELECT T1.[ItemCode], T1.[Dscription],sum(T1.[Quantity]) Quantiry, T0.[CardCode], T0.[CardName],T1.[WhsCode], max(T3.[City])City FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE T0.[DocDate] between [%0] and [%1] and T1.[WhsCode] =[%2] GROUP BY T1.[ItemCode], T1.[Dscription],T0.[CardCode], T0.[CardName], T1.[WhsCode]
regards,
Raviraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Raviraj,
I need coloums like follows:
# | Item No. | Item Description | Customer Code | Customer Name | City | Annual Total | April (2014) - Quantity | April (2014) - Sales Amount | April (2014) - Gross Profit | April (2014) - Gross Profit % | May (2014) - Quantity | May (2014) - Sales Amount | May (2014) - Gross Profit | May (2014) - Gross Profit % | June (2014) - Quantity | June (2014) - Sales Amount | June (2014) - Gross Profit | June (2014) - Gross Profit % | July (2014) - Quantity | July (2014) - Sales Amount | July (2014) - Gross Profit | July (2014) - Gross Profit % | August (2014) - Quantity | August (2014) - Sales Amount | August (2014) - Gross Profit | August (2014) - Gross Profit % | September (2014) - Quantity | September (2014) - Sales Amount | September (2014) - Gross Profit | September (2014) - Gross Profit % |
Please send me query ASAP.
Regards,
Rajeev
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.