Hello,
I have my page and I added an action button "Allow Cancel" and every time user clicks "allow cancel" It fires a customized report. What I want is whoever clicks "allow cancel" button creates a new record in my log table and shows when. How can I do this?
Thank you
*This post is locked for comments
Hi,
Allow Cancel - OnAction()
//.....other coding....
REPORT.RUNMODAL('MYReport');
mylogtable.reset;
mylogtable.INIT;
mylogtable."Operation date" := TODAY;
mylogtable."Operation time" := TIME;
mylogtable.UserID = USERID;
//.....other coding....
mylogtable.insert;
Then make a new list page
Just add the codes in the OnAction button. Can you access the C/AL Editor ?
Community Member
2
EH-09052238-0
1
Sohail Ahmed
1