The "createpo" field in SO line is disabled once S...
# suitescript
s
The "createpo" field in SO line is disabled once SO is submitted. i.e when I try to edit the saved SO record - its disabled. I want this field to be enabled/editable. So I tried getting the field using rec.getfield and . isDisabled=false. Its not enabling! Why is this ?
c
It feels like this is something you shouldn't be changing - if a PO has been created automatically from the SO you don't want the user changing the createpo type, it just doesn't make sense from a data point of view
n
I am curious, what's your use case? When the PO is already generated, why do you need the field to be active?
s
If By default the item is special order while saving the Sales order. Before the po is created If I have to change it to drop shipment . I need that field to be enabled while I edit the sales order . This is one use case . @NickSuite, @CD
n
Then do it before the order is saved.
It doesn't make sense to enable that field after the order is saved and PO is created. You are approaching the problem from wrong direction.