have you looked at answer ID 43395
# suitescript
s
have you looked at answer ID 43395
s
the code I pasted is actual implementation of that suiteanswer 🙂 though it needs a couple adjustments to handle deletes, and battk pointed out.