Openbravo Issue Tracking System - Modules
View Issue Details
0021921ModulesInitial data loadpublic2012-10-11 17:162012-12-14 09:25
caristu 
ioritzCia 
urgentmajoralways
closedfixed 
5
 
 
ioritzCia
0021921: Import Stock is not working properly
Importing stock is not working properly. The following error appears: "No process or more than one process found using procedure name M_Inventory_Post"
1) Go to [Import] window

2) Select the attached .csv

3) Check that validate works fine

4) Select the attached .csv again and click in Process
The error is thrown by the CallProcess class with the call method in the following line:

    if (processCriteria.list().size() != 1) {
      throw new OBException("No process or more than one process found using procedurename "
          + processName);

This is because is not finding the process.
If in [Report and Process] window we look for the process with name =
"Process Inventory Count" and fill the Procedure field with this string: M_Inventory_Post the problem gets resolved because the method now find the process.
No tags attached.
has duplicate defect 0036204 closed collazoandy4 IDL Not processing correctly Physical Inventories 
csv StockError.csv (1,081) 2012-10-11 17:18
https://issues.openbravo.com/file_download.php?file_id=5647&type=bug
Issue History
2012-10-11 17:16caristuNew Issue
2012-10-11 17:16caristuAssigned To => mirurita
2012-10-11 17:17caristuNote Added: 0053315
2012-10-11 17:18caristuIssue Monitored: networkb
2012-10-11 17:18caristuFile Added: StockError.csv
2012-10-20 08:44jonalegriaesarteAssigned Tomirurita => ioritzCia
2012-11-14 18:59caristuProposed Solution updated
2012-11-15 09:29hgbotCheckin
2012-11-15 09:29hgbotNote Added: 0054250
2012-11-15 09:29hgbotStatusnew => resolved
2012-11-15 09:29hgbotResolutionopen => fixed
2012-11-15 09:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ee6d1fc1ea73c2bd466b1febe304b3a04bee0e51 [^]
2012-11-20 11:15hgbotCheckin
2012-11-20 11:15hgbotNote Added: 0054337
2012-11-21 06:07hudsonbotCheckin
2012-11-21 06:07hudsonbotNote Added: 0054389
2012-11-21 06:07hudsonbotCheckin
2012-11-21 06:07hudsonbotNote Added: 0054403
2012-12-04 10:42hgbotCheckin
2012-12-04 10:42hgbotNote Added: 0054694
2012-12-04 13:32hgbotCheckin
2012-12-04 13:32hgbotNote Added: 0054701
2012-12-05 18:20hgbotCheckin
2012-12-05 18:20hgbotNote Added: 0054732
2012-12-05 18:37hgbotCheckin
2012-12-05 18:37hgbotNote Added: 0054733
2012-12-14 09:25ioritzCiaReview Assigned To => ioritzCia
2012-12-14 09:25ioritzCiaNote Added: 0054927
2012-12-14 09:25ioritzCiaStatusresolved => closed
2017-07-05 10:25aferrazRelationship addedhas duplicate 0036204

Notes
(0053315)
caristu   
2012-10-11 17:17   
Resolution time: 15/11/2012

Support Ticket: 17454
(0054250)
hgbot   
2012-11-15 09:29   
Repository: erp/devel/pi
Changeset: ee6d1fc1ea73c2bd466b1febe304b3a04bee0e51
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Wed Nov 14 16:59:38 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ee6d1fc1ea73c2bd466b1febe304b3a04bee0e51 [^]

Fixes issue 21921: Import Stock is not working properly.

---
M src-db/database/sourcedata/AD_PROCESS.xml
---
(0054337)
hgbot   
2012-11-20 11:15   
Repository: erp/devel/pi
Changeset: f34a7b1836ab1fb52b41748c1dc22450bfe81ea1
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Nov 20 11:13:15 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f34a7b1836ab1fb52b41748c1dc22450bfe81ea1 [^]

Fixes issue 22349, backout of changeset ee6d1fc1ea73 related to issue 21921.

---
M src-db/database/sourcedata/AD_PROCESS.xml
---
(0054389)
hudsonbot   
2012-11-21 06:07   
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/c3c5e61b0164 [^]

Maturity status: Test
(0054403)
hudsonbot   
2012-11-21 06:07   
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/c3c5e61b0164 [^]

Maturity status: Test
(0054694)
hgbot   
2012-12-04 10:42   
Repository: erp/pmods/org.openbravo.idl
Changeset: 02c6f2d1d271718bc51eba6d4b29de48918e247a
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Dec 04 10:41:28 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.idl/rev/02c6f2d1d271718bc51eba6d4b29de48918e247a [^]

related to issue 21921: Import Stock is not working properly

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/idl/proc/StockProcess.java
---
(0054701)
hgbot   
2012-12-04 13:32   
Repository: erp/pmods/org.openbravo.idl
Changeset: e5e97a0fc76014f6cf4b05d89e227e5eef7dea9f
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Dec 04 13:31:29 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.idl/rev/e5e97a0fc76014f6cf4b05d89e227e5eef7dea9f [^]

related to issue 21921: adds necessary dependency

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0054732)
hgbot   
2012-12-05 18:20   
Repository: erp/pmods/org.openbravo.idl
Changeset: 58ad3a9aa2dbb4361e1ee203ebdeadeb1c341ad3
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Dec 05 18:20:09 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.idl/rev/58ad3a9aa2dbb4361e1ee203ebdeadeb1c341ad3 [^]

related to issue 21921: corrects dependencies

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0054733)
hgbot   
2012-12-05 18:37   
Repository: erp/pmods/org.openbravo.idl
Changeset: f2fa14ae1c732cff814cc92e2570f82d396dd5c8
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Dec 05 18:36:34 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.idl/rev/f2fa14ae1c732cff814cc92e2570f82d396dd5c8 [^]

related to issue 21921: updated wrong reference data description

---
M src-db/database/sourcedata/AD_MODULE.xml
---
(0054927)
ioritzCia   
2012-12-14 09:25   
Verified