How can company take loan from third party?

Ho can we manage accounting entry using loan module in case company takes loan from third party person or company…

These days, according to the law, there can be a transfer of debt with the creditor’s consent by agreement between the original debtor and the new debtor.