when creating an Invoice programmatically in suitescript, what is the recommended approach to apply an open credit memo to an new invoice after the initial record.create(options) and record.save(options) of the invoice? In the UI, the blue native 'Accept Payment' button is what I am trying to do in suitescript. Woud I create a new customerpayment record w/ default value entity option and loop through apply and credit sublists to select records?