Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014870Openbravo ERPZ. Otherspublic2010-10-13 17:362010-12-09 16:07
networkb 
mirurita 
urgentmajoralways
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0014870: Error when trying to create order from Requisition To Order
APR module replaces "Form of Payment" field by "Payment Method". But when you press "Create" button in Procurement Management || Transactions || Requisition To Order form the process obtain "Payment Method" field and if it is empty following message is obtained:

null value in column "paymentrule" violates not-null constraint
1. Master Data Management || Business Partner || Business Partner : create new record.
2. Master Data Management || Business Partner || Business Partner >> Vendor/Creditor : check it as Vendor and set Purchase Pricelist, Payment Method and PO Payment Terms
3. Go to Procurement Management || Transactions || Manage Requisitions || Header: create record for this BP
4. Procurement Management || Transactions || Manage Requisitions || Header >> Lines : add line for any product and date
5. Come back to header and COMPLETE
6. Go to Procurement Management || Transactions || Requisition To Order || Requisition To Order : select your line, press ADD button and then press CREATE button.
You will obtain the followind message:

null value in column "paymentrule" violates not-null constraint
No tags attached.
Issue History
2010-10-13 17:36networkbNew Issue
2010-10-13 17:36networkbAssigned To => mirurita
2010-10-13 18:13miruritaStatusnew => scheduled
2010-10-13 18:13miruritafix_in_branch => pi
2010-10-14 14:10hgbotCheckin
2010-10-14 14:10hgbotNote Added: 0031848
2010-10-14 14:10hgbotStatusscheduled => resolved
2010-10-14 14:10hgbotResolutionopen => fixed
2010-10-14 14:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b207dbb2ce65198ada74a5b0fdcc63e000dd7733 [^]
2010-10-14 22:29hudsonbotCheckin
2010-10-14 22:29hudsonbotNote Added: 0031866
2010-10-25 10:51sureshbabuNote Added: 0032168
2010-10-25 10:51sureshbabuStatusresolved => closed
2010-10-25 10:52sureshbabuNote Edited: 0032168bug_revision_view_page.php?bugnote_id=0032168#r1124
2010-12-09 16:07anonymoussf_bug_id0 => 3133515

Notes
(0031848)
hgbot   
2010-10-14 14:10   
Repository: erp/devel/pi
Changeset: b207dbb2ce65198ada74a5b0fdcc63e000dd7733
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Oct 14 14:09:56 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b207dbb2ce65198ada74a5b0fdcc63e000dd7733 [^]

Fixes issue 14870: Error when trying to create order from Requisition To Order

---
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.java
---
(0031866)
hudsonbot   
2010-10-14 22:29   
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/b207dbb2ce65 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d7ad2f964c30 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18536.obx [^]
(0032168)
sureshbabu   
2010-10-25 10:51   
(edited on: 2010-10-25 10:52)
Verified