How delete items with movements

DarkHorseDarkHorse Member Posts: 389
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.

Comments

  • chengalasettyvsraochengalasettyvsrao Member Posts: 711
    [-X DONT DO IT . ](*,)

    can i know why u want to delete the Items ?
  • DarkHorseDarkHorse Member Posts: 389
    Thanks for reply. Simply because we don't need it; they're old and discontinued items.
    Thanks.
  • kitikkitik Member Posts: 230
    Instead of deleting, why don't you block those items and filter the Item list to only see the non blocked items?

    Salut!
    Laura Nicolàs
    Author of the book Implementing Dynamics NAV 2013
    Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
  • SaalekSaalek Member Posts: 181
    Hi

    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
  • chengalasettyvsraochengalasettyvsrao Member Posts: 711
    with out writing any code u can delete the items


    For this Just u need to close that Accounting period / Fiscal year and delete that items.
  • DarkHorseDarkHorse Member Posts: 389
    Ok; thanks everybody for help; I'll try the methods that you propose.
    Thanks again.
Sign In or Register to comment.