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