Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5954715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:00:37+00:00 2026-05-22T18:00:37+00:00

We are facing the following sorting issue during invoice posting in Dynamics AX 2009.

  • 0

We are facing the following sorting issue during invoice posting in Dynamics AX 2009. Application version is given below.

Dynamics AX 2009 with Service Pack 1 and Roll Up 5 installed.
Version: 5.0.1500.2985 (Both Kernel and Application)

Following are the steps that our users are performing:

  1. Navigated to Accounts receivable --> Periodic --> Sales update --> Invoice
  2. On the Posting invoice form, clicked on the select button.
  3. On the Sales update dialog, clicked on the Sorting tab.
  4. Changed the search direction of field Sales order to Descending.
  5. Deleted the Order lines - Line No - Ascending row from sorting.
  6. Clicked Ok to exit Sales update dialog.

After the data is retrieved, I see the Sales orders listed in the Posting invoice form’s Overview tab in ascending order.

We don’t have any sorting parameters set up in Accounts receivable --> Setup --> Forms --> Form sorting --> Invoice. So, I don’t think that is the problem.

I was also able to simulate this scenario in the standard code that didn’t have any customizations.

I would like to know if anyone has a solution to fix this problem.

Thanks in advance.

UPDATE:

I just found out from Microsoft Support that the Posting Invoice form is working as per design. So, I have to make a change in order for the form to function the way our users would like it to work. If I can find a solution, I will post it here.

To add more to the question, same thing happens in the Purchase Order Posting form as well.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T18:00:38+00:00Added an answer on May 22, 2026 at 6:00 pm

    Naturally users can change the sorting whenever needed by simply clicking the Sales order header in the grid, however if the default sorting needs to be changed the following can be done.

    Open method \Forms\SalesEditLines\Methods\init.
    After the following line:

    salesParmTable_ds.query().dataSourceTable(tablenum(SalesParmTable)).addRange(fieldnum(SalesParmTable, ParmId)).value(queryValue(parmId));
    

    add a new one:

    salesParmTable_ds.query().dataSourceTable(tablenum(SalesParmTable)).addSortField(fieldnum(SalesParmTable, SalesId), SortOrder::Descending);
    

    NB: the default sorting will be changed for all processes that use this form e.g. Picking list, Delivery note, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using WCF service in my client-server application and I am facing following
I am facing the following issue when deploying a com-exposed assembly to my client's.
I'm currently facing the following issue: My app dynamically creates images (320 x 480
I am facing issue with the following Json reponse object in the javascript eval
I am facing the following issue in IE7 Whereas in Chrome, FF and Opera
We are facing an issue where the following check fails intermittently in IE: pseudocode:
Currently we are facing following Problem in our Application: Around 40 % of the
I'm using a database for searching and facing following issue. When new search string
I have deployed WCF service on service on server and facing following exception. System.Security.SecurityException:
We are facing the following problem in a Spring service, in a multi-threaded environment:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.