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

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Form control value change does not update table value

(4) ShareShare
ReportReport
Posted on by 257
Hi experts,
 
I'm new to X++ and having a problem with a form control behavior. I have put the InvoiceAccount field of the SalesTable on a new custom form that I defined the SalesTable as form data source. After changing the field value in form and click Save, system throws errors saying mandatory fields need to be filled (Customer ID, Currency, Customer group) and the field on table was not updated. I have set the Allow Edit property of the form control to Yes and set SalesTable as data source of the form control containing the field.
What am I missing here?
 
 
I have the same question (0)
  • Martin Dráb Profile Picture
    236,570 Most Valuable Professional on at
    Form control value change does not update table value
    What is the stack trace of the error?
  • Layan Jwei Profile Picture
    8,049 Super User 2025 Season 2 on at
    Form control value change does not update table value
    Hi,
     
    It seems ur action is treated like you want to create a record and not update.
     
    Can you please take a screenshot of the form 
  • Suggested answer
    Waed Ayyad Profile Picture
    8,972 Super User 2025 Season 2 on at
    Form control value change does not update table value
    Hi,

    Can you give us more details? Did you update an already existing sales order record? Does your form open in Edit mode?
     
     

    Thanks,

    Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue

  • Verified answer
    fspafj Profile Picture
    257 on at
    Form control value change does not update table value
    Hi all,
     
    After checking my data, it turned out there was another add on customer field which was blank in my record. After filling the field then I was able to save it. 
    Thank you for your help.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 403

#2
Sagar Suman Profile Picture

Sagar Suman 194 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 179 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans