While all Delta code flights earn miles, all KLM coded flights do not. As stated on the Delta website re KLM flights:
Only applies to KLM, PrivatAir, City Hopper flights, and KL coded SkyTeam partners
http://skymilesoffers.delta.com/airline_partners.php#KL
Originally Posted by
GuillaumeD
For LED-AMS, if you booked your ticket on delta.com or klm.com, you will have the KL flight number on your reservation and you will get the mileage. If you booked on an other website and if you have the KL flight number on your ticket, it should be OK.
About your SU flight, you should claim the SM on delta.com and all you need is the e-ticket number.
http://dmn.delta.com/skymiles/requestsm/
Hope it helped.