Hi I created a new report (copy from SalesInvoice) with Controller, Contract, DP
When I rund the report I get the above error.
Can someone advice?
Thanks in advance
(using AX2012)
Hi CRSW,
Can you please check in AX if any such form called "Address setup" is available or not under "Global address book"?
If yes; then check in that form if all the country / region codes are available! Below screen shot is taken from D365.
Best regards,
Sourav Dam
Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.
HI,
I'm not able to fully understand what had been done in relation with the error. Did you use the printing setup to set this report as required lay-out for sales invoices or did you try to start the report in another way?
ok
What I did is that I created a new Report with new contract, Controller and DP
The contract class declaration look like this:
[DataContractAttribute]
public class MYSalesInvoiceContract
and contains a lot of parm-methods containing the "prefix"Datamember Attribute"
Than there is a Controller class Extended from GiroPrintMgmtFormLetterController like the Standard salesinvoice Report is as well
Hi CRSW,
Can you provide some more technical details? Without information, I'm not able to understand what you did and why it is not working as expected.
Oh I am sorry for the misunderstanding
I created complete new controller contract and DP classes and a new report.
Hi CRSW,
Can you provide information about what exactly has been customized and changed? That is what I wanted to know when I asked for "contents".
Some more ideas? I do not know what I did wrong
Here my parm-Method for DocumentTitle:
[DataMemberAttribute('DocumentTitle')]
public String255 parmDocumentTitle(String255 _documentTitle = documentTitle)
{
documentTitle = _documentTitle;
return documentTitle;
}
I call it in the Pre-run Modify Contract method.
Hi
After refreshing ReportServer and create a full CIL 5 times now my report has DocumentTitle as missing parameter.
looks really strange to me
what do you mean is the content of controller contract and DP
I tried to replace the invoice. I used my on SalesInvoiceTMP table which is an InMemory table. The classes are extended the same way the SalesInvoice classes are.
Hi CRSW,
Can you provide some more details? What is the contents of the Controller, Contract and DP now? How did you start the report? Did you also change the lay-out?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156