Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012461Openbravo ERP03. Procurement managementpublic2010-02-24 18:162010-03-12 22:41
networkb 
adrianromero 
normalmajoralways
closedfixed 
20Community Appliance
2.50MP11 
2.50MP142.50MP14 
Core
No
0012461: error to execute process "Generate invoice from receipt" with new form of payment
when execute process "generate invoice from receipt" and business partner has selected a new form of payment in "PO Form of Payment" one error is returned:
Error:
value too long for type character(1)
Application Dictionary || Module || Module
. create new module:
   name: newModule
   type: module
   checked in development
   db_prefix: nm

Application Dictionary || Reference || Reference
. select the record "All payment rule"
Application Dictionary || Reference || Reference >> List Reference
 . add new element:
    module: newModule
    search key: nm_Z
    name: nameZ
Master Data Management || Business Partner || Business Partner
. select the record "mc gyver"
Master Data Management || Business Partner || Business Partner || Vendor/Creditor
. select the "PO Form of Payment": nameZ

Procurement Management || Transactions || Goods Receipt || Header
. create new record with partner "mc gyver"
. add new line
. execute process "complete"
. execute "Generate invoice from receipt" process.
No tags attached.
Issue History
2010-02-24 18:16networkbNew Issue
2010-02-24 18:16networkbAssigned To => adrianromero
2010-02-25 11:01adrianromeroNote Added: 0024811
2010-02-25 11:01adrianromeroStatusnew => feedback
2010-03-01 18:16networkbStatusfeedback => new
2010-03-01 18:16networkbSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=92#r92
2010-03-05 10:32hgbotCheckin
2010-03-05 10:32hgbotNote Added: 0025074
2010-03-05 10:32hgbotStatusnew => resolved
2010-03-05 10:32hgbotResolutionopen => fixed
2010-03-05 10:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5c4e61498d76a65b0daf28f60359e6c2419867de [^]
2010-03-05 11:00sivaramanNote Added: 0025075
2010-03-08 10:31arunkumarNote Added: 0025112
2010-03-08 10:31arunkumarStatusresolved => closed
2010-03-08 10:31arunkumarFixed in Version => 2.50MP13
2010-03-08 16:04jpabloaeFixed in Version2.50MP13 => 2.50MP14
2010-03-08 16:05jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-10 17:24anonymoussf_bug_id0 =>
2010-03-10 18:30anonymoussf_bug_id => 2968102
2010-03-12 22:41hudsonbotCheckin
2010-03-12 22:41hudsonbotNote Added: 0025395

Notes
(0024811)
adrianromero   
2010-02-25 11:01   
Could you please add the missing steps to reproduce the error
(0025074)
hgbot   
2010-03-05 10:32   
Repository: erp/devel/pi
Changeset: 5c4e61498d76a65b0daf28f60359e6c2419867de
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Fri Mar 05 15:04:19 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/5c4e61498d76a65b0daf28f60359e6c2419867de [^]

Fixes issue 12461: error to execute process \"Generate invoice from receipt\" with new form of payment

---
M src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml
---
(0025075)
sivaraman   
2010-03-05 11:00   
Steps to reproduce

1. Log on to Openbravo
2. Go to Application Dictionary || Module || Module
3. Create new module
    name: newModule
       type: module
       checked in development
       db_prefix: nm
4. Go to Application Dictionary || Reference || Reference
5. Select "All_Payment Rule"
6. Go to List Reference
7. Add new element
    module: newModule
        search key: nm_Z
        name: nameZ
8. Change user role to Openbravo Admin
8. Go to Master Data Management || Business Partner || Business Partner
9. Select "mcgiver"
10. Go to Vendor/Creditor
11. Select "PO Form of Payment": nameZ
12. Go to Procurement Management || Transactions || Goods Receipt || Header
13. Create new record with partner "mcgiver" and add new line
14. Click "complete" process
15. Execute "Generate invoice from receipt" process
(0025112)
arunkumar   
2010-03-08 10:31   
Tested & Working fine
(0025395)
hudsonbot   
2010-03-12 22:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/5c4e61498d76 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]