I am trying to apply a filter through C/AL code on the G/L Account and G/L Entry table on login so that users can only see records from their responsibility center. Ideally I would like to leverage the LogInManagement codeunit's OnAfterLogInStart event to get the user's responsibility center and only show records with a matching Global Dimension 2 Code. This way every page that uses either of these source tables will automatically have that filter applied.
0
Answers