@aryanjadhav50 we noticed that the report is not showing correctly when there has ben made split shipments.
Notice that we sent (and invoiced) 64 boxes in August, and the other 64 boxes in July. So the revenue for this sales line was split across different months
GI shows the total line revenue as one transaction with the revenue for all 125 boxes in August:
This happens because your GI is grouped at the SOLine level, so all related ARTran records are summed into one total and shown under a single month.
With split shipments and invoices, revenue must be analyzed at the ARTran level.
To fix this, either:
-
Add ARInvoice.DocDate or ARInvoice.FinPeriodID to the grouping along with:
SOLine.OrderType
SOLine.OrderNbr
SOLine.LineNbr
This will separate July and August into different rows.
Or better:
Use ARTran as the base table, then join to SOLine and ARInvoice. Since revenue lives in ARTran, each invoice transaction will appear separately, and the revenue will be correctly split by month.
If you summarize only from SOLine, split invoices will always collapse into one total.