Notifications
Announcements
No record found.
Dear Experts,
I have created new code unit. while saving giving an error. Please advise
Thanks
With Regards
Mandeep Kaur
*This post is locked for comments
and the cursor points to which location of code?
Hi
If you observer you have defined the No. of Runs Variable as "No. od Runs" in the AddReport function.
It seems some of the field is wrongly typed in program . Kindly check that.
Hello,
As per other members, i'm also suggesting you, Check your typing,
and also need to pass the ReportID as integer in function AddReport.
Before writing the code first you need to create a Table see the screenshot
After creating table start writing codeunit.
See the bellow screenshot.
Hi,
Thanks for your replies, I have edit the code where their is typing error. I have created a table as well before writing a codeunit as shown in the screenshot. Kindly advise.
so is your codeunit error solved. which screenshot are you referring?
Hi Mohana,
No, error has not been resolved, I am talking about the screenshots which Binesh has sent.
Kindly advise how to resolve this error.
cursor is pointing to which area of code after error?
Share your code,
Why because whatever i given that objects compiled successfully,
I hope you created record variables.
In your code when you used User ID it should be USERID without any space.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HoangNam 7