In small saucepan, combine oil, sugar and vinegar. Heat and boil 1 minute and then cool completely. In large bowl, combine beans, peas, corn, peppers and onions. Pour vinegar mixture over bean/pepper mixture and mix to thoroughly coat. Cover and marinate overnight. Drain for 2-3 hours before serving.