<#C298P0BCK|> <#C29HQS63G|> Can you set the Bill t...
# general
n
#C298P0BCK #C29HQS63G Can you set the Bill to Select field using SuiteScript? If so what is the field name....I tried billaddresslist but it didn't work. ANyone done this successfully?
b
that is the field you would set
general requirements as all other fields
needs to be a valid select option
with common problems being not setting the entity that the address sources from
or using the wrong id, especially common if you dont know the difference between the id of the addressbook line and the id of the address subrecord
n
Thanks @battk I tried this with both ID's I could find. Is the correct ID the one in the URL of the address record when you are viewing it?
Also do you need to set it BeforeSubmit or AfterSubmit?
b
you want the id of the addressbook line, which is found on the addressbook sublist of the entity
the id in the url of the address subrecord is the id of the address subrecord, which is not the id you want
n
hey it works now
not sure what I did differently this time but its working thanks