Hi all,
I need some guidance in customization.
on click of action on purchase comment line page :
1.call custom Page which created to store comment in custom comment Table
2.on open custom page select multiple comments
3..copy and send to custom table
how to code on action to achieve this.
thanks in advance.
Hi,
You will have to do SETSELECTIONFILTER for multiple lines as shown below:
CurrForm.SETSELECTIONFILTER(SelectedRecords);
IF SelectedRecords.FINDSET THEN
REPEAT
//Your insert code
UNTIL NEXT = 0;
Regards
Jyotsna
Hello Dinesh,
Here we can not write all the code, but yes we can give some reference / Idea to achieve your job / task for sake of community member.
for your reference I have attached the below code, which I'm using for Sales Comment,
In Default comment page, you have to write the code OnQueryClosePage action for your reference see the below code
Result/Test
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
dynamicsuser.net/.../developers
I will open this up to the community in case they have something to add.
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156