SAP Message V2074 - Customer hierarchy doesn't exist or hasn't been assigend to any documents

Diagnosis
The system tried to read the hierarchy path for the customer hierarchy.

System Response
It could not find a hierarchy category.

Procedure
Check whether the customer hierarchy is available and assigned to thesales document type.