Find Jobs
Hire Freelancers

Customise SQL report and automate running

£20-250 GBP

已完成
已发布大约 12 年前

£20-250 GBP

货到付款
We run a Volusion web store, which has a sales report built into it, which I need to customise to **remove 'order details count' and 'quantity' ** **but add 'payment method'.** In a perfect world, I would like the report to run automatically at 00:00 on the last day of each month and email itself to me. The report should be sorted by payment method (ie VISA, MASTERCARD, PAYPAL) with a total for each and then by date. So to summarise: Fields required: OrderDate Orders_count paymentmethod paymentamount payment authorized payment received salestax shipping cost COGS Profit Profit margin MONTHLY TOTALS FOR ALL NUMERICAL FIELDS If there is any way that the report can be created as a well laid out pdf file, that would be amazing. I dont know if this is possible though. Here is sql from the current report: SELECT [login to view URL],Orders.Orders_Count,[login to view URL],Orders.Total_Payment_Authorized,Orders.Total_Payment_Received,[login to view URL],[login to view URL],[login to view URL],[login to view URL],Orders.OrderDetails_Count,[login to view URL],[login to view URL],[login to view URL],[login to view URL] FROM (SELECT [login to view URL],Orders.Orders_Count,[login to view URL],Orders.Total_Payment_Authorized,Orders.Total_Payment_Received,[login to view URL],[login to view URL],[login to view URL],[login to view URL],OrderDetails.OrderDetails_Count,[login to view URL],[login to view URL],[login to view URL],[login to view URL] FROM (SELECT DATEPART(YY, [login to view URL]) AS Year, Max([login to view URL]) As OrderDate ,Max([login to view URL]) As ShipDate,Count([login to view URL]) As Orders_Count,Sum([login to view URL]) AS PaymentAmount,Sum(Orders.Total_Payment_Authorized) AS Total_Payment_Authorized,Sum(Orders.Total_Payment_Received) AS Total_Payment_Received,Sum([login to view URL]) AS SalesTax1,Sum([login to view URL]) AS SalesTax2 ,Sum([login to view URL]) AS SalesTax3,Sum([login to view URL]) AS TotalShippingCost FROM (((Orders WITH(NOLOCK) LEFT JOIN PaymentMethods WITH(NOLOCK) ON [login to view URL] = [login to view URL]) LEFT JOIN ShippingMethods WITH(NOLOCK) ON [login to view URL] = [login to view URL]) LEFT JOIN Customers WITH(NOLOCK) ON [login to view URL] = [login to view URL]) WHERE [login to view URL] <> 'Cancelled' GROUP BY DATEPART(YY, [login to view URL])) Orders INNER JOIN (SELECT DATEPART(YY, [login to view URL]) AS Year, Count([login to view URL]) As OrderDetails_Count,Sum([login to view URL]) AS Quantity,Sum(OrderDetails.Vendor_Price * [login to view URL]) AS COGS,Case When SUM(Vendor_Price) IS NULL Then null Else Sum((Case When [login to view URL] like 'DSC-%' Then [login to view URL] - ISNULL(OrderDetails.Vendor_Price,0) Else [login to view URL] - OrderDetails.Vendor_Price End) * [login to view URL]) End AS Profit,CASE SUM([login to view URL] * [login to view URL]) WHEN 0 THEN 0 ELSE ROUND(((SUM([login to view URL] * [login to view URL]) - SUM(OrderDetails.Vendor_Price * [login to view URL])) / SUM([login to view URL] * [login to view URL])) * 100, 1) END AS ProfitMargin FROM (((Orders WITH(NOLOCK) LEFT JOIN PaymentMethods WITH(NOLOCK) ON [login to view URL] = [login to view URL]) LEFT JOIN ShippingMethods WITH(NOLOCK) ON [login to view URL] = [login to view URL]) LEFT JOIN Customers WITH(NOLOCK) ON [login to view URL] = [login to view URL]) LEFT JOIN OrderDetails WITH(NOLOCK) ON [login to view URL] = [login to view URL] WHERE [login to view URL] <> 'Cancelled' GROUP BY DATEPART(YY, [login to view URL])) OrderDetails ON [login to view URL] = [login to view URL]) Orders ORDER BY [login to view URL] DESC
项目 ID: 1463550

关于此项目

14提案
远程项目
活跃12 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Please check message.
£250 GBP 在7天之内
4.5 (12条评论)
6.1
6.1
14威客以平均价£183 GBP来参与此工作竞价
用户头像
hi sir, I have the related experience you need.
£280 GBP 在7天之内
5.0 (6条评论)
4.8
4.8
用户头像
Hi, .NET developer with 7+ years of experience is ready to help you. Please, check PMB for more details. Thanks.
£200 GBP 在7天之内
4.9 (9条评论)
4.2
4.2
用户头像
Helloo.. Ready to start, Send me FTP and SQL login.. Yes it is possible to create a pdf file and mailed you.. Thanks -Udana-
£160 GBP 在2天之内
5.0 (2条评论)
3.6
3.6
用户头像
Hi! Kindly see PM. Regards.
£150 GBP 在3天之内
3.8 (4条评论)
3.5
3.5
用户头像
Hi there I am a London based sql profi and am sure I can deliver you the task in a short time. Regards
£250 GBP 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Please check PM !
£250 GBP 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hello please check PMB
£100 GBP 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi I am working as Data base Developer from 9 years and have developed many automated SQL Scripts and Report. Please let me know that which Database Software are you using ... Thanks
£50 GBP 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
I understand the project need.
£200 GBP 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi , Good Day. I have very good team of specialist who can be able to provide smart solution in C#, ASP.net, Oracle and SQL Server from India. With best regards, Sudip Chatterjee
£230 GBP 在15天之内
0.0 (0条评论)
0.0
0.0
用户头像
Respected Sir. 7 years experience on sql. Interested. Plz contact. Thanks.
£35 GBP 在10天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, I am new to here but confident to produce the report in quick and professional manner. Details in PM. Regards Stanley
£150 GBP 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
Please see my pm
£250 GBP 在30天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED KINGDOM的国旗
Wimborne, United Kingdom
5.0
6
付款方式已验证
会员自1月 30, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。