Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Managing Pages

Posted on by 25
Hello Microsoft Community, 
 
I extended Items By Period page by adding the following fields:
 
I am facing a problem, the last three filters should be independent.
But the first 4 filters should be dependent with one of those last three.
The page should reset after changer from the last 3 ones.
But it must not reset if choosing the first 4 with one of the last three.
 
Please I would like to suggest a good solution for this problem.
 
Regards,
Noha , AL Developer
 
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    Managing Pages
    Hi, I think it should be possible to use a combination of if conditions.
    If the reset you mentioned means clearing everything, this can also be done in OnValidate Trigger.
    Hope the following helps.
    AL control statements
     
    OnValidate (Field) Trigger
     
     
    Thanks
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans