stalbert
12/16/2020, 12:50 AMinventorydetails.inventoryassignment
sublist row? I can't see a clear way to replicate what you can do in the UI (e.g. you can type in any old lot number text you want along with expiration date and quantity) (i.e. purchase order, or item receipt, or salesorder/fulfillment - would be happy to see this on any transaction type)ehcanadian
12/16/2020, 4:37 AMsubRecord.setSublistText({
sublistId: 'inventoryassignment',
fieldId: 'issueinventorynumber',
text: detail.lotNumber,
line: lineIndex
});
battk
12/16/2020, 4:41 AMbattk
12/16/2020, 4:41 AMbattk
12/16/2020, 4:41 AMbattk
12/16/2020, 4:42 AMbattk
12/16/2020, 4:42 AMstalbert
12/16/2020, 3:00 PMbattk
12/16/2020, 3:51 PMstalbert
12/16/2020, 3:55 PMissueinventorynumber
and receiptinventorynumber
fields are select fields -> pointing to InventoryNumber records (which we can't create directly in script). Are we saying that field dynamically creates a new InventoryNumber if you set it with text instead of a numeric value (which is even more confusing since NS internal ids are text, as observed). I tried setting text but it didn't seem to stick. Basically I am not seeing a path to successfully set this stuff in SS2 on a new purchaseorderbattk
12/16/2020, 4:18 PMstalbert
12/16/2020, 4:29 PMissueinventorynumber
but it is listed as a select field ?https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2020_1/script/record/inventorydetail.htmlbattk
12/16/2020, 4:30 PMstalbert
12/16/2020, 4:30 PMissue
ties to a InventoryNumber but receipt
does not?battk
12/16/2020, 4:35 PMstalbert
12/16/2020, 4:44 PMinventorynumber
with the text providedbattk
12/16/2020, 4:47 PM