This message was deleted.
# suitescript
s
This message was deleted.
b
what does the code look like
Copy code
for (var j=1; j <= subrecLineCount; j++){
is questionable, the line indexes start at 0
otherwise the rule for the inventory assignment sublist is that receiptinventorynumber is used when your inventory increases, issueinventorynumber is used when your inventory decreases