Commit 5ff936c9 authored by Atul Gaware's avatar Atul Gaware Committed by Atul Gaware
Browse files

Fixes BUG-0045412: Filters in Backend do not work correctly

**Add alias for column Distribution Order Line object to fix
the value in Reservation Stock field.
**Disable sorting/filtering of field Reservation Stock field
**Add allowing sort/filter Product field in Distribution Order
Issue window, Reserved Stock tab
parent af8ce9dc
......@@ -434,8 +434,8 @@
<!--1A43D801D2694FD6AB1407439117916B--> <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
<!--1A43D801D2694FD6AB1407439117916B--> <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
<!--1A43D801D2694FD6AB1407439117916B--> <ENTITY_ALIAS><![CDATA[rs]]></ENTITY_ALIAS>
<!--1A43D801D2694FD6AB1407439117916B--> <ALLOWSORTING><![CDATA[Y]]></ALLOWSORTING>
<!--1A43D801D2694FD6AB1407439117916B--> <ALLOWFILTERING><![CDATA[Y]]></ALLOWFILTERING>
<!--1A43D801D2694FD6AB1407439117916B--> <ALLOWSORTING><![CDATA[N]]></ALLOWSORTING>
<!--1A43D801D2694FD6AB1407439117916B--> <ALLOWFILTERING><![CDATA[N]]></ALLOWFILTERING>
<!--1A43D801D2694FD6AB1407439117916B--> <ALLOWED_CROSS_ORG_LINK><![CDATA[N]]></ALLOWED_CROSS_ORG_LINK>
<!--1A43D801D2694FD6AB1407439117916B--> <IS_CHILD_PROPERTY_IN_PARENT><![CDATA[Y]]></IS_CHILD_PROPERTY_IN_PARENT>
<!--1A43D801D2694FD6AB1407439117916B--></AD_COLUMN>
......@@ -1766,6 +1766,46 @@ You find the current status in the Document Status field. The options are listed
<!--97307FF64C974343A7A2717D1BDD98E4--> <IS_CHILD_PROPERTY_IN_PARENT><![CDATA[Y]]></IS_CHILD_PROPERTY_IN_PARENT>
<!--97307FF64C974343A7A2717D1BDD98E4--></AD_COLUMN>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--><AD_COLUMN>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_COLUMN_ID><![CDATA[AD14D320EF0D4BF98A367FCA028BCEE6]]></AD_COLUMN_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <NAME><![CDATA[Product]]></NAME>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <DESCRIPTION><![CDATA[An item produced by a process.]]></DESCRIPTION>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <HELP><![CDATA[Identifies an item which is either purchased or sold in this organization.]]></HELP>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <COLUMNNAME><![CDATA[M_Product_ID]]></COLUMNNAME>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_TABLE_ID><![CDATA[3A1F787BD27F4B34B49CBF7D772B3A85]]></AD_TABLE_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_REFERENCE_ID><![CDATA[18]]></AD_REFERENCE_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_REFERENCE_VALUE_ID><![CDATA[1F603F334B704F53928B8DB908611657]]></AD_REFERENCE_VALUE_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISKEY><![CDATA[N]]></ISKEY>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISPARENT><![CDATA[N]]></ISPARENT>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <SEQNO><![CDATA[90]]></SEQNO>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_ELEMENT_ID><![CDATA[454]]></AD_ELEMENT_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <AD_MODULE_ID><![CDATA[8542A34B0C6B4724A1D5C9B16B0BE028]]></AD_MODULE_ID>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ENTITY_ALIAS><![CDATA[r.product]]></ENTITY_ALIAS>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ALLOWSORTING><![CDATA[Y]]></ALLOWSORTING>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ALLOWFILTERING><![CDATA[Y]]></ALLOWFILTERING>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <ALLOWED_CROSS_ORG_LINK><![CDATA[N]]></ALLOWED_CROSS_ORG_LINK>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--> <IS_CHILD_PROPERTY_IN_PARENT><![CDATA[N]]></IS_CHILD_PROPERTY_IN_PARENT>
<!--AD14D320EF0D4BF98A367FCA028BCEE6--></AD_COLUMN>
<!--AE107D88BA90452A83C818E4814A4F6F--><AD_COLUMN>
<!--AE107D88BA90452A83C818E4814A4F6F--> <AD_COLUMN_ID><![CDATA[AE107D88BA90452A83C818E4814A4F6F]]></AD_COLUMN_ID>
<!--AE107D88BA90452A83C818E4814A4F6F--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
......
......@@ -4442,6 +4442,34 @@ You find the current status in the Document Status field. The options are listed
<!--DE9A922247344C34A2DDBD78D97C73FC--> <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
<!--DE9A922247344C34A2DDBD78D97C73FC--></AD_FIELD>
<!--DFF606C507524418B6F6652E8F7A2D66--><AD_FIELD>
<!--DFF606C507524418B6F6652E8F7A2D66--> <AD_FIELD_ID><![CDATA[DFF606C507524418B6F6652E8F7A2D66]]></AD_FIELD_ID>
<!--DFF606C507524418B6F6652E8F7A2D66--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--DFF606C507524418B6F6652E8F7A2D66--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--DFF606C507524418B6F6652E8F7A2D66--> <NAME><![CDATA[Product]]></NAME>
<!--DFF606C507524418B6F6652E8F7A2D66--> <DESCRIPTION><![CDATA[An item produced by a process.]]></DESCRIPTION>
<!--DFF606C507524418B6F6652E8F7A2D66--> <HELP><![CDATA[Identifies an item which is either purchased or sold in this organization.]]></HELP>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
<!--DFF606C507524418B6F6652E8F7A2D66--> <AD_TAB_ID><![CDATA[2DA5D3D46159482DB71480D8D1132C72]]></AD_TAB_ID>
<!--DFF606C507524418B6F6652E8F7A2D66--> <AD_COLUMN_ID><![CDATA[AD14D320EF0D4BF98A367FCA028BCEE6]]></AD_COLUMN_ID>
<!--DFF606C507524418B6F6652E8F7A2D66--> <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
<!--DFF606C507524418B6F6652E8F7A2D66--> <DISPLAYLENGTH><![CDATA[0]]></DISPLAYLENGTH>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISREADONLY><![CDATA[N]]></ISREADONLY>
<!--DFF606C507524418B6F6652E8F7A2D66--> <SEQNO><![CDATA[15]]></SEQNO>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
<!--DFF606C507524418B6F6652E8F7A2D66--> <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
<!--DFF606C507524418B6F6652E8F7A2D66--> <AD_MODULE_ID><![CDATA[8542A34B0C6B4724A1D5C9B16B0BE028]]></AD_MODULE_ID>
<!--DFF606C507524418B6F6652E8F7A2D66--> <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
<!--DFF606C507524418B6F6652E8F7A2D66--> <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
<!--DFF606C507524418B6F6652E8F7A2D66--> <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
<!--DFF606C507524418B6F6652E8F7A2D66--> <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
<!--DFF606C507524418B6F6652E8F7A2D66--></AD_FIELD>
<!--E0AD866F313F4D09A56E9C47B58D1C7D--><AD_FIELD>
<!--E0AD866F313F4D09A56E9C47B58D1C7D--> <AD_FIELD_ID><![CDATA[E0AD866F313F4D09A56E9C47B58D1C7D]]></AD_FIELD_ID>
<!--E0AD866F313F4D09A56E9C47B58D1C7D--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
......
......@@ -23,7 +23,8 @@
<!--3A1F787BD27F4B34B49CBF7D772B3A85--> <ISTREE><![CDATA[N]]></ISTREE>
<!--3A1F787BD27F4B34B49CBF7D772B3A85--> <HQLQUERY><![CDATA[select rs.id, rs as M_Reservation_Stock_ID, rs.storageBin as M_Locator, rs.attributeSetValue as M_Attributesetinstance,
rs.quantity as Quantity, rs.released as ReleasedQty, rs.allocated as IsAllocated,
r.obdoDistorderline
r.obdoDistorderline as obdoDistorderline,
r.product as M_Product_ID
from MaterialMgmtReservationStock rs
join rs.reservation r
where @additional_filters@ ]]></HQLQUERY>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment