In an action for the foreclosure or satisfaction of a mortgage, the complaint shall state whether any proceedings have been had at law or otherwise for the recovery of the debt secured by such mortgage or any part thereof; and if there has, whether any and what part thereof has been collected.
SDCL 21-47-4