Prevent delete sales header and sales line table after posting invoiced

hi all…

i have a question

do any of you know which code should i block if i want to prevent delete sales header and sales line table after posting invoiced??

so after posting… data still be there in sales header and sales lines

thanks

Set EverythingInvoiced := FALSE in Codeunit 80…

yes it works :slight_smile:

thanks mohana

Welcome