Solved

can i set value from javascript in acumatica customize ?

  • 5 December 2023
  • 5 replies
  • 84 views

Userlevel 2
Badge

 

can i set value from javascript in acumatica customize, if possible how to do it ?, Please give me an example 

 

 


 

this my customize
 

 

this my javascript ;

function setActionButtonColor(){  
   alert("Hello! I am an alert box!!");
    console.log(123);
document.getElementById("DataInput").value = "My value";

 

thank you

icon

Best answer by aaghaei 5 December 2023, 23:10

View original

5 replies

Userlevel 7
Badge +9

use something like

let YourVariable=px_alls['YourObjectID'].getValue();

Userlevel 7
Badge +9

Sorry js is not my area of expertise just I know a little bit but I’m sure if you just search for js training materials you will find countless resources.

Userlevel 2
Badge

thnks for your aswer

Userlevel 7
Badge +9

You are welcome. Glad it was helpful 

Userlevel 2
Badge
Do you have any recommendations URL for learning more of that language ? let YourVariable=px_alls['YourObjectID'].getValue();

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved