Well... not exactly. When you incorporate, the incorporated company takes on and assumed all assets and liabilities of the sole prop. business.
So, these $40,000 that are owed are debts and will be taken over as current liabilities and NOT debt capital.
I am sure this would help...