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. >> >
