SAP Message 40066 - Resource &1 in operation &2 is not in resource network

Diagnosis
You want to plan or release operation &V2&.

System Response
Resource &V1& allocated to the header, is not contained in resourcenetwork &V3&.

Procedure
Change the resource in operation &V2& or the resource network specifiedin the header.
The function 'Resource selection' considers the resource network.