[ 
http://issues.apache.org/jira/browse/OFBIZ-481?page=comments#action_12451815 ] 
            
Iain Fogg commented on OFBIZ-481:
---------------------------------

Chris's (1) hits the nail on the head. For me, that means that OFBiz should be 
very cautious about hard-coded business rules in its service implementations 
(generally this is the case). For PO reception, that means if I say there are 3 
units of a product when the order only says 2, then this is because 
(presumably) I've got 3 items and they are invoiced by the supplier. If I got 3 
items but the supplier invoice said 2, then I should issue 2 to the shipment 
and handle the 3rd after the event (see my point (2) above).

The downside of this implementation (allowing more items to be issued to a 
shipment than on the order) is that QuickReceive would break, except in the 
case where you have an order that you know has exactly the right number of 
items.

One thing I've noticed (and come up against) when receiving a large order is 
that I get (say) 2 units of item A for which I have ordered 2 units, I issue 
them to the shipment, receive the shipment, and continue processing (in this 
case, I am receiving the product in one box at a time). If the supplier invoice 
signaled that there was 3 in the order, I could handle that by putting the 
first 2 items aside and waiting for the 3rd to show up, however, it would be 
nice to be able to issue the first 2, receive them, and when the 3rd shows up, 
issue and receive that. Unfortunately, the item issue screen won't let you 
issue additional items once you reached the number on the order. Maybe an 
enhancement request...


> Over issuance on PO fails
> -------------------------
>
>                 Key: OFBIZ-481
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-481
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Iain Fogg
>         Attachments: InvoiceServices.patch
>
>
> If you issue more items on a Purchase Order than was ordered (or remains to 
> be billed), an execption is generated when trying to generate the invoice.
> The patch attached does 2 things (a) it tests for over-issuance on a purchase 
> order, and (b) it asserts that if we issued more items than we ordered, then 
> it means we are in a over-supply situation with our supplier. It seems that 
> the correct course should be to invoice for the actual amount of items 
> received, and offline address the over-supply with the supplier. There are 
> many possibilities at this point, but if OFBiz has recorded that we have the 
> items in inventory and that we've been invoiced for them, then that seems 
> like a good place to start from.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to