Skip to main content
Answer

can i set value from javascript in acumatica customize ?

  • December 5, 2023
  • 5 replies
  • 175 views

Forum|alt.badge.img

 

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

Best answer by aaghaei

use something like

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

5 replies

aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • Answer
  • December 5, 2023

use something like

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


Forum|alt.badge.img
  • Author
  • Freshman I
  • December 6, 2023

thnks for your aswer


aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • December 6, 2023

You are welcome. Glad it was helpful 


Forum|alt.badge.img
  • Author
  • Freshman I
  • December 7, 2023
Do you have any recommendations URL for learning more of that language ? let YourVariable=px_alls['YourObjectID'].getValue();

 


aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • December 7, 2023

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.