These links should answer your questions.
INDESIT ATP 2004 Race Points Breakdown
INDESIT ATP Entry Ranking Points Breakdown
Basically, Grand Slams are worth the most, followed by TMS events, followed by ISG events, & IS events. All points in GSs & TMSs (& the TMC) count, while only the best five results from other events count.
The entry system rankings are used for seeding in tournaments. The Race standings are only used for qualification in the TMC and for determining the year end rankings.