the documents say it is scriptable. The item list identifies itself as an 'item' id, yet all functions related to getCurrentLine... do not work.
I understand that this list is static list which technically does not have a "current" status (from another user comment), but this is not exactly true. If I click the fulfillment checkbox (itemreceive field), it generates a field changed event. This should, in theory, also generate an index of the line being clicked. Otherwise, I think NetSuite is not returning the correct field information.
For example, if I click on the 3rd line item itemreceive checkbox, the event should identify the field (itemreceive) AND the current row (3). If it can not do this, then it should identify the field as 'itemreceive3' so I can at least parse the field to get the row (dumb option IMO but something needed here).
This is yet another inconsistent operation in NetSuite. There is no way for me to do any custom routines for the specific line item that was just checked. Instead, I need to maintain my own state machine for the lines and do a for loop to determine which line just changed. This is not only a complete waste of my time coding things I shouldn't be and bloating code for no reason, but also it is highly inefficient if I have to loop through lines with each event that occurs.
Am I missing something? Is there a workaround to this?
Thanks.
-Steve