The harness I pasted is a different harness than the one you have and attached on the photo. It goes along the A pillar to the roof, and then along the top of the windscreen to the middle of the roof. It should be in place together with the roof, as the car with the sunroof is the target one.
The part number you've pasted is the harness on the central console, with the sunroof operating switch here:
FIAT COUPE' GAMMA'96 (1996-2000)
eper.fiatforum.com
It should also have switches to the power windows. And another element, which should be installed on the same height as the sunroof switch, but on passenger side of the console.
The harness in the donor car is probably smaller, without the sunroof switch socket. There are 3 types of those harnesses. According to
ePER.
I assume the 6 pin blue socket is a relay socket. Can you please compare the cable colours on the diagram from the 1st post by the element number 40 with the cables that run to the blue socket on the harness? I don't see an extra control unit in the
ePER that could operate the sunroof. And looking with the part name in Polish cannot find a sunroof module for a coupe. Although there are some for other models.
According to
ePER, the part number of the sunroof relay should be 5893251. I've found it available in one Polish shop for around 50 EUR. The same relay was apparently used in Punto / Tipo / Tempra / Coupe / Lancia Y / Kappa. It should be easier to find, as the coupe is the least popular model I think. But it's only an information based on the shop compatibility list.
And also according to
ePER, the harness on your photo should have 6 sockets (sunroof switch, two power windows switches, one mistery thing, a relay and a connector to the main harness - I assume the one by the green label). Can you make a photo of the central console where the switches should be? I'm quite curious what is the forth thing operated from there? Central locking?
Beside the sunroof, the only one tricky thing with the switch from one body to another can be the fact that it seems they made some changes to the model in 96...
The
46317168 is not the module. It is called 'Container' on the
ePER drawing. I'm not sure if it isn't an error...