What car is this alt off? That does not look like a standard MK2 alt to me, the B is normally the output to the battery and D is for the WL or could be W, the three spade terminals look as if this is something you have done, I am wondering if this is a modern smart charge alt as this has a 3 pin connector and you have wired into this?
Martin