In this paper, a methodology for automatic coding is suggested which is fairly general. An application in the area of business applications has served as the inspiration for the approach is described.