You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by wudongqing <do...@virtualvillage.com> on 2008/10/31 04:23:47 UTC

inventoryItemStatus

Hi ,
I found a problem when updating inventory item status ID.
here is the steps i did:
1,go to the catalog, fill in "GZ-2644" to inventory
2,click one inventory item id  "9001",the InventoryItem Type is
NON_SERIALIZED,change the status id to "on hold" ,updated.
3,when to catalog, fill in the product id and go to the inventory again ,the
inventory item status is still blank,

Anyone can tell me is this a bug or the status should blank again? 
Thanks a lot.
-- 
View this message in context: http://www.nabble.com/inventoryItemStatus-tp20259630p20259630.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: inventoryItemStatus

Posted by BJ Freeman <bj...@free-man.net>.
put in a jira
https://issues.apache.org/jira/browse/OFBIZ-2033


BJ Freeman sent the following on 10/30/2008 10:16 PM:
> I stand corrected
> when I do a entity-view
> https://demo.hotwaxmedia.com/webtools/control/FindGeneric?entityName=ProductInventoryItem
> it seems there is some relationships not setup, with the data that link
> the product and the inventoryItem. if you notice it does not show the
> statusID
> I believe it has to do with the errors I posted.
> 
> 
> wudongqing sent the following on 10/30/2008 9:50 PM:
>> https://demo.hotwaxmedia.com/webtools/control/ViewGeneric?entityName=InventoryItem&inventoryItemId=9001
>> But it does update the inventory item status,pls check.
>>
>>
>> BJ Freeman wrote:
>>> the log shows
>>> {ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
>>> found in context for updateInventoryItem, defaulting to null.
>>>
>>> that is why
>>>
>>> wudongqing sent the following on 10/30/2008 9:23 PM:
>>>> thank you for reply
>>>> I know that the ECA runs createInventoryItemStatus service,and it created
>>>> a
>>>> record about changing status, but the UI doesn't show the status
>>>> correctly.
>>>>  
>>>>
>>>> BJ Freeman wrote:
>>>>> if you go to
>>>>> https://demo.hotwaxmedia.com/webtools/control/LogView
>>>>> use find on the browser you find this
>>>>> 2008-10-30 23:09:06,041 (TP-Processor16) [ RequestHandler.java:238:INFO
>>>>> ] [Processing Request]: UpdateInventoryItem
>>>>> sessionId=981ACFE88B09A6DC8BD5683D856AA73F.jvm1
>>>>> 2008-10-30 23:09:06,044 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>>> ] For Service ECA [facilityGenericPermission] on [return] got false for
>>>>> condition: [hasPermission][equals][false][true][Boolean]
>>>>> 2008-10-30 23:09:06,078 (TP-Processor16) [ EntityEcaRule.java:117:INFO ]
>>>>> Running Entity ECA Service: updateSerializedInventoryTotals, triggered
>>>>> by rule on Entity: InventoryItem
>>>>> 2008-10-30 23:09:06,080 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>>>> condition: [oldStatusId][not-equals][statusId][false][String]
>>>>> 2008-10-30 23:09:06,080 (TP-Processor16)
>>>>> [ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
>>>>> found in context for updateInventoryItem, defaulting to null.
>>>>> 2008-10-30 23:09:06,081 (TP-Processor16) [ ServiceEcaRule.java:150:INFO
>>>>> ] Running Service ECA Service: createInventoryItemStatus, triggered by
>>>>> rule on Service: updateInventoryItem
>>>>> 2008-10-30 23:09:06,113 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>>>> condition: [oldOwnerPartyId][not-equals][ownerPartyId][false][String]
>>>>> 2008-10-30 23:09:06,114 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>>>> condition: [ownerPartyId][not-equals][oldOwnerPartyId][false][String]
>>>>>
>>>>>
>>>>> wudongqing sent the following on 10/30/2008 8:23 PM:
>>>>>> Hi ,
>>>>>> I found a problem when updating inventory item status ID.
>>>>>> here is the steps i did:
>>>>>> 1,go to the catalog, fill in "GZ-2644" to inventory
>>>>>> 2,click one inventory item id  "9001",the InventoryItem Type is
>>>>>> NON_SERIALIZED,change the status id to "on hold" ,updated.
>>>>>> 3,when to catalog, fill in the product id and go to the inventory again
>>>>>> ,the
>>>>>> inventory item status is still blank,
>>>>>>
>>>>>> Anyone can tell me is this a bug or the status should blank again? 
>>>>>> Thanks a lot.
> 
> 

Re: inventoryItemStatus

Posted by BJ Freeman <bj...@free-man.net>.
I stand corrected
when I do a entity-view
https://demo.hotwaxmedia.com/webtools/control/FindGeneric?entityName=ProductInventoryItem
it seems there is some relationships not setup, with the data that link
the product and the inventoryItem. if you notice it does not show the
statusID
I believe it has to do with the errors I posted.


wudongqing sent the following on 10/30/2008 9:50 PM:
> https://demo.hotwaxmedia.com/webtools/control/ViewGeneric?entityName=InventoryItem&inventoryItemId=9001
> But it does update the inventory item status,pls check.
> 
> 
> BJ Freeman wrote:
>> the log shows
>> {ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
>> found in context for updateInventoryItem, defaulting to null.
>>
>> that is why
>>
>> wudongqing sent the following on 10/30/2008 9:23 PM:
>>> thank you for reply
>>> I know that the ECA runs createInventoryItemStatus service,and it created
>>> a
>>> record about changing status, but the UI doesn't show the status
>>> correctly.
>>>  
>>>
>>> BJ Freeman wrote:
>>>> if you go to
>>>> https://demo.hotwaxmedia.com/webtools/control/LogView
>>>> use find on the browser you find this
>>>> 2008-10-30 23:09:06,041 (TP-Processor16) [ RequestHandler.java:238:INFO
>>>> ] [Processing Request]: UpdateInventoryItem
>>>> sessionId=981ACFE88B09A6DC8BD5683D856AA73F.jvm1
>>>> 2008-10-30 23:09:06,044 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>> ] For Service ECA [facilityGenericPermission] on [return] got false for
>>>> condition: [hasPermission][equals][false][true][Boolean]
>>>> 2008-10-30 23:09:06,078 (TP-Processor16) [ EntityEcaRule.java:117:INFO ]
>>>> Running Entity ECA Service: updateSerializedInventoryTotals, triggered
>>>> by rule on Entity: InventoryItem
>>>> 2008-10-30 23:09:06,080 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>>> condition: [oldStatusId][not-equals][statusId][false][String]
>>>> 2008-10-30 23:09:06,080 (TP-Processor16)
>>>> [ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
>>>> found in context for updateInventoryItem, defaulting to null.
>>>> 2008-10-30 23:09:06,081 (TP-Processor16) [ ServiceEcaRule.java:150:INFO
>>>> ] Running Service ECA Service: createInventoryItemStatus, triggered by
>>>> rule on Service: updateInventoryItem
>>>> 2008-10-30 23:09:06,113 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>>> condition: [oldOwnerPartyId][not-equals][ownerPartyId][false][String]
>>>> 2008-10-30 23:09:06,114 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>>> condition: [ownerPartyId][not-equals][oldOwnerPartyId][false][String]
>>>>
>>>>
>>>> wudongqing sent the following on 10/30/2008 8:23 PM:
>>>>> Hi ,
>>>>> I found a problem when updating inventory item status ID.
>>>>> here is the steps i did:
>>>>> 1,go to the catalog, fill in "GZ-2644" to inventory
>>>>> 2,click one inventory item id  "9001",the InventoryItem Type is
>>>>> NON_SERIALIZED,change the status id to "on hold" ,updated.
>>>>> 3,when to catalog, fill in the product id and go to the inventory again
>>>>> ,the
>>>>> inventory item status is still blank,
>>>>>
>>>>> Anyone can tell me is this a bug or the status should blank again? 
>>>>> Thanks a lot.
>>
> 

Re: inventoryItemStatus

Posted by wudongqing <do...@virtualvillage.com>.
https://demo.hotwaxmedia.com/webtools/control/ViewGeneric?entityName=InventoryItem&inventoryItemId=9001
But it does update the inventory item status,pls check.


BJ Freeman wrote:
> 
> the log shows
> {ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
> found in context for updateInventoryItem, defaulting to null.
> 
> that is why
> 
> wudongqing sent the following on 10/30/2008 9:23 PM:
>> thank you for reply
>> I know that the ECA runs createInventoryItemStatus service,and it created
>> a
>> record about changing status, but the UI doesn't show the status
>> correctly.
>>  
>> 
>> BJ Freeman wrote:
>>> if you go to
>>> https://demo.hotwaxmedia.com/webtools/control/LogView
>>> use find on the browser you find this
>>> 2008-10-30 23:09:06,041 (TP-Processor16) [ RequestHandler.java:238:INFO
>>> ] [Processing Request]: UpdateInventoryItem
>>> sessionId=981ACFE88B09A6DC8BD5683D856AA73F.jvm1
>>> 2008-10-30 23:09:06,044 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>> ] For Service ECA [facilityGenericPermission] on [return] got false for
>>> condition: [hasPermission][equals][false][true][Boolean]
>>> 2008-10-30 23:09:06,078 (TP-Processor16) [ EntityEcaRule.java:117:INFO ]
>>> Running Entity ECA Service: updateSerializedInventoryTotals, triggered
>>> by rule on Entity: InventoryItem
>>> 2008-10-30 23:09:06,080 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>> condition: [oldStatusId][not-equals][statusId][false][String]
>>> 2008-10-30 23:09:06,080 (TP-Processor16)
>>> [ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
>>> found in context for updateInventoryItem, defaulting to null.
>>> 2008-10-30 23:09:06,081 (TP-Processor16) [ ServiceEcaRule.java:150:INFO
>>> ] Running Service ECA Service: createInventoryItemStatus, triggered by
>>> rule on Service: updateInventoryItem
>>> 2008-10-30 23:09:06,113 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>> condition: [oldOwnerPartyId][not-equals][ownerPartyId][false][String]
>>> 2008-10-30 23:09:06,114 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>>> condition: [ownerPartyId][not-equals][oldOwnerPartyId][false][String]
>>>
>>>
>>> wudongqing sent the following on 10/30/2008 8:23 PM:
>>>> Hi ,
>>>> I found a problem when updating inventory item status ID.
>>>> here is the steps i did:
>>>> 1,go to the catalog, fill in "GZ-2644" to inventory
>>>> 2,click one inventory item id  "9001",the InventoryItem Type is
>>>> NON_SERIALIZED,change the status id to "on hold" ,updated.
>>>> 3,when to catalog, fill in the product id and go to the inventory again
>>>> ,the
>>>> inventory item status is still blank,
>>>>
>>>> Anyone can tell me is this a bug or the status should blank again? 
>>>> Thanks a lot.
>>>
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/inventoryItemStatus-tp20259630p20260201.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: inventoryItemStatus

Posted by BJ Freeman <bj...@free-man.net>.
the log shows
{ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
found in context for updateInventoryItem, defaulting to null.

that is why

wudongqing sent the following on 10/30/2008 9:23 PM:
> thank you for reply
> I know that the ECA runs createInventoryItemStatus service,and it created a
> record about changing status, but the UI doesn't show the status correctly.
>  
> 
> BJ Freeman wrote:
>> if you go to
>> https://demo.hotwaxmedia.com/webtools/control/LogView
>> use find on the browser you find this
>> 2008-10-30 23:09:06,041 (TP-Processor16) [ RequestHandler.java:238:INFO
>> ] [Processing Request]: UpdateInventoryItem
>> sessionId=981ACFE88B09A6DC8BD5683D856AA73F.jvm1
>> 2008-10-30 23:09:06,044 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>> ] For Service ECA [facilityGenericPermission] on [return] got false for
>> condition: [hasPermission][equals][false][true][Boolean]
>> 2008-10-30 23:09:06,078 (TP-Processor16) [ EntityEcaRule.java:117:INFO ]
>> Running Entity ECA Service: updateSerializedInventoryTotals, triggered
>> by rule on Entity: InventoryItem
>> 2008-10-30 23:09:06,080 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>> condition: [oldStatusId][not-equals][statusId][false][String]
>> 2008-10-30 23:09:06,080 (TP-Processor16)
>> [ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
>> found in context for updateInventoryItem, defaulting to null.
>> 2008-10-30 23:09:06,081 (TP-Processor16) [ ServiceEcaRule.java:150:INFO
>> ] Running Service ECA Service: createInventoryItemStatus, triggered by
>> rule on Service: updateInventoryItem
>> 2008-10-30 23:09:06,113 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>> condition: [oldOwnerPartyId][not-equals][ownerPartyId][false][String]
>> 2008-10-30 23:09:06,114 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
>> ] For Service ECA [updateInventoryItem] on [commit] got false for
>> condition: [ownerPartyId][not-equals][oldOwnerPartyId][false][String]
>>
>>
>> wudongqing sent the following on 10/30/2008 8:23 PM:
>>> Hi ,
>>> I found a problem when updating inventory item status ID.
>>> here is the steps i did:
>>> 1,go to the catalog, fill in "GZ-2644" to inventory
>>> 2,click one inventory item id  "9001",the InventoryItem Type is
>>> NON_SERIALIZED,change the status id to "on hold" ,updated.
>>> 3,when to catalog, fill in the product id and go to the inventory again
>>> ,the
>>> inventory item status is still blank,
>>>
>>> Anyone can tell me is this a bug or the status should blank again? 
>>> Thanks a lot.
>>
> 

Re: inventoryItemStatus

Posted by wudongqing <do...@virtualvillage.com>.
thank you for reply
I know that the ECA runs createInventoryItemStatus service,and it created a
record about changing status, but the UI doesn't show the status correctly.
 

BJ Freeman wrote:
> 
> if you go to
> https://demo.hotwaxmedia.com/webtools/control/LogView
> use find on the browser you find this
> 2008-10-30 23:09:06,041 (TP-Processor16) [ RequestHandler.java:238:INFO
> ] [Processing Request]: UpdateInventoryItem
> sessionId=981ACFE88B09A6DC8BD5683D856AA73F.jvm1
> 2008-10-30 23:09:06,044 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
> ] For Service ECA [facilityGenericPermission] on [return] got false for
> condition: [hasPermission][equals][false][true][Boolean]
> 2008-10-30 23:09:06,078 (TP-Processor16) [ EntityEcaRule.java:117:INFO ]
> Running Entity ECA Service: updateSerializedInventoryTotals, triggered
> by rule on Entity: InventoryItem
> 2008-10-30 23:09:06,080 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
> ] For Service ECA [updateInventoryItem] on [commit] got false for
> condition: [oldStatusId][not-equals][statusId][false][String]
> 2008-10-30 23:09:06,080 (TP-Processor16)
> [ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
> found in context for updateInventoryItem, defaulting to null.
> 2008-10-30 23:09:06,081 (TP-Processor16) [ ServiceEcaRule.java:150:INFO
> ] Running Service ECA Service: createInventoryItemStatus, triggered by
> rule on Service: updateInventoryItem
> 2008-10-30 23:09:06,113 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
> ] For Service ECA [updateInventoryItem] on [commit] got false for
> condition: [oldOwnerPartyId][not-equals][ownerPartyId][false][String]
> 2008-10-30 23:09:06,114 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
> ] For Service ECA [updateInventoryItem] on [commit] got false for
> condition: [ownerPartyId][not-equals][oldOwnerPartyId][false][String]
> 
> 
> wudongqing sent the following on 10/30/2008 8:23 PM:
>> Hi ,
>> I found a problem when updating inventory item status ID.
>> here is the steps i did:
>> 1,go to the catalog, fill in "GZ-2644" to inventory
>> 2,click one inventory item id  "9001",the InventoryItem Type is
>> NON_SERIALIZED,change the status id to "on hold" ,updated.
>> 3,when to catalog, fill in the product id and go to the inventory again
>> ,the
>> inventory item status is still blank,
>> 
>> Anyone can tell me is this a bug or the status should blank again? 
>> Thanks a lot.
> 
> 

