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

View Revisions: Issue #36670 All Revisions ] Back to Issue ]
Summary 0036670: Process failed during execution when posting a reconciliation and there does not exists currency conversion
Revision 2017-08-21 11:20 by ngarcia
Steps To Reproduce As group admin role:
   Create a new Payment Method:
      Payment In Allowed: Y
      Receive Payment in Multiple Currencies: Y
      Upon Receipt Use: empty
      Upon Deposit Use: empty
      Upon Reconciliation Use: Cleared Payment Account

   Create a new Financial Account:
      Currency: EUR

   Add the previously created payment method to it
   Create a new Price List and version:
      Sales Price List: Y
      Currency: USD
   Add a product to it

   Unschedule the Acct Server Process

   Create a Sales Invoice, select the previously created Payment Method and Price List
   Add a product to it and complete it
   Add a exchange rate to it
   Post it

   Add Payment to it and change its Payment date (set a date previous to the invoice date)
   Process and deposit it

   Go to Financial Account and Reconcile the associated transaction

   Deactivate the conversion between USD and EUR

   Try to post the reconciliation and check the following error is shown:
      "Process failed during execution"

   instead of
      "Document currency cannot be converted to the Accounting Schema currency."

   The log shows:

   
WARN org.openbravo.erpCommon.ad_forms.AcctServer - javax.servlet.ServletException: @CODE=0@ERROR: @NoConversionRate@ (USD-$) @to@ (EUR-€) @ForDate@ '18-08-2017', @Client@ 'F&B International Group' @And@ @ACCS_AD_ORG_ID_D@ 'F&B España, S.A'.
WARN org.openbravo.erpCommon.ad_forms.AcctServer - Accounting process failed. RecordID: C7647209D5DB4ABDA882F171908BCC78 - TableId: B1B7075C46934F0A9FD4C4D0F1457B42
java.lang.NumberFormatException
    at java.math.BigDecimal.<init>(BigDecimal.java:545)
    at java.math.BigDecimal.<init>(BigDecimal.java:739)
    at org.openbravo.erpCommon.ad_forms.FactLine.roundToCurrencyPrecision(FactLine.java:852)
    at org.openbravo.erpCommon.ad_forms.Fact.createLine(Fact.java:295)
    at org.openbravo.erpCommon.ad_forms.DocFINReconciliation.createFactPaymentDetails(DocFINReconciliation.java:
Revision 2017-08-18 13:04 by ngarcia
Steps To Reproduce As group admin role:
   Create a new Payment Method:
      Payment In Allowed: Y
      Receive Payment in Multiple Currencies: Y
      Upon Receipt Use: empty
      Upon Deposit Use: empty
      Upon Reconciliation Use: Cleared Payment Account

   Create a new Financial Account:
      Currency: EUR

   Add the previously created payment method to it
   Create a new Price List and version:
      Sales Price List: Y
      Currency: USD
   Add a product to it

   Unschedule the Acct Server Process

   Create a Sales Invoice, select the previously created Payment Method and Price List
   Add a product to it and complete it
   Post it

   Add Payment to it and change its Payment date (set a date previous to the invoice date)
   Process and deposit it

   Go to Financial Account and Reconcile the associated transaction

   Deactivate the conversion between USD and EUR

   Try to post the reconciliation and check the following error is shown:
      "Process failed during execution"

   instead of
      "Document currency cannot be converted to the Accounting Schema currency."

   The log shows:

   
WARN org.openbravo.erpCommon.ad_forms.AcctServer - javax.servlet.ServletException: @CODE=0@ERROR: @NoConversionRate@ (USD-$) @to@ (EUR-€) @ForDate@ '18-08-2017', @Client@ 'F&B International Group' @And@ @ACCS_AD_ORG_ID_D@ 'F&B España, S.A'.
WARN org.openbravo.erpCommon.ad_forms.AcctServer - Accounting process failed. RecordID: C7647209D5DB4ABDA882F171908BCC78 - TableId: B1B7075C46934F0A9FD4C4D0F1457B42
java.lang.NumberFormatException
    at java.math.BigDecimal.<init>(BigDecimal.java:545)
    at java.math.BigDecimal.<init>(BigDecimal.java:739)
    at org.openbravo.erpCommon.ad_forms.FactLine.roundToCurrencyPrecision(FactLine.java:852)
    at org.openbravo.erpCommon.ad_forms.Fact.createLine(Fact.java:295)
    at org.openbravo.erpCommon.ad_forms.DocFINReconciliation.createFactPaymentDetails(DocFINReconciliation.java:
Revision 2017-08-18 13:03 by ngarcia
Steps To Reproduce As group admin role:
   Create a new Payment Method:
      Payment In Allowed: Y
      Receive Payment in Multiple Currencies: Y
      Upon Receipt Use: empty
      Upon Deposit Use: empty
      Upon Reconciliation Use: Cleared Payment Account

   Create a new Financial Account:
      Currency: EUR

   Add the previously created payment method to it
   Create a new Price List and version:
      Sales Price List: Y
      Currency: USD
   Add a product to it

   Unschedule the Acct Server Process

   Create a Sales Invoice, select the previously created Payment Method and Price List
   Add a product to it and complete it
   Post it

   Add Payment to it and change its Payment date (set a date previous to the invoice date)
   Process and deposit it

   Go to Financial Account and Reconcile the associated transaction

   Try to post the reconciliation and check the following error is shown:
      "Process failed during execution"

   instead of
      "Document currency cannot be converted to the Accounting Schema currency."

   The log shows:

   
WARN org.openbravo.erpCommon.ad_forms.AcctServer - javax.servlet.ServletException: @CODE=0@ERROR: @NoConversionRate@ (USD-$) @to@ (EUR-€) @ForDate@ '18-08-2017', @Client@ 'F&B International Group' @And@ @ACCS_AD_ORG_ID_D@ 'F&B España, S.A'.
WARN org.openbravo.erpCommon.ad_forms.AcctServer - Accounting process failed. RecordID: C7647209D5DB4ABDA882F171908BCC78 - TableId: B1B7075C46934F0A9FD4C4D0F1457B42
java.lang.NumberFormatException
    at java.math.BigDecimal.<init>(BigDecimal.java:545)
    at java.math.BigDecimal.<init>(BigDecimal.java:739)
    at org.openbravo.erpCommon.ad_forms.FactLine.roundToCurrencyPrecision(FactLine.java:852)
    at org.openbravo.erpCommon.ad_forms.Fact.createLine(Fact.java:295)
    at org.openbravo.erpCommon.ad_forms.DocFINReconciliation.createFactPaymentDetails(DocFINReconciliation.java:


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker