There is a customized field named "New Discount Code" in the Details section of the invoice. There is a requirement to get the summation of this new "New Discount Code" discount amount with the Discount amount in the Discount tab to the Invoice report. Please check the attachments. Can I know if is it possible?
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/21d426e4-c646-4ac8-ba8d-c7941d685a22.png)
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/26bcd676-53f1-47c8-9b8e-1ebe754420f3.png)
I have tried some ways by creating a sub-report. But the expected outcome was not coming. I joined the two tables as follows. Please check the below attachment.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/b86379ae-6601-4c5a-93c2-f95d496fa676.png)
And grouped by the ARInvoiceDiscountDetail.DiscountID]. The output of the sub report as follows.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/e7363e1e-901d-4720-9076-0bc69ed1d174.png)
Left side of the report shows the discounts in the details section and right side shows the discounts in the discounts tab. But the discount named “SPRING” is missing in the above report. So can I know if is there another way to get the summation of these discounts into the report discount code vise separately?