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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Change SalesLine order

(0) ShareShare
ReportReport
Posted on by 12

Hi there,

I have a question regarding sales lines. In the purch Table it is possible to change the order of the lines by editing the line number.

Now I want the same with the sales lines, is this possible? 

I already tried  editing the field linenum, but that is not possible. Also the line number of PurchLine is an integer and the LineNum of SalesLine is a real, does anybody know why?

Thanks.

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    You won't be able to change the line number in sales order lines. The table has this field set to non-editable. You will need to delete and re-create the lines in the order you need.

    I am not sure why line number is type integer in PurchLine  and is real in SalesLine.

  • André Arnaud de Calavon Profile Picture
    300,904 Super User 2025 Season 2 on at

    Hi Dominikgr,

    In previous versions, the line numbers were both a real type field. As of AX 2012, the purchase order was changed to have an integer which could be used to communicate with your vendors or external applications. Using change management, you are then able to refer to individual lines (e.g. change quantity or delete lines).

    This has not been implemented on the sales lines. You can create an integer field yourself by extending the table and add additional logic like Microsoft did on the purchase order lines.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans