Announcements
Where is the code for where a change in the sales line salesqty update the inventtrans qty?
I looked in salestable.update but can't find where that happens?
It updates inventtrans somewhere right?
Thanks
Yes, it might update InventTrans, but it's logic of SalesLine, not the whole order header (SalesTable).
In case of an update, you might be interested in SalesLineType.updateInventoryOnUpdate().
You can put a breakpoint to InventTrans insert()/update() to find the sequence of calls by yourself.
yeah, I that's what I ended up doing.
hey, I still have a question though. I tried creating a coc modified field class on the inventtrans table and that did not seem to fire even though the the 'onorder' field was being updated. Any idea why?
Thx again.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Subra 500
André Arnaud de Cal... 462 Super User 2026 Season 1
Abhilash Warrier 461 Super User 2026 Season 1