web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

I not able to see List of RDP class in report dataset.

(0) ShareShare
ReportReport
Posted on by 30

HI team,

I not able to see List of RDP class in report dataset.

here is my below code

Contarct class - 

[DataContractAttribute]
class ARP_CustTrans_Contract
{
    TransDate  fromDate, toDate;
    
    [
        DataMemberAttribute('Fromdate'),
        SysOperationLabelAttribute(literalStr("From date")),
        SysOperationControlVisibilityAttribute(true)
    ]
    public TransDate parmFromDate(TransDate _fromDate = fromDate)
    {
        fromDate = _fromDate;
        return fromDate;
    }

    [
        DataMemberAttribute('Todate'),
        SysOperationLabelAttribute(literalStr("To date")),
        SysOperationControlVisibilityAttribute(true)
    ]
    public TransDate parmToDate(TransDate _toDate = toDate)
    {
        toDate = _toDate;
        return toDate;
    }

}

Controller - 

class ARP_CustTrans_Controller extends SrsReportRunController
{
    public static ARP_CustTrans_Controller construct()
    {
        return new ARP_CustTrans_Controller();
    }

    public static void main(Args _args)
    {
        ARP_CustTrans_Controller custTransController = ARP_CustTrans_Controller::construct();
        
        custTransController.parmReportName(ssrsReportStr(ARP_CustTrans, Report));
        custTransController.parmArgs(_args);
        custTransController.parmDialogCaption("Customer report");
        custTransController.startOperation();
    }

}

DP - 

[SRSReportParameterAttribute(classStr(ARP_CustTrans_Contract))]
class ARP_CustTrans_DP extends SrsReportDataProviderPreProcessTempDB
{
    ARP_TmpCustTrans    tmpCustTrans;

    [SRSReportDataSetAttribute(tablestr(ARP_TmpCustTrans))]
    public ARP_TmpCustTrans getTmpCustTrans()
    {
        select * from tmpCustTrans;
        return tmpCustTrans;
    }

    public void processReport()
    {
        ARP_CustTrans_Contract  contract;        
        TransDate               fromDate, toDate;
        CustTrans               custTrans;
                 
        contract = this.parmDataContract() as ARP_CustTrans_Contract;
 
        // Get sales agreement header record from the contract parameter
        fromDate = contract.parmFromDate();
        toDate   = contract.parmToDate();        
        
        while select custTrans
            where custTrans.TransDate >= fromDate
            &&    custTrans.TransDate <= toDate
        {
            if (custTrans)
            {
                tmpCustTrans.AccountNum     = custTrans.AccountNum;
                tmpCustTrans.OrderAccount   = custTrans.OrderAccount;
                tmpCustTrans.TransDate      = custTrans.TransDate;
                tmpCustTrans.PaymTermId     = custTrans.PaymTermId;                
                tmpCustTrans.Txt            = custTrans.Txt;

                tmpCustTrans.insert();
                    
            }

        }
 
    }

}

Report design - 

pastedimage1680594538103v1.png

pastedimage1680594604674v2.png

nothing happened.

I have already build & Sync my model. but still it's happening.

Kindly let me know how we can resolve this.

Pls give me more shed on this.

thanks!

I have the same question (0)
  • Suggested answer
    Komi Siabi Profile Picture
    13,089 Most Valuable Professional on at
    RE: I not able to see List of RDP class in report dataset.

    Few things you can do.

    1. Rebuild your project

    2. Restart Visual studio and retry

    3. restart the VM and retry

    4. Build all model with cross reference

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 776 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 606 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 402 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans