You can sort data in XML report a group by
any element within the group.
Sort data based on Empno:
Syntax:
<?sort:Field_Name?><?Field_Name?>
It sorts the data in ascending
order by Default. If Order By is not mentioned
Example:
<?sort:EMPNO?><?EMPNO?>
Output:
Sort data as descending based on Empno:
Syntax:
<?sort:Field_Name;'descending'?><?Field_Name?>
Example:
<?sort:EMPNO;'descending'?><?EMPNO?>
Sort data based on Ename Test Element:
Syntax:
<?sort:Field_Name;’Order by’;data-type=’text’?>
It sorts the String Data based on Order By mentioned here like Ascending
Or Descending
Example:
<?sort:ENAME;’ascending‘;data-type=’text’?><?ENAME?>
Oracle Apps R12 and Oracle Fusion Cloud Self Paced Online Training Videos Published on Udemy with Life Time Access & Live Meeting Support to Clear your Queries. Avail 25% to 80% discount. Please Check https://www.oracleappstechnical.com for Never Before Offers and Discount Coupon Codes.
ReplyDeleteHow do you sort by more than 1 column, by Mgr and Sal, for example?
ReplyDelete