How to delete tracking?

arcullarcull Member Posts: 191
HI everyone. Anyone knows if there is alredy some routine which deletes the tracking defined on sales documents, and I could use it? I've found this one but does work as expected.
WITH SalesLine DO BEGIN
  ReservMgt.SetSalesLine(SalesLine);
  ReservMgt.DeleteReservEntries(TRUE,0);
  DeleteInvoiceSpecFromLine(SalesLine);
  CALCFIELDS("Reserved Qty. (Base)");
  AssignForPlanning(SalesLine);
END;
Thanks for help.

Comments

  • matttraxmatttrax Member Posts: 2,309
    Don't know if there is a predefined routine or not. Start with the Reservation Management Codeunit (99000845). Form 6510 should give you a good understanding of how the functions in there are used. It's a start.
  • arcullarcull Member Posts: 191
    thanks matttrax, I've already check that, there is a procdeure for adding,but none for deleting tracking.. Ok, I gues I'll have to write it on my own :)
Sign In or Register to comment.