How to declare constant value in x++

 -> Constant values can be used to define a variable and assign it a value that does not change.


-> We can define a constant variable by adding the keyword const before defining a variable. 


Ex:


const str constantVariable = "Value";

Comments

Popular posts from this blog

How to Create a wizard in x++ d365

how to post trade agreement journals automatically using x++ code

X++ code to CREATE AND POST A TRADE AGREEMENT IN MICROSOFT DYNAMICS 365 in D365 F & O