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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012919
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2010-04-09 11:112010-04-19 07:41
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionabde598fb3f1
ProjectionnoneETAnoneTarget Version2.50MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP13SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012919: 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 ]
blocks defect 00128912.40MP14 closedadrianromero It is not possible to complete POS Order 

-  Notes
(0026019)
adrianromero (viewer)
2010-04-09 11:11

Repository: erp/stable/2.40
Changeset: abde598fb3f1eb69d8c226f4f31c3cecc8450965
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Mar 29 15:32:01 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/abde598fb3f1eb69d8c226f4f31c3cecc8450965 [^] [^]

Fixes Issue 12799: Generate Invoice process generates multiple invoices.

---
M src-db/database/model/functions/C_INVOICE_CREATE.xml
M src-db/database/model/functions/C_INVOICE_POST.xml
(0026327)
arunkumar (viewer)
2010-04-19 07:41

Tested & working fine

- Issue History
Date Modified Username Field Change
2010-04-09 11:11 adrianromero New Issue
2010-04-09 11:11 adrianromero Assigned To => adrianromero
2010-04-09 11:11 adrianromero OBNetwork customer => No
2010-04-09 11:11 adrianromero Issue generated from 0012891
2010-04-09 11:11 adrianromero Relationship added blocks 0012891
2010-04-09 11:11 adrianromero Note Added: 0026019
2010-04-09 11:11 adrianromero Status new => scheduled
2010-04-09 11:11 adrianromero fix_in_branch => pi
2010-04-09 11:12 adrianromero Status scheduled => resolved
2010-04-09 11:12 adrianromero Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/abde598fb3f1eb69d8c226f4f31c3cecc8450965 [^]
2010-04-09 11:12 adrianromero Resolution open => fixed
2010-04-19 07:41 arunkumar Note Added: 0026327
2010-04-19 07:41 arunkumar Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker