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 :
Finance | Project Operations, Human Resources, ...
Answered

Warning in Purchase Requisition form

(1) ShareShare
ReportReport
Posted on by 131
Hi all
 
When I create "Purchase requisition lines"  if I delete the content of the unit field, I get the error " Field  'unit ' must be filled in.".
I want to add a new validation: "Field 'Vend Account' must be filled in." and add Reason mandatory validation in the purchase requisition header [ (PurchReqTable).BusinessJustification], I didn't find the code to validate if it's empty, where should I add the validation code?
 
Thanks 
B.R
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    240,181 Most Valuable Professional on at
    This doesn't require code - if you make a field mandatory, the system will validate whether a value has been filled in.
     
    Note that if you make an existing field mandatory, it'll make all existing records without a value invalid and users won't be able to update such records (without setting the field value). You should fix the existing records before you let users use the system.
  • Danzel Zuo Profile Picture
    131 on at
    Thanks Martin,
    Addendum: only the string type can be controlled in this way
  • Martin Dráb Profile Picture
    240,181 Most Valuable Professional on at
    No, it's not true. It applies to other data types too.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 385 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 270

#3
Martin Dráb Profile Picture

Martin Dráb 243 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans