You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2013/10/18 19:44:42 UTC

[jira] [Closed] (OFBIZ-5351) Incorrect accountingQuantityTotal calculation in createAcctgTransForSalesShipmentIssuance

     [ https://issues.apache.org/jira/browse/OFBIZ-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-5351.
----------------------------------

    Resolution: Duplicate

Closed as duplicate, as Christian Carlow said (adapted):
{quote}
The patch in OFBIZ-5359 is simpler.
{quote}


> Incorrect accountingQuantityTotal calculation in createAcctgTransForSalesShipmentIssuance
> -----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5351
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5351
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 12.04
>            Reporter: Christian Carlow
>            Assignee: Jacopo Cappellato
>         Attachments: GeneralLedgerServices.xml.patch
>
>
> The accountingQuantityTotal is calculated incorrectly in createAcctgTransForSalesShipmentIssuance.  
> To reproduce:
> 1.  Create an order for DemoCustCompany.
> 2.  Add the product PEPPERS-G with a quantity of 100
> 3.  Create one ship group and assign the order item quantity to it
> 4.  Choose Facility in the Application menu
> 5.  Select the "WebStoreWarehouse" facility and click submit.
> 6.  Click the "Receive Inventory" tab
> 7.  Assign the Product ID to "PEPPERS-G" and click the "Receive Product" button
> 8.  Click the "Receive" button to receive a quantity of 1 into inventory
> 9.  Go back to the order created and click "New Shipment for Ship Group"
> 10.  Click the "Orders Items" option
> 11.  Issue a quantity of 1 for the PEPPERS-G order item
> 12.  Issue another quantity of 1 for the PEPPERS-G order item
> Step 12 should throw an error that there it not enough Accounting Inventory to perform the operation but instead updates the increments the accountingQuantityTotal of the corresponding InventoryItem and decrements the corresponding orderItemShipGroupInvRes quantityNotAvailable field.



--
This message was sent by Atlassian JIRA
(v6.1#6144)