What could be an efficient way to delay a script as to prevent double CD(Customer Deposits) from being creaetd?
Only just started learning suitesctipt and we are having an issue where duplicate CDs are being made for SOs it is because there is not enough delay in our script between the CD being saved and it checking for a CD so it creates two. (P.S. The checker for duplicates is working successfully).
Hey
Don’t understand your issue
Send me the script please and your logic with the SO et CD




Eric T Grubaugh
Without knowing the existing architecture that’s creating the CDs, it’s pretty difficult to advise on potential approaches. In general, I avoid introducing artificial delays. Instead, I look to adjust or reorganize the triggers for the various stages of a process. Without more details on your system and desired outcomes, that’s all the more specific I can get.