Retainage can be enabled in the Contract Overview section of the Contract Setup page. See Set Retainage for a Contract in Portfolio Financials.