Hey quick question. Does anyone know if there is a...
# suitescript
j
Hey quick question. Does anyone know if there is a way to pull the next available doc number for a transaction?
b
create the transaction and get its tranid. If the account is sane and generates the document number on save, then you want to be using dynamic mode and setting generatetranidonsave first
if the NetSuite account is fancy and uses subsidiary or location prefixes/suffixes, you need to set those fields first