Question
How to use the Value of the Money field type in Vantage scripts?
Answer
To get the value of the Money (AmountOfMoney) field type in scripted rules the following code should be used:
var mytotal = Context.GetField("Total").Value.Amount
The reason for such behavior is that the Money field type consists of two values - Amount and CurrencySign
Comments
0 comments
Article is closed for comments.