Default warehouse selection and taxes

hello, if i want to create sales order, delivery note and sales invoice, and i want the default warehouse to be something already selected for all items and even for taxes template , what should i write in js ? not familiar with it that much … thanks for your help !!