The BusinessParameter component is used to obtain or change the value of a business parameter that is defined within a project for an organization or business unit. Examples of business parameters are tax rates, threshold values, and other fairly stable values that apply globally to a particular business process.
display "VAT (Value Added Tax) value at Organizational level: " +
BusinessParameter.getValue(name : "VAT") +
"\nVAT value at Organizational UNIT level: " +
BusinessParameter.getValue(organizationalUnit : "Texas", name : "VAT")
display "VAT value at Organizational level (before): " +
BusinessParameter.getValue(name : "VAT") +
"\nVAT value at Organizational UNIT level (before): " +
BusinessParameter.getValue(organizationalUnit : "Texas", name : "VAT")
updateValue BusinessParameter
using name = "PARAMTOUPDATE",
value = Decimal(BusinessParameter.getValue(name : "VAT")) + 1
updateValue BusinessParameter
using organizationalUnit = "Texas",
name = "VAT",
value = Decimal(BusinessParameter.getValue(organizationalUnit : "Texas", name : "VAT")) + 1