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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Displaying Net Weight in Sales Line on Form

(0) ShareShare
ReportReport
Posted on by 20

I am trying to display the net weight from the Invent Table to the Salesline on the SalesTable Form but having difficulty. Does anyone know how this is done?

*This post is locked for comments

I have the same question (0)
  • Denis Patrakov Profile Picture
    on at
    Re: Displaying Net Weight in Sales Line on Form
    The next thing you'll have to implement is to display a total sales order net weight in the SalesTable form's grid ;-) And it's all gonna be damn slow...
    Note: there's an inquiries/totals menu item on the SalesTable form and a lot has been done to run those calculations on the server side. And now you want to run all this code with unit conversions on the client side - over and over again... Note also that in InventTable item's net weight is given for an invent unit that can differ from the sales unit so you'll have to convert the calculated value (item's net weight * sales qty) from one unit to another...
    But if you're not concerned about performance issues then there seems to be no problem: implement a display method on the SalesLine table that would calculate the total line net weight (including the unit conversion step), place a new field in a SalesLine grid for this display method and don't forget to setup it's caching on the form.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Willem van Duren Profile Picture

Willem van Duren 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans