I am having a problem receiving inventory. When i receive inventory from the "product - inventory page the Facility - inventory page and the product - inventory pages do not reflect the available inventory, but the inventory items detail does. I created a Jira 2198 but i'm guessing that i am doing something wrong. I tested on the demo site as well and got the same result.
|
Seems related to commit 741423
Also i noticed that all inventories on the demo site are 0/0 but the inventory items are showing inventory
|
Administrator
|
Why do you say that? How did you deduce that ? Have you any clues ?
Please help us to help you Thanks Jacques From: "murp3433" <[hidden email]> > > Seems related to commit 741423 > > > > murp3433 wrote: >> >> I am having a problem receiving inventory. When i receive inventory from >> the "product - inventory page the Facility - inventory page and the >> product - inventory pages do not reflect the available inventory, but the >> inventory items detail does. I created a Jira 2198 but i'm guessing that i >> am doing something wrong. I tested on the demo site as well and got the >> same result. >> > > -- > View this message in context: http://www.nabble.com/Inventory-problems-tp22182635p22203452.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
The only reason i mentioned that revision is that it was the only recent commit that directly influenced inventory. I'm not a Java developer so i'm not saying anything is wrong wit it, it was just something i noticed so please dont think i am critiquing anyone elses code.
I'm sorry if i'm not being clear, ill try again. If i go to the 4.0 demo and receive inventory from the product -> inventory tab under inventory summary next to the facility it reflects the sum of all inventory items. If i do the same in the trunk demo it does not. It shows that there is "0" on hand. If you then try to purchase the product in the ecommerce store it will say that there is not enough inventory (If require inventory is set to yes). If i am doing something wrong please let me know.
|
Administrator
|
From: "murp3433" <[hidden email]>
> > The only reason i mentioned that revision is that it was the only recent > commit that directly influenced inventory. I'm not a Java developer so i'm > not saying anything is wrong wit it, it was just something i noticed so > please dont think i am critiquing anyone elses code. > > I'm sorry if i'm not being clear, ill try again. Good reaction (I'm also a great "digressor", often off of topic, can't manage it : nature :o) > If i go to the 4.0 demo and receive inventory from the product -> inventory > tab under inventory summary next to the facility it reflects the sum of all > inventory items. If i do the same in the trunk demo it does not. It shows > that there is "0" on hand. If you then try to purchase the product in the > ecommerce store it will say that there is not enough inventory (If require > inventory is set to yes). If i am doing something wrong please let me know. Thanks, I will have a look at it tomorrow morning. I saw you created a Jira issue we will use it to communicate on this subject if needed... Jacques > > > > jacques.le.roux wrote: >> >> Why do you say that? How did you deduce that ? Have you any clues ? >> >> Please help us to help you >> >> Thanks >> >> Jacques >> >> From: "murp3433" <[hidden email]> >>> >>> Seems related to commit 741423 >>> >>> >>> >>> murp3433 wrote: >>>> >>>> I am having a problem receiving inventory. When i receive inventory from >>>> the "product - inventory page the Facility - inventory page and the >>>> product - inventory pages do not reflect the available inventory, but >>>> the >>>> inventory items detail does. I created a Jira 2198 but i'm guessing that >>>> i >>>> am doing something wrong. I tested on the demo site as well and got the >>>> same result. >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Inventory-problems-tp22182635p22203452.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >> >> > > -- > View this message in context: http://www.nabble.com/Inventory-problems-tp22182635p22209954.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Thanks!
|
Administrator
|
I had a quick look. But to understand your problem we will need much more details, ie all the steps you used...
Try to describe them will all the relevant details and we should be able to help you. Don't neglict any aspects from the start to the end, in other words: help us to help you Jacques From: "murp3433" <[hidden email]> > > Thanks! > > > > jacques.le.roux wrote: >> >> From: "murp3433" <[hidden email]> >>> >>> The only reason i mentioned that revision is that it was the only recent >>> commit that directly influenced inventory. I'm not a Java developer so >>> i'm >>> not saying anything is wrong wit it, it was just something i noticed so >>> please dont think i am critiquing anyone elses code. >>> >>> I'm sorry if i'm not being clear, ill try again. >> >> Good reaction (I'm also a great "digressor", often off of topic, can't >> manage it : nature :o) >> >>> If i go to the 4.0 demo and receive inventory from the product -> >>> inventory >>> tab under inventory summary next to the facility it reflects the sum of >>> all >>> inventory items. If i do the same in the trunk demo it does not. It shows >>> that there is "0" on hand. If you then try to purchase the product in the >>> ecommerce store it will say that there is not enough inventory (If >>> require >>> inventory is set to yes). If i am doing something wrong please let me >>> know. >> >> Thanks, I will have a look at it tomorrow morning. >> I saw you created a Jira issue we will use it to communicate on this >> subject if needed... >> >> Jacques >> >>> >>> >>> >>> jacques.le.roux wrote: >>>> >>>> Why do you say that? How did you deduce that ? Have you any clues ? >>>> >>>> Please help us to help you >>>> >>>> Thanks >>>> >>>> Jacques >>>> >>>> From: "murp3433" <[hidden email]> >>>>> >>>>> Seems related to commit 741423 >>>>> >>>>> >>>>> >>>>> murp3433 wrote: >>>>>> >>>>>> I am having a problem receiving inventory. When i receive inventory >>>>>> from >>>>>> the "product - inventory page the Facility - inventory page and the >>>>>> product - inventory pages do not reflect the available inventory, but >>>>>> the >>>>>> inventory items detail does. I created a Jira 2198 but i'm guessing >>>>>> that >>>>>> i >>>>>> am doing something wrong. I tested on the demo site as well and got >>>>>> the >>>>>> same result. >>>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/Inventory-problems-tp22182635p22203452.html >>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>> >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Inventory-problems-tp22182635p22209954.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >> >> > > -- > View this message in context: http://www.nabble.com/Inventory-problems-tp22182635p22213110.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Ok, I log in as admin, go to catalog - Item id: GZ-1004 click on facilities tab and add web store warehouse.
Then click on inventory and next to web store wharehouse i clicked receive inventory. Then Receive products (Product ID already filled in) Fill In owner, Item description, Location and quanity (1000) Click receive. Now if you go back to the product the inventory for that product reads WebStore Warehouse ATP 0 QOH 0 But the inventory items below show the received quanity. If you go to the 4.0 demo and do the same thing the Web Store Warehouse reflects the 1000 that was added. Also i notice that every product on the trunk demo site has an inventory level of 0/0 even though the inventory items show that there is a positive inventory
|
In reply to this post by murp3433
I think I got Murphy's problem. The problem is in
getProductInventoryAvailable(InventoryServices.xml). If I clean this part of code : <entity-and entity-name="InventoryItem" list="inventoryItems" use-cache="${parameters.useCache}"> <field-map field-name="inventoryItemId" from-field="parameters.inventoryItemId"/> <field-map field-name="productId" from-field="parameters.productId"/> <field-map field-name="facilityId" from-field="parameters.facilityId"/> <field-map field-name="locationSeqId" from-field="parameters.locationSeqId"/> <field-map field-name="containerId" from-field="parameters.containerId"/> <use-iterator/> </entity-and> and add : <if-compare field="parameters.useCache" operator="equals" value="true" type="Boolean"> <find-by-and entity-name="InventoryItem" map="lookupFieldMap" list="inventoryItems" use-iterator="true" use-cache="true"/> <else> <find-by-and entity-name="InventoryItem" map="lookupFieldMap" list="inventoryItems" use-iterator="true" use-cache="false"/> </else> </if-compare> then its working perfectly. ATP and QOH are not showing 0/0.Please let me know If I can help further. Thanks -Kathy jacques.le.roux wrote: > > I had a quick look. But to understand your problem we will need much more > details, ie all the steps you used... > Try to describe them will all the relevant details and we should be able > to help you. Don't neglict any aspects from the start to > the end, in other words: help us to help you > > Jacques > > From: "murp3433" <[hidden email]> <[hidden email]> >> >> Thanks! >> >> >> >> jacques.le.roux wrote: >>> >>> From: "murp3433" <[hidden email]> <[hidden email]> >>>> >>>> The only reason i mentioned that revision is that it was the only >>>> recent >>>> commit that directly influenced inventory. I'm not a Java developer so >>>> i'm >>>> not saying anything is wrong wit it, it was just something i noticed so >>>> please dont think i am critiquing anyone elses code. >>>> >>>> I'm sorry if i'm not being clear, ill try again. >>> >>> Good reaction (I'm also a great "digressor", often off of topic, can't >>> manage it : nature :o) >>> >>>> If i go to the 4.0 demo and receive inventory from the product -> >>>> inventory >>>> tab under inventory summary next to the facility it reflects the sum of >>>> all >>>> inventory items. If i do the same in the trunk demo it does not. It >>>> shows >>>> that there is "0" on hand. If you then try to purchase the product in >>>> the >>>> ecommerce store it will say that there is not enough inventory (If >>>> require >>>> inventory is set to yes). If i am doing something wrong please let me >>>> know. >>> >>> Thanks, I will have a look at it tomorrow morning. >>> I saw you created a Jira issue we will use it to communicate on this >>> subject if needed... >>> >>> Jacques >>> >>>> >>>> >>>> >>>> jacques.le.roux wrote: >>>>> >>>>> Why do you say that? How did you deduce that ? Have you any clues ? >>>>> >>>>> Please help us to help you >>>>> >>>>> Thanks >>>>> >>>>> Jacques >>>>> >>>>> From: "murp3433" <[hidden email]> <[hidden email]> >>>>>> >>>>>> Seems related to commit 741423 >>>>>> >>>>>> >>>>>> >>>>>> murp3433 wrote: >>>>>>> >>>>>>> I am having a problem receiving inventory. When i receive inventory >>>>>>> from >>>>>>> the "product - inventory page the Facility - inventory page and the >>>>>>> product - inventory pages do not reflect the available inventory, >>>>>>> but >>>>>>> the >>>>>>> inventory items detail does. I created a Jira 2198 but i'm guessing >>>>>>> that >>>>>>> i >>>>>>> am doing something wrong. I tested on the demo site as well and got >>>>>>> the >>>>>>> same result. >>>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> http://www.nabble.com/Inventory-problems-tp22182635p22203452.html >>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Inventory-problems-tp22182635p22209954.html >>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>> >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Inventory-problems-tp22182635p22213110.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> > > > > -- View this message in context: http://www.nabble.com/Inventory-problems-tp22182635p22230403.html Sent from the OFBiz - User mailing list archive at Nabble.com. |
Administrator
|
I had a look but, could you open a jira issue a submit a patch please ? It will be much clear and is the normal way of exchanging
about code http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices Thanks Jacques From: "Kathy jones" <[hidden email]> >I think I got Murphy's problem. The problem is in > getProductInventoryAvailable(InventoryServices.xml). If I clean this > part of code : > > > <entity-and entity-name="InventoryItem" list="inventoryItems" > use-cache="${parameters.useCache}"> > <field-map field-name="inventoryItemId" > from-field="parameters.inventoryItemId"/> > > <field-map field-name="productId" > from-field="parameters.productId"/> > <field-map field-name="facilityId" > from-field="parameters.facilityId"/> > > <field-map field-name="locationSeqId" > from-field="parameters.locationSeqId"/> > <field-map field-name="containerId" > from-field="parameters.containerId"/> > > <use-iterator/> > </entity-and> > > and add : > <if-compare field="parameters.useCache" operator="equals" value="true" > type="Boolean"> > <find-by-and entity-name="InventoryItem" > map="lookupFieldMap" list="inventoryItems" use-iterator="true" > use-cache="true"/> > > <else> > <find-by-and entity-name="InventoryItem" > map="lookupFieldMap" list="inventoryItems" use-iterator="true" > use-cache="false"/> > > </else> > </if-compare> > > > then its working perfectly. ATP and QOH are not showing 0/0.Please let > me know If I can help further. > > Thanks > -Kathy > > > > jacques.le.roux wrote: > >> >> I had a quick look. But to understand your problem we will need much more >> details, ie all the steps you used... > >> Try to describe them will all the relevant details and we should be able >> to help you. Don't neglict any aspects from the start to > >> the end, in other words: help us to help you >> >> Jacques >> > >> From: "murp3433" <[hidden email]> <[hidden email]> > >>> >>> Thanks! >>> >>> >>> > >>> jacques.le.roux wrote: > >>>> >>>> From: "murp3433" <[hidden email]> <[hidden email]> > >>>>> >>>>> The only reason i mentioned that revision is that it was the only >>>>> recent > >>>>> commit that directly influenced inventory. I'm not a Java developer so >>>>> i'm >>>>> not saying anything is wrong wit it, it was just something i noticed so > >>>>> please dont think i am critiquing anyone elses code. >>>>> >>>>> I'm sorry if i'm not being clear, ill try again. > >>>> >>>> Good reaction (I'm also a great "digressor", often off of topic, can't > >>>> manage it : nature :o) >>>> > >>>>> If i go to the 4.0 demo and receive inventory from the product -> > >>>>> inventory >>>>> tab under inventory summary next to the facility it reflects the sum of >>>>> all > >>>>> inventory items. If i do the same in the trunk demo it does not. It >>>>> shows >>>>> that there is "0" on hand. If you then try to purchase the product in > >>>>> the >>>>> ecommerce store it will say that there is not enough inventory (If >>>>> require > >>>>> inventory is set to yes). If i am doing something wrong please let me >>>>> know. > >>>> > >>>> Thanks, I will have a look at it tomorrow morning. >>>> I saw you created a Jira issue we will use it to communicate on this > >>>> subject if needed... >>>> >>>> Jacques >>>> > >>>>> >>>>> >>>>> >>>>> jacques.le.roux wrote: > >>>>>> >>>>>> Why do you say that? How did you deduce that ? Have you any clues ? > >>>>>> >>>>>> Please help us to help you >>>>>> >>>>>> Thanks > >>>>>> >>>>>> Jacques >>>>>> >>>>>> From: "murp3433" <[hidden email]> <[hidden email]> > >>>>>>> >>>>>>> Seems related to commit 741423 >>>>>>> > >>>>>>> >>>>>>> >>>>>>> murp3433 wrote: > >>>>>>>> >>>>>>>> I am having a problem receiving inventory. When i receive inventory >>>>>>>> from > >>>>>>>> the "product - inventory page the Facility - inventory page and the >>>>>>>> product - inventory pages do not reflect the available inventory, > >>>>>>>> but >>>>>>>> the >>>>>>>> inventory items detail does. I created a Jira 2198 but i'm guessing > >>>>>>>> that >>>>>>>> i >>>>>>>> am doing something wrong. I tested on the demo site as well and got > >>>>>>>> the >>>>>>>> same result. >>>>>>>> > >>>>>>> >>>>>>> -- >>>>>>> View this message in context: > >>>>>>> http://www.nabble.com/Inventory-problems-tp22182635p22203452.html > >>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>>>> > >>>>>> > >>>>>> >>>>>> > >>>>> >>>>> -- > >>>>> View this message in context: >>>>> http://www.nabble.com/Inventory-problems-tp22182635p22209954.html > >>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>> > >>>> > >>>> >>>> > >>> >>> -- > >>> View this message in context: >>> http://www.nabble.com/Inventory-problems-tp22182635p22213110.html > >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> > >> > >> >> >> > > > -- > View this message in context: > http://www.nabble.com/Inventory-problems-tp22182635p22230403.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |