web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Updating inventtrans qty from Salesline

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    239,735 Most Valuable Professional on at

    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.

  • brianmaric Profile Picture
    on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 564 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 503 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 421

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans