Hlo, Can anyone tell me how to update the fields of tables
I have a table purch table,purchline,due for confirm,purch orderjournal
fetch record use for purch line
Hi Sumedha,
Can you provide more details? I'm not sure which fields you want to update and which table(s) these fields are in.
Hello
i have similar req, and below is the field and code i used in the button using ribbon benchwork , but it is not working
function (executioncontext) {
var formContext = executioncontext.getFormContext();
if (formContext !== null) {
formContext.getControl('azmdc_AZstatus').setValue === 100000003;
// AZstatus is a choice column and itx value 100000003 = completed also tried .setValue(100000003); didn't work
}
HiPlease refer below links:https://carldesouza.com/get-and-set-field-values-using-formcontext-and-javascript-with-dynamics-365/
Thanks,Pradeep
Hi psk_12,
Please try this code:
formContext.getAttribute('azmdc_AZstatus').setValue(100000003);
Please make sure "azmdc_AZstatus" is your field name.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 127
Tom_Gioielli 125 Super User 2025 Season 2