Skip to main content
Solved

Sort order in Reports

  • March 25, 2026
  • 9 replies
  • 79 views

I am currently working on printing the Purchase Order in line sequence based on Sort Order instead of Line Number.

I attempted to use POLine.SortOrder with ascending sorting in the report; however, the sorting does not appear to be working as expected.

Could you please advise if there are any additional configurations required or if there are any limitations with using SortOrder for this purpose?

Thank you in advance for your guidance.

 

Best answer by KrunalDoshi

Hi ​@VeeraA,

You need to modify the second group “groupPOLine” in your PO Report (PO641000), add another grouping for [POLine.SortOrder] and move it to top. This should fix your issue. Hope this helps!

 

9 replies

mohammadnawaz51
Jr Varsity II
Forum|alt.badge.img+6

@VeeraA Can you check this.

 


Forum|alt.badge.img
  • Jr Varsity III
  • March 26, 2026

@VeeraA , Do you have any grouping against LineNbr on your report?

            

 


  • Author
  • Freshman II
  • March 26, 2026

@premalathan35 I’ve standard grouping only

 


Forum|alt.badge.img+1
  • Varsity I
  • March 26, 2026

I think you’ll find it helpful.

 


KrunalDoshi
Varsity III
Forum|alt.badge.img
  • Varsity III
  • Answer
  • March 26, 2026

Hi ​@VeeraA,

You need to modify the second group “groupPOLine” in your PO Report (PO641000), add another grouping for [POLine.SortOrder] and move it to top. This should fix your issue. Hope this helps!

 


bwhite49
Captain II
Forum|alt.badge.img+12
  • Captain II
  • March 26, 2026

Hi ​@VeeraA,

You need to modify the second group “groupPOLine” in your PO Report (PO641000), add another grouping for [POLine.SortOrder] and move it to top. This should fix your issue. Hope this helps!

 

I had to do this yesterday. Sorting in report designer is not easy or intuitive. 

The rules defined in the sorting tab in the schema builder do nothing. Any changes to sorting must be defined by changes to the grouping.


KrunalDoshi
Varsity III
Forum|alt.badge.img
  • Varsity III
  • March 26, 2026

Thanks ​@bwhite49, I am glad you figured out and we both ended up the same solution. Yes, it is true at first the sorting is driven by grouping. Could you please mark my answer as solution so it will help other community members.


  • Author
  • Freshman II
  • March 26, 2026

Thank you ​@KrunalDoshi ​@bwhite49 for your help!


bwhite49
Captain II
Forum|alt.badge.img+12
  • Captain II
  • March 26, 2026

Thank you ​@KrunalDoshi ​@bwhite49 for your help!

Krunal gave the answer. You should mark his answer as the best answer :)