The first 27 sets went to the WR. These were 9 vehicle 253 sets. Planned formation was DMB-TF-TF-TRUK-TS-TRSB-TS-TS-DMB.
Very early on it was realised that the catering offering was over heavy for seven coach sets, and the final 7 TRUKs were cancelled and replaced by an additional TS.
DMBs were 43002-43055
TRSBs were 40001-40027 (later 40401-40427)
TRUKs were 40501-40520 (40521-40527 cancelled)
TFs were 41003-41056
TSs were 42003-42090 (42084-42090 replacement for 40521-40527)
The next 32 sets were for the ER and were to be 10 vehicle 254 sets. Due to the decision not to use TRUKs on the WR, the first 20 TS vehicles went to the WR to replace these, with TRUKs to be used in some ER sets. 10 sets were built with TS vehicles, a further 22 with TRUBs (which had a larger kitchen and were designed to be an all-in-one catering vehicle). Formations were either PC-TF-TF-TRUK-TRSB-TS-TS-TS-TS-PC, PC-TF-TF-TRUK-TRUB-TS-TS-TS-TS or PC-TF-TF-TRUB-TS-TS-TS-TS-TS (final 12 sets).
DMBs were 43056-43123 (43122/123 built out of sequence as spares; 43120/121 spares)
TRSBs were 40028-40037 (Later 40428-40437)
TRUBs were 40300-40321
TFs were 41057-41120
TSs were 42091-42250 (42091-42110 direct to WR to replace TRUKs)
Next batch were planned to be 9 vehicle 253 sets for the WR again. These were built with TRUBs. 14 sets were built, though I believe the 14th set was never formed as planned.
DMBs were 43124-43152 (43124 was a spare)
TRUBs were 40322-40335
TFs were 41121-41148
TSs were 42251-42306
The next sets were planned to be the first NE-SW (later CrossCountry) sets. At the same time it had been decided to introduce the TGS vehicle in place of a TS in each of the existing sets. This was because of problems with the Guard being in the PC. Furthermore, the catering vehicles built were TRUBs, though these were to be swapped for TRSBs. The NE-SW sets saw the first major reformations take place as a result, the aim being to produce sets that would be formed PC-TF-TRSB-TS-TS-TS-TS-TGS-PC. However, the ER got some additional sets from these formed PC-TF-TF-TRUB-TS-TS-TS-TS-TGS. The final four sets were meant to be for the ER, but these ended up becoming NE-SW sets, again with some vehicles intended ending up in other sets.
DMBs were 43153-43190 (NE-SW planned sets)
DMBs were 43191-43198 (ER additional planned sets)
TRUBs were 40336-40353 (NE-SW ordered catering vehicle to be swapped for TRSBs)
TRUBs were 40354-40357 (ER additional planned catering vehicle, swapped for TRSBs)
TFs were 41149-41166 (NE-SW planned sets)
TFs were 41167-41169 (ER additional planned new build vehicles, ended up in NE-SW sets)
TFs were 41170-41174 (ER additional planned vehicles rebuilt from prototype coaches, used on ER)
TSs were 42307-42322 (ER additional planned vehicles used in NE-SW sets)
TGS was 44000 (prototype)
TGSs were 44001-44090 (used to release TS vehicles from existing sets for planned NE-SW sets)
TGSs were 44091-44094 (ER planned additional set vehicles)
Two further lots of vehicles were built. 19 TSs (42323-42341) to replace the TRUKs in ER sets (except for two Pullman sets) and 7 TGSs (44095-44101) to act as spares, and form additional sets.
It's actually a lot more complicated than that, with catering vehicles swapped over lots, and then after ECML elecrification lots of reformations. In essence, the plan to operate the sets as fixed formation DEMUs (including the power cars) had broken down by the late 1980s, at which point the power cars were redesignated locomotives.