While onions are softening, empty jar of northern beans into a 4-quart baking dish or pan. Add pork and beans to northern beans. Stir in onion, ketchup, BBQ sauce and ham. Bake, uncovered at 350~ about 30-35 minutes or until piping hot. Stir 2-3 times during baking. Refrigerate covered, to use in 1 week. Freeze to use in 4 months.