I am using CR-2011 to extract daily sales order totals. The orders/totals have to be grouped by salesperson by customer and by order. In the order detail table I don't have a line total, I created a formula for this purpose, I then created 3 summaries to add the total of all like totals, the summary for group 3 (sales order) is OK, but the other 2 summaries repeat the total of the order for as many times as there are lines in the order detail table for a given order.
I have tried using running totals instead of summaries, I have tried changing the type of link between the tables, but the system still repeats the total of all lines for a given order as many times as there are in the order detail table.
I will greatly appreciate any feedback you can provide.
Salesperson: 01
Customer: 42502
Sales Order 1234
Line 1 OrderQty=10 Price=12 LineTotal=120
Line 2 OrderQty=5 Price=2 LineTotal=10
Sales Order 1234 Total=130
Sales Order 4567
Line 1 OrderQty=7 Price=10 LineTotal=70
Sales Order 4567 Total=70
Total for Customer 42502= 330
Total for Salesperson 01 = 330
SorMaster.Salesperson
SorMaster.Customer
SorMaster.SalesOrder
SorMaster.OrderDate
SorDetail.SalesOrder
SorDetail.OrderQty
SorDetail.Price
Tbl.Salesperson.Salesperson
Tbl.Salesperson.Name
ArCustomer.Customer
ArCustomer.Name
Grouping on:
SorMaster.Salesperson
SorMaster.Customer
SorMaster.SalesOrder
Record Selection SorMaster.OrderDate=CurrentDate
I am linking Tbl.Salesperson.Salesperson to SorMaster.Salesperson and
SorMaster.Customer to ArCustomer.Customer only to extract the name field to place on the report.
I have tried using running totals instead of summaries, I have tried changing the type of link between the tables, but the system still repeats the total of all lines for a given order as many times as there are in the order detail table.
I will greatly appreciate any feedback you can provide.
Salesperson: 01
Customer: 42502
Sales Order 1234
Line 1 OrderQty=10 Price=12 LineTotal=120
Line 2 OrderQty=5 Price=2 LineTotal=10
Sales Order 1234 Total=130
Sales Order 4567
Line 1 OrderQty=7 Price=10 LineTotal=70
Sales Order 4567 Total=70
Total for Customer 42502= 330
Total for Salesperson 01 = 330
SorMaster.Salesperson
SorMaster.Customer
SorMaster.SalesOrder
SorMaster.OrderDate
SorDetail.SalesOrder
SorDetail.OrderQty
SorDetail.Price
Tbl.Salesperson.Salesperson
Tbl.Salesperson.Name
ArCustomer.Customer
ArCustomer.Name
Grouping on:
SorMaster.Salesperson
SorMaster.Customer
SorMaster.SalesOrder
Record Selection SorMaster.OrderDate=CurrentDate
I am linking Tbl.Salesperson.Salesperson to SorMaster.Salesperson and
SorMaster.Customer to ArCustomer.Customer only to extract the name field to place on the report.