I have this case
Custom record customrecord_exp_shipment has field id custrecord_exp_shio_pkg to select Custom record customrecord_expodya_package
Custom record customrecord_expodya_package has field id custrecord_pkg_recived_shipments to select custom record customrecord_expodya_recive_item
Custom record customrecord_expodya_recive_item has field custrecord_expodya_ordertoship
So once customrecord_expodya_package is selected in customrecord_exp_shipment, then after submitting all related customrecord_expodya_recive_item in field id: custrecord_pkg_recived_shipments will change the value for field id: custrecord_expodya_ordertoship to 6
The script was uploaded, but it is not work. May I know why
it show this error
{"type":"error.SuiteScriptError","name":"SSS_MISSING_REQD_ARGUMENT","message":"load: Missing a required argument: id","stack":["createError(N/error)","afterSubmit(/SuiteScripts/expodya_change_statues_ship.js:31)","createError(N/error)"],"cause":{"name":"SSS_MISSING_REQD_ARGUMENT","message":"load: Missing a required argument: id"},"id":"","notifyOff":false,"userFacing":true}