Buy the materia and use it to get your AF weapon, then use the craft you just leveled to make the money back. That's what I've done for the 6 level 50 crafts I now have, the last quest is often quite expensive but don't worry, you have a fresh level 50 craft to play with and profit from.