Openbravo Issue Tracking System - Modules
View Issue Details
0027729ModulesIntercompany Documentspublic2014-10-01 19:072015-02-20 13:38
maite 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
 
aferraz
0027729: Intercompany documents is not compatible with "Price including taxes" functionality
Intercompany documents is not compatible with "Price including taxes" functionality
1. Configure Inter-Company functionality following : http://wiki.openbravo.com/wiki/Projects/intercompanyinvoicing/User_Guide [^]
2. Ensure that Purchase Price List and Sales Price List that are going to be used are configured as "Price includes tax"
3. Register Purchase Order for configured organization, business partner and price list
4. Process Purchase Order and following error will be raised "Counter document cannot be created. The tax amounts of the original document and the counter document do not match."
Problem is that in "interco_create_order" procedure, "gross_unit_price", "line_gross_amount" and "gross_pricelist" fields are not inserted when c_orderline is created

same situation should be reviewed for "interco_create_invoice" procedure
No tags attached.
related to defect 0037789 closed markmm82 Cannot book an Inter-company Order if the price includes taxes 
Issue History
2014-10-01 19:07maiteNew Issue
2014-10-01 19:07maiteAssigned To => jonalegriaesarte
2014-10-01 19:07maiteResolution time => 1414537200
2014-10-01 19:08maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6712#r6712
2014-10-01 19:08maiteIssue Monitored: networkb
2014-10-01 19:10maiteAssigned Tojonalegriaesarte => AtulOpenbravo
2014-10-09 11:30hgbotCheckin
2014-10-09 11:30hgbotNote Added: 0070836
2014-10-09 11:30hgbotStatusnew => resolved
2014-10-09 11:30hgbotResolutionopen => fixed
2014-10-09 11:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/a92299d749fc0e4ad4c045b829c6d60ba76fb605 [^]
2014-10-09 13:31hgbotCheckin
2014-10-09 13:31hgbotNote Added: 0070842
2014-10-13 08:04AtulOpenbravoReview Assigned To => AtulOpenbravo
2014-10-13 08:04AtulOpenbravoNote Added: 0070892
2014-10-13 08:04AtulOpenbravoStatusresolved => closed
2015-02-20 12:49hgbotCheckin
2015-02-20 12:49hgbotNote Added: 0074701
2015-02-20 12:49hgbotStatusclosed => resolved
2015-02-20 12:49hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/a92299d749fc0e4ad4c045b829c6d60ba76fb605 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/b1e5b747bab0600ad9bdab2b555730d05bc8631e [^]
2015-02-20 12:50hgbotCheckin
2015-02-20 12:50hgbotNote Added: 0074703
2015-02-20 13:38aferrazReview Assigned ToAtulOpenbravo => aferraz
2015-02-20 13:38aferrazNote Added: 0074724
2015-02-20 13:38aferrazStatusresolved => closed
2018-01-31 11:07ngarciaRelationship addedrelated to 0037789

Notes
(0070836)
hgbot   
2014-10-09 11:30   
Repository: erp/pmods/org.openbravo.interco
Changeset: a92299d749fc0e4ad4c045b829c6d60ba76fb605
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Oct 09 11:29:52 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/a92299d749fc0e4ad4c045b829c6d60ba76fb605 [^]

Fixes bug 27729: Intercompany documents is not compatible with "Price including taxes" functionality

Some new fields related to PIT were not used and it was as well failing because of wrongly copying some info in header and lines

---
M src-db/database/model/functions/INTERCO_CREATE_INVOICE.xml
M src-db/database/model/functions/INTERCO_CREATE_ORDER.xml
M src-db/database/sourcedata/AD_EP_PROCEDURES.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
---
(0070842)
hgbot   
2014-10-09 13:31   
Repository: erp/pmods/org.openbravo.interco
Changeset: 085753fbff085c948f098a13daf9bd7b53b2e451
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Oct 09 13:30:57 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/085753fbff085c948f098a13daf9bd7b53b2e451 [^]

Related to issue 27729. Uncomments order processing, which was pushed wrongly

---
M src-db/database/model/functions/INTERCO_CREATE_ORDER.xml
---
(0070892)
AtulOpenbravo   
2014-10-13 08:04   
Verified Inter company Order and Invoice creation.
(0074701)
hgbot   
2015-02-20 12:49   
Repository: erp/pmods/org.openbravo.interco
Changeset: b1e5b747bab0600ad9bdab2b555730d05bc8631e
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Oct 09 11:29:52 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/b1e5b747bab0600ad9bdab2b555730d05bc8631e [^]

Fixes bug 27729: Intercompany documents is not compatible with "Price including taxes" functionality

Some new fields related to PIT were not used and it was as well failing because of wrongly copying some info in header and lines

---
M src-db/database/model/functions/INTERCO_CREATE_INVOICE.xml
M src-db/database/model/functions/INTERCO_CREATE_ORDER.xml
M src-db/database/sourcedata/AD_EP_PROCEDURES.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
---
(0074703)
hgbot   
2015-02-20 12:50   
Repository: erp/pmods/org.openbravo.interco
Changeset: e02a94e1676f1d7f805d64ecf9c741a08610b8c2
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Oct 09 13:30:57 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/e02a94e1676f1d7f805d64ecf9c741a08610b8c2 [^]

Related to issue 27729. Uncomments order processing, which was pushed wrongly

---
M src-db/database/model/functions/INTERCO_CREATE_ORDER.xml
---
(0074724)
aferraz   
2015-02-20 13:38   
Backout and pushed again to resolve repository inconsistencies