Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

SalesAgreement CommitedQuantity default value to 0

(0) ShareShare
ReportReport
Posted on by
Hello, 
 
I have a problem. My client wishes that SalesAgreements CommitedQuantity field wouldn't have standard value which is 1. They wish it to be 0. I have searched all the AgreementLine and AgreementLineQuantity tables codes etc. and tried finding the default value from parameters. Does anybody know where in code or parameters default value can be changed?
 
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    SalesAgreement CommitedQuantity default value to 0
    Hi,
    I found this post for you, maybe you can create a new class, customize a method like "initValue", and then modify the default value in it. For more details: reporting services - Set Default Value on SalesOrderForm in Microsoft Dynamics using COC - Stack Overflow.
    Perhaps you can also refer to this official document, which explains how to initialize: Validations, default values, and unmapped fields - Finance & Operations | Dynamics 365 | Microsoft Learn.
    Best regards,
    Kevin

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans