WASHINGTON (AP) — US factory orders edge up 0.4 percent in July as business investment shows strength.