Hey quick question. Does anyone know if there is a way to pull the next available doc number for a transaction?
b
battk
04/13/2023, 6:08 PM
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
battk
04/13/2023, 6:08 PM
if the NetSuite account is fancy and uses subsidiary or location prefixes/suffixes, you need to set those fields first