The Two fields below must have the same type

hi,

I am getting an error while posting my Gate entry inward Form.

“The Two fields below must have the same type”

Field : Party Type ← Party Code

Table : posted gate entry header<—gate entry header

Type : Option <–Code20.

Please suggest possible reason for this error…how to correct it…

party type is option with string vendor & customer.

party code is code of 20 displays party no.

the same is in posted gate entry header table…

thanks…

I am not sure whether you are assigning the values while posting or using TRANSFERFIELDS… go through the code and check… if you are assigning then correct the code… if using TRABSFERFIELDS then change the ID of the both fields…