-- 
View this message in context: http://www.nabble.com/inventoryItemStatus-tp20259630p20260059.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: inventoryItemStatus

Posted by BJ Freeman <bj...@free-man.net>.
if you go to
https://demo.hotwaxmedia.com/webtools/control/LogView
use find on the browser you find this
2008-10-30 23:09:06,041 (TP-Processor16) [ RequestHandler.java:238:INFO
] [Processing Request]: UpdateInventoryItem
sessionId=981ACFE88B09A6DC8BD5683D856AA73F.jvm1
2008-10-30 23:09:06,044 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
] For Service ECA [facilityGenericPermission] on [return] got false for
condition: [hasPermission][equals][false][true][Boolean]
2008-10-30 23:09:06,078 (TP-Processor16) [ EntityEcaRule.java:117:INFO ]
Running Entity ECA Service: updateSerializedInventoryTotals, triggered
by rule on Entity: InventoryItem
2008-10-30 23:09:06,080 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
] For Service ECA [updateInventoryItem] on [commit] got false for
condition: [oldStatusId][not-equals][statusId][false][String]
2008-10-30 23:09:06,080 (TP-Processor16)
[ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not
found in context for updateInventoryItem, defaulting to null.
2008-10-30 23:09:06,081 (TP-Processor16) [ ServiceEcaRule.java:150:INFO
] Running Service ECA Service: createInventoryItemStatus, triggered by
rule on Service: updateInventoryItem
2008-10-30 23:09:06,113 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
] For Service ECA [updateInventoryItem] on [commit] got false for
condition: [oldOwnerPartyId][not-equals][ownerPartyId][false][String]
2008-10-30 23:09:06,114 (TP-Processor16) [ ServiceEcaRule.java:133:INFO
] For Service ECA [updateInventoryItem] on [commit] got false for
condition: [ownerPartyId][not-equals][oldOwnerPartyId][false][String]


