Hi,
version: 7.0.149
Lang: VB .Net
I am using a modified version of viewtopic.php?f=26&t=422 Sales Order Lines custom fields - make read only
This time I need to do basically the same except the difference will be that the custom field is read only for normal lines & kit component lines. In other words, editable for kit header lines only.
I am in a world of pain here - I thought this could be knocked over in an hour & have been struggling for about 6 hours!
I have attached the plugin here - almost identical to the plugin attached in the forum topic above except I am also checking for KitLineType.
No matter how I reprogram the plugin with various changes, I keep getting RowIndex errors similar to:
Error: Invalid Row Index: 3 (must be between 0 and 2)
Module: get_Item
The ultimate goal of the plugin is to make a kit backordered if any one component is on back order. I was going to use a custom line field to indicate the BO Qty of the kit header, then use that value to set the BO qty of all the kit components.
Cheers


