I am having an issue with duplicate vendor payment...
# suitescript
s
I am having an issue with duplicate vendor payment check numbers getting generated when creating payments through a map/reduce with concurrency > 1. I have generatetranidonsave set to true, but still keep getting duplicates. The only way I have found to prevent this is running with concurrency set to 1. Has anyone else run into this before and have a workaround that still allows me to run with concurrency > 1?
b
is
Generate Document Number on Save
shown on the form you are using?
s
Yeah, its visible, but the default on the form is unchecked. I am checking it in the script, so not sure why its not overriding and working. If I change the form default to checked and retest, its works and does not duplicate
b
what does your code look like
s
never mind, it is working. someone changed the transactions I was testing with causing it to go into a different section of code and I was not aware.
thanks for your help battk