Hi lally,
If you want to accrue revenue you have to ensure that both parameters you mentioned are active. That is in general the project group setup defines whether you can generally accrue revenue or not. Yet, even if it is allowed by your project group it will only work if also the line property for which you record a transaction allows for it. This kind of setup allows you excluding certain transactions to be excluded from revenue accruals.
Hope it helps,
Ludwig