An officer, having an execution against a manufacturing corporation and unable to find property liable to seizure, or the creditor may elect to satisfy it in whole or in part by a debt due to the corporation not exceeding the amount due to the creditor. The person having custody of the evidence of such debt shall deliver it to such officer with a written transfer thereof to him for the use of the creditor, which shall constitute an assignment thereof, and the creditor, in the name of the corporation, may sue for and collect it, subject to any equitable counterclaim by the debtor.
13 M.R.S. § 335