Quick question, I have a map/reduce that is creati...
# suitescript
e
Quick question, I have a map/reduce that is creating invoices with a date in the past. In a specific NetSuite Account, the date on the invoice gets reverted to always be "today", in the system notes, it indicates that is the map/reduce which is changing the date but I know it is not. My options to review what is being triggered on invoice creation is only workflows and scripts? or is there any setting in NetSuite that could be affecting to set an invoice date in the past?
c
Does it also change the accounting period to match the current one? @eminero
e
Hey @Clay Roper that is tricky question, since the date in the past is just for yesterday or before yesterday. So the accounting period is the same, I will try to create once today since this is a good time to check that.
a
UE scripts potentially Client scripts if you're using dynamic mode in your MR and WFs / WFA scripts are likely where you'll find the issue
but if its setting the date correctly first and that's showing in sysnotes and then flipping it back.. I'd look at aftersubmit UEs and WFs actions first
e
Thanks @Anthony OConnor! That's what I wanted to confirm.