Discussions
Client-side Suitescript and the Add Multiple Button
Hi, everyone. I have some client-side suitescript running on sales orders. In this case, I have some code running on line validation, and it's working as expected. However, a coworker pointed out that the code does not run when they use the Add Multiple button right above the order lines. This seems like a small issue, but it is that validation that ensures that our orders are entered correctly and within our guidelines. I could run additional code BeforeSubmit, but that seems like overkill.
Is it possible to have validation code run after multiple lines are added like this? If not, can the button be removed/hidden?