SAP Message VK189 - Sales order type & is not allowed for final settlement

Diagnosis
The selected order type &V1& is not defined for final rebatesettlement.
The reason is that billing type &V2& is assigned to order type &V1& asbilling type for order-related billing. Billing type &V2& is not markedas billing type for final rebate settlement, however.

System Response
Order type &V1& cannot be assigned.

Procedure
Select a different order type. The assigned billing type must have theindicator A in the field rebate settlement inCustomizing.