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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030688
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-08-27 14:242015-08-31 09:13
ReporterngarciaView Statuspublic 
Assigned ToRetail 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030688: Order cannot be imported if the business partner does not have a default payment method

DescriptionOrder cannot be imported if the business partner does not have a default payment method
Steps To ReproduceAs group admin role:
   Remove the Payment Method to VBS Customer business partner

Clean the cache

Log in in WebPOS and create two receipts (select the Invoice this Receipt option in one of them)

As group admin role:
   Check the two orders are in Errors While Importing POS Data with Not imported due to errors status
   In the JSON order data you could see: "paymentMethod":null
   The error in the log is different for each case
      org.openbravo.base.exception.OBException: ERROR: null value in column "fin_paymentmethod_id" violates not-null constraint

      org.openbravo.base.exception.OBException: Error in OrderLoader: at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:314)
      ...
      org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0079821)
marvintm (manager)
2015-08-31 09:13

Business partners used in the Web POS need to have a default payment method. Otherwise it's not possible to pick a payment method when creating the order in several flows.

The wiki has been clarified slightly to specify this:

http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Add_Retail_Stores_to_the_Organization_Model [^]

- Issue History
Date Modified Username Field Change
2015-08-27 14:24 ngarcia New Issue
2015-08-27 14:24 ngarcia Assigned To => Retail
2015-08-27 14:24 ngarcia Resolution time => 1440799200
2015-08-27 14:24 ngarcia Triggers an Emergency Pack => No
2015-08-28 14:39 ngarcia Issue Monitored: networkb
2015-08-31 09:13 marvintm Review Assigned To => marvintm
2015-08-31 09:13 marvintm Note Added: 0079821
2015-08-31 09:13 marvintm Status new => closed
2015-08-31 09:13 marvintm Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker