Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031444Openbravo ERP04. Warehouse managementpublic2015-11-12 10:212015-11-12 11:11
psanjuan 
Triage Omni WMS 
urgentmajoralways
newopen 
20Ubuntu 8.04.1
 
 
Core
No
0031444: Landed Cost - Not possible to partially match a negative landed cost
Landed Cost - Not possible to partially match a negative landed cost
In F&B International Group, F&B España org.

Go to product window and create a new product named "Negative Landed Cost" for F&B España. Go to price tab and select "Tarifa Bebidas Alegres". Enter a net/list price = 100.00

Go to G/L item window and create a new one named "Customs", select "Enable in Financial Invoices" check and enter a Tax Category, for instance "Exempt". Save.

Go to landed cost type window and create a new one named "customs", select Distribution by Amount in the field Landed Cost Distribution Algorithm. Select the account "customs" (that is the G/L item).

Go to purchase order and create a new one for F&B España, for the product "Negative Landed Cost" enter 1 unit of the product. Book the order.

Go to Goods Receipt and receipt that 1 unit of the product in a warehouse. Complete the goods receipt.

Execute costing background process if needed so there is no doubt that the cost of the product "Negative landed cost" is calculated.

Go to landed cost window and create a new one for F&B España. In Cost tab select "customs" landed cost type and enter an amount of -11.00.
Go to Receipts tab and select the goods receipt previously created.
Complete landed cost tab and check that a cost adjustment has been created for the product, for an amount o -11.00 (this can be checked in the Cost Adjustment window).

Go to purchase invoice and create a new invoice for F&B España. Select the goods receipt by using "Create Lines From" button.

Add a financial invoice line, select the account "Customs" and add a quantity of -1 at a price of 11.00

Complete the invoice. Do not use credit if any.

Go to"Customs" item invoice line and check that "Match LC Costs" is shown.
Click on that button. Select the line related to "Customs" landed cost type for a "LC Cost Amount" = -11. Enter a Matched Amt of = -5.00. Press Done.

Check that below error is shown.

It is not possible to match more amount than the invoice's Line Net Amount (-11.00), because it is not properly managing negative values.
It should be possible to partially match a negative landed cost amount.
No tags attached.
png 31444.png (44,170) 2015-11-12 11:11
https://issues.openbravo.com/file_download.php?file_id=8714&type=bug
png
Issue History
2015-11-12 10:21psanjuanNew Issue
2015-11-12 10:21psanjuanAssigned To => Triage Finance
2015-11-12 10:21psanjuanModules => Core
2015-11-12 10:21psanjuanTriggers an Emergency Pack => No
2015-11-12 11:01psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10177#r10177
2015-11-12 11:02psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10178#r10178
2015-11-12 11:02psanjuanProposed Solution updated
2015-11-12 11:11psanjuanFile Added: 31444.png

There are no notes attached to this issue.