So you are redirecting from a Suitlet to a New Sal...
# suitescript
s
So you are redirecting from a Suitlet to a New Sales order and bringing the customer name/value from the suitlet into the sales order? I would expect the address tab to populate on save, not before?
d
@Sean Murphy i would like that autopopulate when customer is selected in BL
s
try it in the UI. Create an SO and select that customer. I dont think it will auto populate until you save.
I think if you want it to populate before save you will need to set it via script
d
@Sean Murphy tried it autopopulates by default when we select customer in UI
s
ok, it does not when I do so there is something set differently for us I guess.
I am asking dumb questions here I realize. That must mean it is sourcing the address, when you are setting the customer value in the script, do you have ignorefieldchange = true?
d
I believe NS( standard script which sources the shipping addres n other details are at Client End)
@Sean Murphy i tried it on the BL it didn't help me out
s
I have a suitelet that does this very thing, but I know I am setting the address in the script so I am afraid I am of no additional value here.
b
Use the entity query parameter in your redirect url