Ankit, I also thought & tried the same.. But the problem is ,,,,,,,,,,,,, I don't have inventoryItemId. So, Based on the product Id i get multiple records from the inventoryItem table. So from multiple records, which inventoryItemId i can use to pass in the createInventoryItemDetail table ???? ----- Original Message ----- From: Ankit Jain [via OFBiz] To: devalpatel Sent: Friday, May 04, 2012 10:08 PM Subject: Re: what is accountingQuantityTotal in InventoryItem entity?
Hi Deval, Yes I got your problem, and you can achieve this by writing a service and expose it as a webservice by doing export=true and pass the required parameter which will create a InventoryItemDetail record for the ordered Product inventory. You have productId and the quantity you want to deduct, fetch inventoryItem for that product and then just use the service createInventoryItemDetail for creating the record and pass the required parameter like, inventoryItemId(mandatory), availableToPromiseDiff, quantityOnHandDiff. Regards, Ankit Jain On Fri, May 4, 2012 at 9:47 PM, devalpatel <[hidden email]> wrote: > Ankit, > > Thanks a lot for your help. > > But Below is our process : > > 1) Inventory added in ofBiz using Facility->Receive inventory > 2) Using webservice the inventory send to external app > 3) When any order for that product, the ordered product quantity will be > send to ofBiz for deducting to keep the external app n ofbiz inventory in > sync > 4) I want to deduct the received ordered quantity in the inventory. (the > facility is predefined for the external app). > > Hope this clearly explain my actual problem. > > > > > > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/what-is-accountingQuantityTotal-in-InventoryItem-entity-tp4608258p4609060.html > Sent from the OFBiz - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ If you reply to this email, your message will be added to the discussion below: http://ofbiz.135035.n4.nabble.com/what-is-accountingQuantityTotal-in-InventoryItem-entity-tp4608258p4609115.html To unsubscribe from what is accountingQuantityTotal in InventoryItem entity?, click here. NAML -- View this message in context: http://ofbiz.135035.n4.nabble.com/what-is-accountingQuantityTotal-in-InventoryItem-entity-tp4608258p4609206.html Sent from the OFBiz - User mailing list archive at Nabble.com.
