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

Announcements

No record found.

News and Announcements icon
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,190 Most Valuable Professional on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 545 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans