I'm trying to understand what you are trying to do, but I can't 🙂 Better don't give such names to the variables that are actually system words, it's confusing. The data type for Applied Price is ENUM_APPLIED_PRICE, it's not int.