ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJ Freeman <bjf...@free-man.net>
Subject Re: After Receiving, user refreshes page, receive is repeated.
Date Mon, 14 Jun 2010 22:48:09 GMT
my code is driven by the open PO's
so when complete an Item or po it returns to a tree of po's with tree of 
items under it.
if they click on the po then all the itmes are recieved
if they click on an item then only the item is recieved.

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

James McGill sent the following on 6/14/2010 3:04 PM:
> On Mon, Jun 14, 2010 at 2:28 PM, BJ Freeman<bjfree@free-man.net>  wrote:
>> on success return "complete" and have a summary page?
> I think that's what the application (9.04) does, but refreshing the summary
> page causes the form to be submitted again, which causes two problems:
> 1.  The inventory items are created again, and
> 2.  The order item quantity is adjusted up to match.
> For now, I'm trying a workaround, where I'm adding orderItemSeqId to the
> parameters for receiveInventoryProduct, so that I can lookup the item's
> status and not receive it if it's completed.  I'm trying that because I'm
> desperate to make this problem stop, not because I think it's a good fix.

View raw message