wudongqing sent the following on 10/30/2008 8:23 PM:
> Hi ,
> I found a problem when updating inventory item status ID.
> here is the steps i did:
> 1,go to the catalog, fill in "GZ-2644" to inventory
> 2,click one inventory item id  "9001",the InventoryItem Type is
> NON_SERIALIZED,change the status id to "on hold" ,updated.
> 3,when to catalog, fill in the product id and go to the inventory again ,the
> inventory item status is still blank,
> 
> Anyone can tell me is this a bug or the status should blank again? 
> Thanks a lot.

Re: inventoryItemStatus

Posted by BJ Freeman <bj...@free-man.net>.
#2 takes me to
https://demo.hotwaxmedia.com/facility/control/EditInventoryItem?inventoryItemId=9001
I don't see a status selection.


wudongqing sent the following on 10/30/2008 8:23 PM:
> Hi ,
> I found a problem when updating inventory item status ID.
> here is the steps i did:
> 1,go to the catalog, fill in "GZ-2644" to inventory
> 2,click one inventory item id  "9001",the InventoryItem Type is
> NON_SERIALIZED,change the status id to "on hold" ,updated.
> 3,when to catalog, fill in the product id and go to the inventory again ,the
> inventory item status is still blank,
> 
> Anyone can tell me is this a bug or the status should blank again? 
> Thanks a lot.

