when creating inbound shipment how can i set it t...
# suitescript
s
when creating inbound shipment how can i set it that the status is in transit
really my question is why do the docs seem to indicate that the status can only be set on a created inbound shipment
Copy code
inboundShipmentUpdate.setValue({
    fieldId: 'shipmentstatus',
    value: 'inTransit'
});
m
Go into Edit mode, then paste this into your browser console and run it, then click "Save": require(["N/currentRecord"], function(currentRecord){ var curRec = currentRecord.get(); curRec.setValue({fieldId: 'shipmentstatus', value: 'inTransit'}); });
s
that isnt the guestion
why cant i set the ship status on create