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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Purchase Order Report Error : Purchase order (OCSI-000001-1) An attempt was made to set a report parameter 'PoDpLine_DocumentTitle' that is not defined in this report

(0) ShareShare
ReportReport
Posted on by 30

Hi Everyone,

I am customizing Purchase order report , And I facing Some Issue Regarding A parameter that is "Purchase order (OCSI-000001-1) An attempt was made to set a report parameter 'PoDpLine_DocumentTitle' that is not defined in this report" .

I am not getting Actual Solution for this Problem.

pastedimage1669011766225v2.pngpastedimage1669011635103v1.png

I have the same question (0)
  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    You have defined the paramter PoDpLine_DocumentTitle in the report level. But it is not defined in the contract class. If you define that in contract class then error won't come. But here I don't understand why it is directly defined at report level before doing that on contract class level.

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi Ganesh Ghuge,

    What changes you done in the report?

    Have you restored the dataset after adding new parameters?

    Thanks,

    Girish S.

  • Ganesh Ghuge Profile Picture
    30 on at

    Hi

    I am here using standard report Contract Class (PurchPurchaseOrderContract ).

    Still i am facing this issue.

    pastedimage1669013533266v1.png

  • Ganesh Ghuge Profile Picture
    30 on at

    I did not add any new parameter.

    It is System defined Parameter.

    And i have created my own Report and i restored the datasets.

    Still same issue.

  • GirishS Profile Picture
    27,827 Moderator on at

    On the report parameter "PoDPLine_DocumentTitle" - Set the "Allow blank" and "Nullable" property to true and check.

    Is this property already set to true?

    Thanks,

    Girish S.

  • Ganesh Ghuge Profile Picture
    30 on at

    yes girish it is already has been set to true.

  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Can you confirm if it is a standard one? Because I cannot find the said report in AOT. It seems to be a custom one. The standard one is PurchPurchaseOrder report.

    As I said if it is a custom one you need to use custom contract.

  • Ganesh Ghuge Profile Picture
    30 on at

    Yes In the Aot,  System Report name is PurchPurchaseOrder, the Contract Class name is PurchPurchaseOrderContract, Controller: PurchPurchaseOrderController and  Dp: PurchPurchaseOrderDp.

    But, I want to Change the Complete Format of the report design that's Why I had to create my new Report design.

    When I make a Duplicate of the Standard report design I face errors while deploying the Report.  

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Just delete the 'PoDpLine_DocumentTitle' from report parameters. After deleting, refresh the dataset. Parameter will be added again. Now deploy the report and try again.

    Also, how you called the custom report?

    Thanks,

    Girish S.

  • Ganesh Ghuge Profile Picture
    30 on at

    Hi Girish,

    I did as You said but it is showing the same error for another parameter and after that, I followed the same process for the rest of the parameters, it is showing this error for.

    but after deleting all the parameters and restoring the dataset one by one, I am facing the same error as mentioned above.

    I also deleted the complete report object and recreated it but no Solution, Once  I made a Duplicate of the standard report even that process showing the different errors.

    this all is happening Because in my dataset I am using system Dp class (PurchPurchaseOrderDp) and in that Dp class system is providing data to 2 different tables (purchPurchaseOrderTmp and purchPurchaseOrderHeader). and because of this I had to drag Dp class 2 times in report dataset. And I think that's why I am facing this issue.

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 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans