Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027847Openbravo ERP04. Warehouse managementpublic2014-10-13 10:052014-12-30 23:23
psanjuan 
umartirena 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
 
Core
No
0027847: Error - It is not possible to match more amount than the invoice's Line Net Amount.
Error - It is not possible to match more amount than the invoice's Line Net Amount.

This error is shown whenever landed cost is created for "main" organization and then is matched against a purchase invoice created for any organization rather than main.
Go to profile and select "QA Testing Admin" role and (*) as Organization. Set as default. Apply.

Navigate to Landed Cost window and create a new one for Organization Main (by mistake).

Go to Cost tab and select a landed cost type. Enter an amount of 875 by example.
Go to Receipt tab and select a receipt.
Process landed cost.

In our example landed cost number is 1000013

Go to purchase invoice window and create a new one for Spain organization. Enter a financial invoice by selecting same account (G/L item) than the landed cost type
Enter an amount of 875
Complete the invoice.

From lines press the button Match LC Cost, realize that landed cost with number 1000013 is shown and can be selected. Select it. Enter an amount of 500.
Select also checks "is matching adjusted"
Realize that below error is shown:
It is not possible to match more amount than the invoice's Line Net Amount (0).

See image attached.

It should not be possible to create landed cost for organizations that do not allow transactions as it is not possible to create purchase invoices to match landed cost against
No tags attached.
png issue_27847.png (86,031) 2014-10-13 10:06
https://issues.openbravo.com/file_download.php?file_id=7350&type=bug
png
Issue History
2014-10-13 10:05psanjuanNew Issue
2014-10-13 10:05psanjuanAssigned To => dmiguelez
2014-10-13 10:05psanjuanModules => Core
2014-10-13 10:05psanjuanTriggers an Emergency Pack => No
2014-10-13 10:06psanjuanFile Added: issue_27847.png
2014-10-13 10:07psanjuanProposed Solution updated
2014-10-13 10:08psanjuanAssigned Todmiguelez => eduardo_Argal
2014-10-28 13:43psanjuanAssigned Toeduardo_Argal => umartirena
2014-10-29 18:39hgbotCheckin
2014-10-29 18:39hgbotNote Added: 0071257
2014-10-29 18:39hgbotStatusnew => resolved
2014-10-29 18:39hgbotResolutionopen => fixed
2014-10-29 18:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f107db775c714dc733cc75d4a8714a5dea222953 [^]
2014-10-29 18:41umartirenaNote Added: 0071258
2014-10-30 14:48psanjuanNote Added: 0071274
2014-10-30 14:48psanjuanProposed Solution updated
2014-10-30 14:48psanjuanStatusresolved => closed
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0073002

Notes
(0071257)
hgbot   
2014-10-29 18:39   
Repository: erp/devel/pi
Changeset: f107db775c714dc733cc75d4a8714a5dea222953
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Oct 29 17:39:58 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f107db775c714dc733cc75d4a8714a5dea222953 [^]

Fixes bug 27847: Dont allow the creation of Landed Cost for not Legal Entity org

The Window Type of Landed Cost window has been changed from 'Maintain' to 'Transaction'. So this window only could be used for transactional organizations.

---
M src-db/database/sourcedata/AD_WINDOW.xml
---
(0071258)
umartirena   
2014-10-29 18:41   
The error shown in the image is not a bug, is an error displayed when Line Net Amount of the Invoice Line is 0.00. The Line Net Amount should be different to 0.00 in order to be able to Match with a Landed Cost.
(0071274)
psanjuan   
2014-10-30 14:48   
Verified. landed Cost documents can now be created only for organizations (legal entities and generic) that allows transactions entering.
(0073002)
hudsonbot   
2014-12-30 23:23   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test