I am using Ax2012R2.
I have one customized form, in that in line level we have one grid, in action pane there is delete command button, i select multiple lines in line level and trying to delete, but at a time only one line deleting,
Is there any property for this, or we need to manipulate with code, same command button working fine in header level, able to delete multiple lines at a time.
sreenu said:s there any property for this, or we need to manipulate with code,
You don't have to change any code. Can you put a screen shot of your button properties?
Do you have any code in delete/validate delete that is preventing the deletion of other records?
This screen shot for command button properties.
There is a code in datasource level delete method.
IEFumigationLine_ds.refresh(); IEFumigationLine_ds.research(true); IEFumigationLine_ds.setCurrent();
The screen shot does not show all the properties.
sreenu said:IEFumigationLine_ds.research(true); IEFumigationLine_ds.setCurrent();
Why do you need to call the above lines?
Try by calling below,
Working fine, thanks.
Verify the answer (for the helpful replies)