I'm validating specific record document number and...
# suitescript
k
I'm validating specific record document number and if I find any duplication, it should be able to prevent saving record on server side script again especially bill .com
b
honestly most people accidently learn that an error thrown before submit prevents save
k
hey Battk could you please post any sample that could prevent saving record based on condition ?
b
Do you know how to throw an error?
k
This bit I'm using
it was my bad that Injected this inside
try catch
I'm trying again now test to see if this works
Working like a char when I do in UI, but when web services or other server side script it works against them
b
Im not sure what you mean by works against them