To expand on this a bit: since NetSuite doesn't have a subledger, a debit to AR on a JE is considered an "invoice" and a credit is considered a "credit memo."
They will work effectively like an invoice or CM transaction type in that they'll stay open until you apply something against them until the balance is down to zero.
You can apply them basically like any other invoice or CM through accept customer payments or on the CM record itself.
Because of the above, I'd be really careful about posting JEs to AR unless you absolutely have to and if you do, always use a customer record on that line or it will create a big mess.
AP accounts work the same way.