Unlock custom line field on Closed sales
I've got a text box on a sales order line custom field.
When the sales order is closed, I want this column to still be allowed edits.
Can't work out how to do it.
I've tried in the LineCustomFieldPlugin section, FormatCell.
Also have tried similar code in the LineDisplayed event of the form, and the sales order ReadEnd event.
None have worked. What's the trick?
v. 7.2.1. SR22.
When the sales order is closed, I want this column to still be allowed edits.
Can't work out how to do it.
I've tried in the LineCustomFieldPlugin section, FormatCell.
- Code: Select all
GridObject.LockColumn(false,"My ColName", Row);
Also have tried similar code in the LineDisplayed event of the form, and the sales order ReadEnd event.
None have worked. What's the trick?
v. 7.2.1. SR22.