Welcome to Just Answer,
Your intuition is correct.
You will want to record the cash activity (inflow/outflow) so your cash flow statement is correct and have a proper audit trail.
You would debit cash and credit long term loan payable for the proceeds
Debit shorty term loan payable credit cash.
This would have zero impact on your cash balance, but when you prepare your cash flow statement you will be able to see the extinguishment and the boarding of the long term note.
Please let me know if you have any questions before you rate my answer. A positive rating is what I strive for. Regards Dave