Hi,
I have a task to upgrade NAV 2013 Base Report to BC.
I have already performed txt2al conversion and imported the same into my VS code repository to build as an extension.
But the converted AL object has way too many errors, few of which i was able to resolve. But there are other illogical errors. For Eg: I have a Salesperson table declared as a global variable, when the same variable used elsewhere in the object is shown as an error.
Any help on this issue & how useful tips on 'how to upgrade the reports from 2013 to BC' would be very helpful for me and many others reading this post in the future.
Thanks
Johnson Patrick[View:/cfs-file/__key/communityserver-discussions-components-files/758/Work-order.al:320:240][View:/cfs-file/__key/communityserver-discussions-components-files/758/7271.Work-Order.rdlc:320:240]
Hi,
When you try to build extension, there are no other errors reported. Sometimes if there are syntax errors, variables are not recognized
I see, but you can not create any report or objects with Standard microsoft object version list like in your case you are trying to create
report 752 "Work Order"
which is not possible.
Also you have to create a Report extension from your upgraded code not the whole report.
You can refer the below link to create a report extension
Hi,
After reviewing the attached code I have verified that the variables have this declaration:
You must change Record "13" with record "Salesperson/Purchaser", numbers must be changed by name object, on AL number objects aren't recognized.
SalesPurchPerson: record "Salesperson/Purchaser";
Hi hope this will help you
In the WorkOrder.al object. For eg: Where the SalesPurchaser Variable to declared as a Global Var, yet the report throws error in the object where it is used.
but in which object you are facing the problem.
Thanks
Attached both the files in the post.
Can you please share your code where you are facing this error?
Thanks.
Yes, I did downloaded the latest symbols after i have moved the AL converted object to the VS Code.
Hi,
Have you downloaded the latest Symbols in your AL app? Use command "Download symbols"
Thanks
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,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156