How to Setup Retainage and how to enforce GL dimension

Hello Guys,

Your advice on how to setup the below function in Sage X3 will be highly appreciated.

1. How to setup Retainage and apply the setup during Customer or Vendor invoice entry.

2. How to enforce some particular GL Accounts to always include dimension value whenever the GL Accounts is used during transaction entry.