AX table relation for drop down

Hi,

I am using AX2009. I have developed one field in transfer line table and assign edt as reasoncode. Same field fatch in form also. Its giving error "The value ‘XXXXXXXX’ in field ‘Reason’ is not found in relating table ‘Reasons’. This is from ReasonTable. In the from → data source → filed , I have override method lookup for filter also.

Please help!