src/org/openbravo/erpCommon/ad_forms/DocLineLandedCost_data.xsql
changeset 25494 4ae6c365fd3e
parent 24890 5f3d0f2a445a
--- a/src/org/openbravo/erpCommon/ad_forms/DocLineLandedCost_data.xsql	Mon Dec 01 16:49:43 2014 +0100
+++ b/src/org/openbravo/erpCommon/ad_forms/DocLineLandedCost_data.xsql	Mon Dec 01 16:50:51 2014 +0100
@@ -45,7 +45,7 @@
         AND IOL.M_LOCATOR_ID = L.M_LOCATOR_ID
         AND LCR.ISMATCHADJUSTMENT = 'N'
         AND LCC.M_LANDEDCOST_ID = ?
-        ORDER BY IO.DOCUMENTNO, IO.M_INOUT_ID, IOL.LINE
+        ORDER BY LCC.LINE, IO.DOCUMENTNO, IO.M_INOUT_ID, IOL.LINE
      ]]>
      </Sql>
      <Parameter name="LC_Receiptline_Amt"/>