web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

same site not want to select

(0) ShareShare
ReportReport
Posted on by 371

i have one recruitment that if the user select the from site =1 then the to site =1 not to be select if he select the same site then the error will throw that same site not allowed..i have written the validate file method but its not working...

*This post is locked for comments

I have the same question (0)
  • CU02060633-1 Profile Picture
    371 on at

    Its done:) i make a simple mistake and got it

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You would implement that on the To site control's validate() or modified() methods.

    Both controls must be set as AutoDeclaration = Yes in the properties, and then you can compare their values if they are equal, and if yes, throw a checkFailed() or error() depending on how you want to handle this.

  • CU02060633-1 Profile Picture
    371 on at

    thank you @Vilmos Kintera..i have written the logic in an table with the validate filed..

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sanhthosh.Kumar.K Profile Picture

Sanhthosh.Kumar.K 2

#2
Raed Salah Bzour Profile Picture

Raed Salah Bzour 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans