axapta - How to show a row total amount by group CG Group in Report -


I am using Excel 3.0 with language X ++.

I am making a report based on available reports.

Examination: available report

  CG code amount current 1-30days: new report only shows total line of group CG group instead of showing as old report is. 31-60days 61-180 days & gt; 180days 1.1 50 10 100 30 10 5 ---------- 1.1 30 20 60 35 20 20 ---------- 1.1 20 30 80 7 80 60 -------- - 1.2 30 50 50 1 100 80 ---------- 1.2 40 70 90 5 75 15 ---------- 2.3 100 20 20 150 20 30 ------- --- 3.1 60 10 10 80 10 4 ---------- 3.1 30 60 5 100 5 60  

New report in the form of a sample:

< Pre> CG code amount current 1-30days 31-60days 61-180 days & gt; 180days 1.1 Total 100 60 240 92 110 85 ---------- 1.2 Total 70 120 140 6 175 95 ---------- 2.3 Total 100 20 20 150 0 30 ----- I think that the code in the available report's code is
  select AmountMST from CustTransOpen Where custTransOpen.AccountNum == CustTable.AccountNum & amp; ; & Amp; CustTransOpen.TransDate & lt; = BalanceAs & amp; Amp; CustTransOpen.TransDate & gt; = Compare 1 & amp; Amp; CustTransOpen.TransDate & lt; = Compare 2  

I created a view to get data from 2table (Custtransopen, Custtable) with the name SKV_CustAgỉng3, then I write the group as a CG group as SQL: / P>

  Select the zodiac sign (AmountMST) from the SKV_CustAging3 group by the Statistics Group, where the SKV_CustAging3.TransDate & lt; = BalanceAs & amp; SKV_CustAging3.TransDate & lt; CompareDate1;  

I try to use the "section group" for the total amount of each group of CG, but the report still shows in detail and the end of the section group shows the total amount .

In my opinion, I want to show the total amount of a line by Group CG Group on the same example above the new report.

Is there any way to show only one record sum amount for every CG?

Please help me I am the new officer to make this report, so I do not know a lot about Axapa. Thank you.

Try to override the sending () and fetching () methods of your report to bring the records Except Call Fetch () will be printed and sent Axapta calls for each row printed in the report () method. Expansive Developers Guide contains detailed information for this method.

  • To print the data.
  • To find more examples, search the AOT with the words "Send" and "Fetch".


    Comments

    Popular posts from this blog

    c# - How to capture HTTP packet with SharpPcap -

    php - Multiple Select with Explode: only returns the word "Array" -

    php - jQuery AJAX Post not working -