title: Acumatica API - Delete Sales Order Lines
body: <p>I want to delete all sales order lines by given OrderNbr and then insert new sales order lines using the same Sales Order Number.
  This will be done only for Sales order in 'Open' or 'Credit Hold' status and whenever the order line has not been shipped of course.</p>
  
  <p>How can I get the lines row count and go through each one to delete then?
  How can I use the SO301000.DocumentDetails.ServiceCommands.DeleteRow?</p>