How to add a field ( Tableextension Field ) in existing Report (Sales Invoice )
How to add a field ( Tableextension Field ) in existing Report (Sales Invoice )
Hi Armando,
I didn't understand your question.
From what I understand, you are trying to add fields in Report but in the table the field doesn't exist.
At the time of adding the fields (tableextension) within the report I cannot use them within the development environment .
The name '"NameField"' does not exist in the current contextAL (AL0118) .
Hi Olister,
Im search de report in Object Disigner .
Im create a copy of the report
Im Export the .RDL file but the report code is in .DAL file Im open this code in ObjectDesginer ( searche the report )
When I copy the code to new AL file It takes me many mistakes .
"message": "The type or method 'GetPaymentInstructionsFromPostedInvoice' cannot be used for 'Extension' development.",
"message": "Method 'IsInvoicing' is marked for removal. Reason: Microsoft Invoicing is not supported on Business Central",
Regards
Hi Armando,
You will either get the ALBaseApp in your ON-Premise installation folder or you will get it from Sandbox.
All you need to do if figure out the Report Backend Name and ID using Inspect Ctrl+Alt+F1 on Request Page, and using Report ID or Name search in ALBaseApp.
Further you need to change Report Name and ID. This will include a single .AL file and .RDL file.
At this point a copy of report is ready.
Now you include that report on your Extension App and check the DataItemsfor it and add your extended field.
Build you App.
After this, you will find the field in RDL Datasets and there you can add it.
You can refer to one of my blogs www.cloudfronts.com/.../
Hope this helps
Thanks Steven ,
How can I create a new one from the copy?
Where do I add the new field using the .rdl file or where ?
Regards.
That is not possible. You can not change the dataset of an existing report.
You can however create a new report (copy) and add the field in your new report:
YUN ZHU
304
Super User 2025 Season 1
Mansi Soni
219
Sagar_Dangar_MCP
186