where it is deleting

hansikahansika Member Posts: 373
Hi Masters,


I am focusing to learn navision.
My doubt is Once we post sales order with ship and invoice. The sales order will delete.
I checked codeunit 80. But I could not find where is the code of delete.
So could provide some help what about code and where is code of delete.

thanks and regards
hansika

Comments

  • NaviDevNaviDev Member Posts: 365
    Hi,

    Try to find this code in the codeunit 80.
        DELETE;
        ReserveSalesLine.DeleteInvoiceSpecification(SalesHeader);
        SalesLine.DELETEALL;
    
    Navision noob....
  • SavatageSavatage Member Posts: 7,142
    it actually just moves from Tables

    Sales Header & Sales Line
    to
    Sales Invoice Header & Sales Invoice Line.

    Easy way to get it back..
    Get the Invoice Number
    go to Sales Header - Copy Document (type) Posted invoice
    enter the invoice # - choose include header - bingo.
Sign In or Register to comment.