inventoryItemStatus

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

inventoryItemStatus

wudongqing-2
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.
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

BJ Freeman
#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.
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

BJ Freeman
In reply to this post by wudongqing-2
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.
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

BJ Freeman
In reply to this post by wudongqing-2
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.
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

wudongqing-2
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.
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

BJ Freeman
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.
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

wudongqing-2
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.
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

BJ Freeman
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.
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

BJ Freeman
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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

Bilgin Ibryam
In reply to this post by wudongqing-2
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

Reply | Threaded
Open this post in threaded view
|

Re: inventoryItemStatus

BJ Freeman
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
>
>
>