UDT in AP Invoice detail

I've created a UDT in AP. Populated the data and then created a UDF in AP Invoice Detail.

The Code field appears from the table but i cannot select it.

what needs to be changed?

UDT

AP Invoice Detail

UDF in AP 

Thanks for your assistance

UDT in AP.docx