SAP Message AC730 - Number range &1 in co.code &2 for doc.type &3 must be defined as internal

Diagnosis
The number range for the document type for depreciation posting is notdefined as an internal number range.
Only internal number assignment is allowed for this transaction.

Procedure
Correct the document type or change the definition of the number range.