Dear all,
I added a record list from the table GeneralJournalAccountEntry and I need to create a calculated filed where I filter the GeneralJournalAccountEntry for a specific Main account, I need to perform this filter inside the model mapping, I cannot use the standard Dynamics filter "Record to include" at running. I also need to use the function FILTER, not WHERE due to performance issues.
I tried to filter on MainAccountID (Main account table) using the relations FILTER(GenJourAccEntry,GenJourAccEntry.'>Relations'.MainAccount.MainAccountId="13000000") but I get the message "Validation error: Invalid comparison condition expression for FILTER. Consider using function WHERE instead of FILTER. See Help page for more information."
Any idea on how I can filter for MainAccount on GeneralJournalAccountEntry?
Thanks for your help