Anyone have luck setting bins on a bin transfer in...
# suitescript
j
Anyone have luck setting bins on a bin transfer in 2.0 WITHOUT advanced inventory/bin management? I've tried multiple iterations and keep getting the error "You are either trying to access a field on a non-existent line or your are trying to add or remove lines from a static sublist." I know the sublist isn't static on a bin transfer, and I'm adding a new line via record.selectNewLine(options). I must be getting field names wrong or something else. Anyone have experience with this?
b
share the code
j
binTrans is being created in Dynamic Mode. stages.previous/current.bin are bin internal IDs.
b
i hope you eventually figured it out, but lines 13 and 18 shouldn't have a space after inventory
and i dont believe you use internal ids for the bins
use their text bin number'
j
Heh, it's those small things you don't see after looking at it a hundred times. The spaces were the killers. Removed them and all is well.