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).

Rookie Asked on January 22, 2024 in SuiteScript.

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.

on January 22, 2024.
Add Comment
1 Answer(s)

Hey
Don’t understand your issue
Send me the script please and your logic with the SO et CD

Rookie Answered on January 22, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor