Where did function SalesHeader.HandleItemTrackingDeletion go in NAV2017?

Hi there,

We have some customizations that call function SalesHeader.HandleItemTrackingDeletion. In NAV2017, that function has been removed from the table. Does anyone know what happened with it? Has it been moved to another object? Has it been replaced by another similar function? Any light on this matter would be highly appreciated :slight_smile:

RichardLL

HI [mention:cbcdc5c2b17e4ecc95f2596ef07e450f:e9ed411860ed4f2ba0265705b8793d05] ,

The Function have been renamed and moved to Codeunit Reservation Managment and the function name is - DeleteDocumentReservation.

How to call that function Refer DeleteSalesLines function in NAV 2017 (Sales Header) Table -
ReservMgt.DeleteDocumentReservation(DATABASE::“Sales Line”,“Document Type”,“No.”,HideValidationDialog);

Thanks Saurav, that really helped me going!

Best regards
Richard Roland