Clay Roper
05/27/2020, 10:24 PMINVALID_FLD_VALUE
that appears to be related to the componentinventorydetail bin field on some line items. My script logs that it's setting the quantity and bin for every inventoryassignment sublist line known to man, but when I log out the record object right before saving, several component lines' fulfillmentbin
fields are empty strings. This is the only field I can see in the record which isn't set. Has anyone got a clue as to why this might be happening? The items in question have plenty of inventory available in those bins, and everything is fully committed in the quantities we're attempting to consume. Thanks in advance!battk
05/27/2020, 10:25 PMClay Roper
05/27/2020, 10:27 PM{
"type": "error.SuiteScriptError",
"name": "INVALID_FLD_VALUE",
"message": "Field must contain a value.",
"stack": [
"Error\n at /SuiteScripts/Features/Pick Record/cxa001_sl_ez_assemblyBuildToWorkOrder.js:1691:42"
],
"cause": {
"type": "internal error",
"code": "INVALID_FLD_VALUE",
"details": "Field must contain a value.",
"userEvent": null,
"stackTrace": [
"Error\n at /SuiteScripts/Features/Pick Record/cxa001_sl_ez_assemblyBuildToWorkOrder.js:1691:42"
],
"notifyOff": false
},
"id": "",
"notifyOff": false,
"userFacing": true
}
Clay Roper
05/27/2020, 10:29 PMrecord.save()
. The record being saved is an Assembly Build having been created through record.transform
in Standard mode.battk
05/27/2020, 10:29 PMClay Roper
05/27/2020, 10:31 PMbattk
05/27/2020, 10:38 PMbattk
05/27/2020, 10:38 PMbattk
05/27/2020, 10:38 PMbattk
05/27/2020, 10:39 PMbattk
05/27/2020, 10:39 PMClay Roper
05/27/2020, 10:46 PMbattk
05/27/2020, 10:47 PMClay Roper
05/27/2020, 10:47 PM