Skip to Content
0

Sorting basis of item level field

Jun 19, 2017 at 08:03 AM

9

avatar image
Former Member

Hi ,

I am trying to sort the item based on field in item structure here is below

structure

Input

<F10F><RECORD_TYPE>F10F</RECORD_TYPE>
<INVOICE_NUMBER>7000008</INVOICE_NUMBER>
<F10F><RECORD_TYPE>F10F</RECORD_TYPE>

<F10F><RECORD_TYPE>F10F</RECORD_TYPE>
<INVOICE_NUMBER>7000009</INVOICE_NUMBER>
<F10F><RECORD_TYPE>F10F</RECORD_TYPE>

<F20F_F49F>
<RECORD_TYPE>F20F</RECORD_TYPE>
<INVOICE_NUMBER>7000008</INVOICE_NUMBER>

<F20F_F49F>
<RECORD_TYPE>F20F</RECORD_TYPE>
<INVOICE_NUMBER>7000009</INVOICE_NUMBER>
</F20F_F49F>

I am trying get the sort items based on basis invoice field as belown

<F10F><RECORD_TYPE>F10F</RECORD_TYPE>
<INVOICE_NUMBER>7000008</INVOICE_NUMBER>
<F10F><RECORD_TYPE>F10F</RECORD_TYPE>

<F20F_F49F>
<RECORD_TYPE>F20F</RECORD_TYPE>
<INVOICE_NUMBER>7000008</INVOICE_NUMBER>

<F10F><RECORD_TYPE>F10F</RECORD_TYPE>
<INVOICE_NUMBER>7000009</INVOICE_NUMBER>
<F10F><RECORD_TYPE>F10F</RECORD_TYPE>

<F20F_F49F>
<RECORD_TYPE>F20F</RECORD_TYPE>
<INVOICE_NUMBER>7000009</INVOICE_NUMBER>
</F20F_F49F>

Regards

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers