Hi all,


I'm using axapta 3.0 sp2

I have an integer field, in standard form it has lookup to a table.

When developing enterprise portal, I think it has lookup button as in standard form, but it doesn't (because it is integer).
So I think I have to create my own custom lookup for this integer field.

But since enterprise portal doesn't support custom lookup for web integer (EP only support web date and web edit), I put an webedit, set its data source and data field properties to the integer field. The lookup button property set to 'always', and lookup method set to 'custom'. Then I override its lookup method.

The problem is when I got an integer value after choosing from the popup, e.g. 6 . Then I process the form with a web button, it display this warning message :

The value '54' in field 'myIntegerField' is not found in relating table 'aTable'

I think it is because of the webedit. My idea is converting the value '54' to its original integer value 6, but I wonder how do I get this value. I have tried to debug but couldn't stop to get the value.

I hope someone would tell me if they have faced this problem before, or maybe there is an alternative solution of web integer lookup?

Thanks in advanced.


Agus






[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to