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

Diagnosis
The number range for the document type for posting depreciation is notdefined as external.
For this transaction, only external number assignment is possible.

Procedure
Either correct the document type or change the definition of the numberrange.