why does product inventory page hide DELIVERED serialized inventory?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

why does product inventory page hide DELIVERED serialized inventory?

Si Chen-2
Hi,

For some reason serialized inventory in the state of "DELIVERED" do not
show up in Catalog Manager's Product > Inventory tab.  Looking at the
code it's fairly obvious why:

$ vi
applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
    <#list productInventoryItems as inventoryItem>
       <#if showEmpty || (inventoryItem.inventoryItemTypeId?if_exists ==
"SERIALIZED_INV_ITEM" && inventoryItem.statusId?if_exists !=
"INV_DELIVERED")

But why is it done like this?  Is there some design reason why
serialized inventory in the DELIVERED status should not be shown, but
all the other status codes are shown?

Si
Reply | Threaded
Open this post in threaded view
|

Re: why does product inventory page hide DELIVERED serialized inventory?

Si Chen-2
Si Chen wrote:

> Hi,
>
> For some reason serialized inventory in the state of "DELIVERED" do
> not show up in Catalog Manager's Product > Inventory tab.  Looking at
> the code it's fairly obvious why:
>
> $ vi
> applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
>    <#list productInventoryItems as inventoryItem>
>       <#if showEmpty || (inventoryItem.inventoryItemTypeId?if_exists
> == "SERIALIZED_INV_ITEM" && inventoryItem.statusId?if_exists !=
> "INV_DELIVERED")
>
> But why is it done like this?  Is there some design reason why
> serialized inventory in the DELIVERED status should not be shown, but
> all the other status codes are shown?
>
> Si
>
Aha - I figured it out and in the process flushed out another bug:
http://issues.apache.org/jira/browse/OFBIZ-591

Reply | Threaded
Open this post in threaded view
|

Re: why does product inventory page hide DELIVERED serialized inventory?

David E Jones-2

On Jan 3, 2007, at 6:28 PM, Si Chen wrote:

> Si Chen wrote:
>> Hi,
>>
>> For some reason serialized inventory in the state of "DELIVERED"  
>> do not show up in Catalog Manager's Product > Inventory tab.  
>> Looking at the code it's fairly obvious why:
>>
>> $ vi applications/product/webapp/catalog/product/
>> EditProductInventoryItems.ftl
>>    <#list productInventoryItems as inventoryItem>
>>       <#if showEmpty || (inventoryItem.inventoryItemTypeId?
>> if_exists == "SERIALIZED_INV_ITEM" && inventoryItem.statusId?
>> if_exists != "INV_DELIVERED")
>>
>> But why is it done like this?  Is there some design reason why  
>> serialized inventory in the DELIVERED status should not be shown,  
>> but all the other status codes are shown?
>>
>> Si
>>
> Aha - I figured it out and in the process flushed out another bug:
> http://issues.apache.org/jira/browse/OFBIZ-591

Oh yeah, this looks like a nice juicy bug that needs to be squashed,  
or consumed, or whatever... ;)

-David