on 05-27-2005 6:16 PM
Hi everybody,
We are facing here a strong problem regarding an add-on managing pricing info in transactions:
We are trying to detect if the item code has been changed on any document line.
To do this job we usually use the "et_Validate" event and test the value of "ItemChanged" property of the related event pointer.
It appears that when the user leaves column 1 on the form matrix (which contain the itemcode), this property is always False, unlike other cases on other columns.
So we cannot say.
We thought about storing in a string array in vb all the itemcodes, and do checks according to the index (line index on the matrix will match value index in string array)
But there may be a more elegant way to solve this problem.
Please advise.
Kind regards,
PS. We are using SBO 2004A with Patch 21
Hi Cyril
I'm using a hashtable for this purpose.
key=formtype&formcount&linenumber
values are references to a specific value class
then i use the gotfocus,lostfocus and formclose - events for managing the hashtable and to determine if values got changed.
hth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.