Does anyone have experience with scripting invoice...
# suitescript
s
Does anyone have experience with scripting invoices in an environment that has SuiteBilling enabled? We are running into a problem where when we uncheck the Recurring Bill field (which we obviously don’t want since it’s a non-subscription invoice), some NetSuite automation is automatically resetting the Date field back to today’s date, so we lose whatever value we had. even if we try to set the date after unchecking the box, it seems to be a race condition, as our change still gets overwritten. We can’t uncheck the value in beforeLoad, because the Recurring Bill field gets checked automatically after we set the Customer. Any ideas of how to get around this, other than putting the desired date into a custom field and setting it in an afterSubmit event? Is there a way to prevent SuiteBilling from checking that box in the first place?
t
try asking in the SuiteBilling forum. it doesn't sound like you will be able to resolve with SuiteScript but rather through possible a setting in the module if it exists
s
thanks, i didn’t know that channel existed! i’ll repost this there