Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023741Openbravo ERP09. Financial managementpublic2013-05-06 11:212013-09-02 06:27
VictorVillar 
dmiguelez 
urgentmajoralways
closedfixed 
5
pi 
3.0MP24 
Sandrahuguet
Core
No
0023741: The status of a warehouse transaction should be 'NC' (no cost) when posting without cost calculated yet
The status of a warehouse transaction should be 'NC' (no cost) when posting without cost calculated yet.

The problem is that the DocInOut.java throws an IllegalStateException() exception, and the AcctServer.java Line: 695 (catch exception) always set the Status = Error, replacing the status set before by the DocInOut.java (STATUS_NotCalculatedCost = 'NC')
As group Admin role,
Go to Process request window,
  Unschedule Acct Server process and Costing Background processes.

Go to Good Shipment window,
  Create a new register for F&B US. organization
  Lines tab:
    Create a new register for Cola
    qty: 1
Complete it.

Launch the Acct server process.
Realise that the Goods Shipment document has ERROR status, and the Acct server will not take into account this document any more.

It is necessary to check the same for the all warehouse transactions which coudl be posted in the Application
No tags attached.
related to defect 00250403.0PR14Q2 closed AtulOpenbravo The posting status of matched invoices should change after calculating the Goods Receipt cost 
Issue History
2013-05-06 11:21VictorVillarNew Issue
2013-05-06 11:21VictorVillarAssigned To => dmiguelez
2013-05-06 11:21VictorVillarModules => Core
2013-05-06 11:21VictorVillarResolution time => 1370383200
2013-05-06 11:21VictorVillarTriggers an Emergency Pack => No
2013-05-06 11:21VictorVillarIssue Monitored: networkb
2013-05-06 11:24dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-05-06 11:24VictorVillarAssigned Tojonalegriaesarte => dmiguelez
2013-05-06 11:24VictorVillarSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4668#r4668
2013-05-06 11:51dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-05-13 17:28dmiguelezAssigned Tojonalegriaesarte => dmiguelez
2013-05-23 15:29hgbotCheckin
2013-05-23 15:29hgbotNote Added: 0058907
2013-05-23 15:29hgbotStatusnew => resolved
2013-05-23 15:29hgbotResolutionopen => fixed
2013-05-23 15:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8d3c284d86d95477659c92eed9b990da66acfac6 [^]
2013-05-23 15:33SandrahuguetReview Assigned To => Sandrahuguet
2013-05-23 15:33SandrahuguetNote Added: 0058908
2013-05-23 15:33SandrahuguetStatusresolved => closed
2013-05-24 01:19hudsonbotCheckin
2013-05-24 01:19hudsonbotNote Added: 0058922
2013-09-02 06:27anherzogIssue Monitored: anherzog
2013-10-29 10:56VictorVillarRelationship addedrelated to 0025040

Notes
(0058907)
hgbot   
2013-05-23 15:29   
Repository: erp/devel/pi
Changeset: 8d3c284d86d95477659c92eed9b990da66acfac6
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed May 22 10:36:43 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8d3c284d86d95477659c92eed9b990da66acfac6 [^]

Fixes Issue 23741. When the Cost of a Transaction is calculated
the related Document is set to Not Posted if it was not posted previously.

---
M src/org/openbravo/costing/CostingServer.java
M src/org/openbravo/erpCommon/ad_forms/DocInOut.java
---
(0058908)
Sandrahuguet   
2013-05-23 15:33   
Code review + testing OK
(0058922)
hudsonbot   
2013-05-24 01:19   
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/758b27652865 [^]

Maturity status: Test