Re: inventoryItemStatus

Posted by BJ Freeman <bj...@free-man.net>.
sorry did not have my coffee. :D
checking now


wudongqing sent the following on 10/30/2008 8:23 PM:
> Hi ,
> I found a problem when updating inventory item status ID.
> here is the steps i did:
> 1,go to the catalog, fill in "GZ-2644" to inventory
> 2,click one inventory item id  "9001",the InventoryItem Type is
> NON_SERIALIZED,change the status id to "on hold" ,updated.
> 3,when to catalog, fill in the product id and go to the inventory again ,the
> inventory item status is still blank,
> 
> Anyone can tell me is this a bug or the status should blank again? 
> Thanks a lot.

Re: inventoryItemStatus

Posted by BJ Freeman <bj...@free-man.net>.
this closes
https://issues.apache.org/jira/browse/OFBIZ-2033

Bilgin Ibryam sent the following on 11/3/2008 2:02 AM:
> On Thu, 2008-10-30 at 20:23 -0700, wudongqing wrote:
>> Hi ,
>> I found a problem when updating inventory item status ID.
>> here is the steps i did:
>> 1,go to the catalog, fill in "GZ-2644" to inventory
>> 2,click one inventory item id  "9001",the InventoryItem Type is
>> NON_SERIALIZED,change the status id to "on hold" ,updated.
>> 3,when to catalog, fill in the product id and go to the inventory again ,the
>> inventory item status is still blank,
>>
>> Anyone can tell me is this a bug or the status should blank again? 
>> Thanks a lot.
> 
> Fixed in trunk r710030.
> 
> Bilgin
> 
> 
> 

Re: inventoryItemStatus

Posted by Bilgin Ibryam <bi...@iguanait.com>.
On Thu, 2008-10-30 at 20:23 -0700, wudongqing wrote:
> Hi ,
> I found a problem when updating inventory item status ID.
> here is the steps i did:
> 1,go to the catalog, fill in "GZ-2644" to inventory
> 2,click one inventory item id  "9001",the InventoryItem Type is
> NON_SERIALIZED,change the status id to "on hold" ,updated.
> 3,when to catalog, fill in the product id and go to the inventory again ,the
> inventory item status is still blank,
> 
> Anyone can tell me is this a bug or the status should blank again? 
> Thanks a lot.

Fixed in trunk r710030.

Bilgin