Dear G,
You need to add your Z Partner function in standard partner determination procedure.
00000035- Automotive - Customer Service
Follow the SPRO path: Customer Relationship Management-->Basic Functions-->Partner Processing-->Define Partner Determination procedure
Sachin