Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012891
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2010-04-07 10:562010-04-10 00:00
ReporternetworkbView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.40MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP13SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012891: It is not possible to complete POS Order

DescriptionIt is not possible to complete POS Order.

After apply the solution for the following bug in an environment,
https://issues.openbravo.com/view.php?id=12520 [^]
you are not able to complete a POS Order
Steps To Reproduce-Create a sales order with document type POS order.
-Add a line with tax
-Complete the order

-You get the following error:
NotNullError: C_INVOICETAX - CREATEDB
Proposed SolutionThis is related with the change on the call to the post procdure.


   C_INVOICE_POST(p_PInstance_ID, p_Invoice_ID) ;

Now instead of null the p_PInstance_ID is passed to the funciont.

then in the c_invoice_post the updatedby variable is loaded with
the value of the user parameter of the p_instance__id passed.
   v_UpdatedBy:=Cur_Parameter.AD_User_ID;

The problem is that in this case the funciont c_invoice_created is called
from the c_order_post funciont and the first parameter passed is null instead the p_instnace_id, so you can not get the ad_user_id from the parameters of the p_instance__id because it is null.


TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00125202.40MP13 closedharikrishnan When you complete a sales invoice the database is not updated properly 
depends on backport 00129192.50MP14 closedadrianromero It is not possible to complete POS Order 

-  Notes
(0026020)
adrianromero (manager)
2010-04-09 11:13

This issue is not reproducible in the 2.50 branch

- Issue History
Date Modified Username Field Change
2010-04-07 10:56 networkb New Issue
2010-04-07 10:56 networkb Assigned To => adrianromero
2010-04-07 12:32 networkb Relationship added related to 0012520
2010-04-09 11:11 adrianromero Issue cloned 0012919
2010-04-09 11:11 adrianromero Relationship added depends on 0012919
2010-04-09 11:13 adrianromero Note Added: 0026020
2010-04-09 11:13 adrianromero Status new => closed
2010-04-09 11:13 adrianromero Resolution open => no change required
2010-04-10 00:00 anonymous sf_bug_id 0 => 2984779


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker