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 a recovery has been had, whether any and what part thereof has been collected.
SDCL 21-49-18