Which of the following error is an error of principle
A. 5,000 received from sham credited to ram a/c
B. 5,000 incurred on installation of new plant debited to travelling expenses a/c
C. 500 paid for wages debited to salary a/c
D. 500 being purchase of raw material debited to purchase a/c ` 50