Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010353Openbravo ERP07. Sales managementpublic2009-08-20 12:302009-09-18 00:00
arunkumar 
mtaal 
highmajorhave not tried
closedfixed 
5
pi 
2.50MP6 
No
Core
No
0010353: Exception message is displayed if the business partner does not match with the invoice template.
Exception message is displayed if the business partner does not match with the invoice template.
Prerequisite:

PI context should be installed with two modules
(1) Multiple business partner selector
(2) mass Invoicing

Login as Openbravo/openbravo in the role of Openbravo Admin
Go to Sales Management || Setup || Invoice Template || Invoice Template

Create a new record:

Organization : Main
Template: Testmain
Description : Template for Main
Document Type: AR Credit memo
Price list : General Sales
Payment terms : Immediate

Go to invoice Template lines and create few records with tax included for the products.

Go to Master Data Management || Business Partner || Business Partner
Select the business partner with the Search Key “Simpsons”.
Change the Organization as B2. Check the Organization B2 in Customer tab and Location/Address tab also.

Now go to Sales Management -> Transactions -> Mass Invoicing
Organization: Main

Business partner: Simpsons Ltd (Already this business partner’s organization, I made it as B2)

Template: Testmain (this template I created for Organization main)

Invoice Date: 20-08-2009

Click Next.

In the next page Click Generate.

Then you will see the error message.(See the attached screenshot)



No tags attached.
jpg IncorrectBusinessPartner.JPG (162,612) 2009-08-20 12:30
https://issues.openbravo.com/file_download.php?file_id=1669&type=bug
jpg
Issue History
2009-08-20 12:30arunkumarNew Issue
2009-08-20 12:30arunkumarAssigned To => mtaal
2009-08-20 12:30arunkumarFile Added: IncorrectBusinessPartner.JPG
2009-08-20 12:30arunkumarOBNetwork customer => No
2009-08-28 12:27rafarodaStatusnew => scheduled
2009-09-16 13:00mtaalStatusscheduled => resolved
2009-09-16 13:00mtaalFixed in Version => pi
2009-09-16 13:00mtaalFixed in SCM revision => *
2009-09-16 13:00mtaalResolutionopen => fixed
2009-09-16 13:00mtaalNote Added: 0020108
2009-09-17 08:06arunkumarNote Added: 0020123
2009-09-17 11:50arunkumarStatusresolved => closed
2009-09-17 11:50arunkumarNote Added: 0020133
2009-09-17 11:50arunkumarFixed in Versionpi => 2.50MP6
2009-09-18 00:00anonymoussf_bug_id0 => 2861001

Notes
(0020108)
mtaal   
2009-09-16 13:00   
This issue has been resolved a while back afaicr.
(0020123)
arunkumar   
2009-09-17 08:06   
Martin to retest this issue Do I need any obx file or do I need to get latest commits from the core?
(0020133)
arunkumar   
2009-09-17 11:50   
Now the error message is displayed as "
Error when creating and posting invoices
The Simpsons Ltd: The organization of the Business partner is different or does not depend on the organization associated with the Invoice"

This is fine. I will close this issue.