I am trying to update a commision value field with certain values based on two parameters, but are not doing this correct as getting errors, have not been able identify exactly how I need to code same in the help section hence reaching out here.
What i want to achieve in this case is when Pay At equals DEBRVTM and Currency equals USD the ADDCOMPCT should update to read 1.5%
The two determining fields are radio buttions and the ADDCOMPCT field is percemt field.
Current code as below.
if ((input.Pay_At == "DEBRVTM") && (input.Currency == "USD"));
{
input.ADDCOMPCT = "1.5";
}