Hi; as you know you can't delete items with movements. Well; I need to do it. I suppose I've to put some code on Item table. Does anybody knows how to do it?.
Thanks.
If you don't need it, and you don't want to block them, is better if you do a procesing report to delete this Items.
You filter the table and in OnAfterGetRecord, write Item.Delete
Comments
can i know why u want to delete the Items ?
Thanks.
Salut!
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
If you don't need it, and you don't want to block them, is better if you do a procesing report to delete this Items.
You filter the table and in OnAfterGetRecord, write Item.Delete
Regards
For this Just u need to close that Accounting period / Fiscal year and delete that items.
Thanks again.