Skip to Content
0
Former Member
May 27, 2005 at 05:16 PM

UI - detect item code change in matrix

103 Views

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