Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Field not showing in report even though the field is in the design

(0) ShareShare
ReportReport
Posted on by 485

Hello Everyone,

Am creating a query report in AOT but one of my field is not showing. The attached screen shot is the report layout in visual studio.... the settleAmountReporting is not coming out.... everything else comes out when i run the report but that field does not comes out. Can anyone tell me whats causing this?

4848.Capture11.PNG

The image below shows the query design. Any help would be greatly appreciated.

3301.Capture111.PNG

*This post is locked for comments

  • Lionel07 Profile Picture
    Lionel07 485 on at
    RE: Field not showing in report even though the field is in the design

    Hello again, this has resurfaced on my radar, I have decided to try it using the SRSReportDataProviderBase. I am following a tutorial but I am stuck at the method- ProcessReport.

    This query works fine in SQL but how do I put it in X++

    Query:

    SELECT

       INVOICEID

      ,INVOICEACCOUNT

      ,INVOICINGNAME

      ,CUSTSETTLEMENT.DUEDATE

      ,CUSTSETTLEMENT.CREATEDDATETIME

      ,CUSTSETTLEMENT.TRANSDATE

      ,CustSettlement.SETTLEAMOUNTREPORTING  

      ,INVOICEAMOUNT

      ,PAYMENT      

      ,INVOICEAMOUNTMST

     FROM CUSTINVOICEJOUR join CUSTTRANS ON CUSTTRANS.INVOICE=CUSTINVOICEJOUR.INVOICEID AND  CUSTTRANS.AccountNum = CUSTINVOICEJOUR.InvoiceAccount

    and CUSTTRANS.TransDate = CUSTINVOICEJOUR.InvoiceDate

    and CUSTTRANS.Voucher = CUSTINVOICEJOUR.LedgerVoucher

    join CUSTSETTLEMENT

    on CUSTSETTLEMENT.TransCompany = CUSTTRANS.dataAreaId

    and CUSTSETTLEMENT.TransRecId = CUSTTRANS.RecId

    and CUSTSETTLEMENT.AccountNum = CUSTTRANS.AccountNum

    WHERE CUSTSETTLEMENT.DUEDATE = CUSTINVOICEJOUR.DUEDATE

    AND CUSTSETTLEMENT.DUEDATE between'2018-09-01' AND '2019-08-31'

    AND CUSTSETTLEMENT.TRANSDATE <'2019-08-31 0:0:0'

    AND CUSTINVOICEJOUR.INVOICEID LIKE 'ACP%'

    AND CUSTINVOICEJOUR.INVOICEACCOUNT='XXXXXX'

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Field not showing in report even though the field is in the design

    Hi Lionel07,

    1. Please check the table having data for settleAmountReporting or not.

    2. Check in design whether you assigned settleAmountReporting filed in report design.

    3. If still data is not showing after restarting the reporting services, then try delete the report in report server and redeploy your report.

  • Lionel07 Profile Picture
    Lionel07 485 on at
    RE: Field not showing in report even though the field is in the design

    Sohaib, That's what i thought. I have spent nights trying to understand why but am still unable to see why am not getting the values. I will continue trying.

    Yes, i did restart the service/server but still nothing.

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Field not showing in report even though the field is in the design

    I don't see a valid reason why it should not after you have not used any group by etc.

    Did you tried restart of SSRS service and AOS service..? (in case if you feel this as cache issue)

    As you said everything else is coming so i can see TransDate from same table in the design. I cannot see a reason why the amount field should not.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans