That just doesn't make sense to me. In an afterSu...
# suitescript
b
That just doesn't make sense to me. In an afterSubmit the WORK ORDER should always have the 'assemblyitem' field populated. That's a must.
c
You are correct. There has to be an assembly item. I don't know the field name off the top of my head though
Are you sure you have the correct field?
b
Got the correct field. As opposed to using newRecord.getValue.. I changed to loadedRecord.getValue
and that seemed to resolve
still the newRecord should have that value on it
not sure what's going on there
b
an xedit to a work order would only have the changed fields on the newRecord
b
interesting... so an xedit context only has the changed fields on the newRecord object?
hmmm
b
expect to do some minor translation of ss1 methods