diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f97022 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/ \ No newline at end of file diff --git a/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml b/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml index de1af95..658fe9a 100644 --- a/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml +++ b/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml @@ -71,6 +71,7 @@ WHERE 1=1 and inventory.quantity>0 and inventory.itemKeyInventory.warehouse=#{SESSION_WAREHOUSE} + and location.type='STORAGE' /~company.id: AND company.id = {company.id}~/ /~location.id: AND inventory.location.id = {location.id}~/ /~item.code: AND item.code LIKE {item.code}~/ diff --git a/target/jrwms/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml b/target/jrwms/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml deleted file mode 100644 index de1af95..0000000 --- a/target/jrwms/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - 'COUNT' and location.disabled=false - ]]> - - - - - - - - 0 then (floor(inventory.quantity/item.CAcoefficient)||COALESCE(item.CAname,'箱')||mod(inventory.quantity,item.CAcoefficient)||pu.unit) end - - else - case when inventory.quantity=0 then ' ' - when item.CAcoefficient=0 then (mod(inventory.quantity,item.CAcoefficient)) - when inventory.quantity0 then (floor(inventory.quantity/item.CAcoefficient)) end - end, - item.CAname, - CAST(inventory.quantity as integer), - inventory.packageUnit.unit as bzkcdw, - inventory.location.code, - CAST(inventory.queuedQuantity as integer), - CAST(inventory.quantity -inventory.queuedQuantity as integer), - inventory.SOI, - company.name, - inventory.location.type, - inventory.packageUnit.unit, - item.CAname as xsdw, - CAST(item.CAcoefficient as integer) - - FROM Inventory inventory - LEFT JOIN inventory.location location - left join inventory.itemKeyInventory.itemKey itemkey - LEFT JOIN inventory.itemKeyInventory.itemKey.item.company company - LEFT JOIN inventory.itemKeyInventory.itemKey.item item - left join inventory.packageUnit pu - WHERE 1=1 - and inventory.quantity>0 - and inventory.itemKeyInventory.warehouse=#{SESSION_WAREHOUSE} - /~company.id: AND company.id = {company.id}~/ - /~location.id: AND inventory.location.id = {location.id}~/ - /~item.code: AND item.code LIKE {item.code}~/ - /~item.name: AND item.name LIKE {item.name}~/ - /~item.barcode: AND item.barcode LIKE {item.barcode}~/ - order by item.code,inventory.location.code - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -