Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051441 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Localization Pack: Spain] AEAT 190 | major | always | 2023-01-23 12:56 | 2023-01-25 09:51 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | mgonzalezh | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Support ticket | ||||||||
OBNetwork customer | No | |||||||
Regression introduced in release | ||||||||
Summary | 0051441: Error en el 190 - FIN_Payment_Detail_V.invoicePaymentPlan | |||||||
Description | Si un cliente de la localización española, utiliza una versión posterior a 20Q2, obtendrá el error que se muestra debajo, ya que el campo "FIN_Payment_Detail_V" de la vista invoicePaymentPlan (see image below) se ha quitado. Error: java.lang.IllegalArgumentException: org.hibernate.QueryException: could not resolve property: invoicePaymentPlan of: FIN_Payment_Detail_V [ select new org.openbravo.module.aeat190.es.bean.PaymentInfoFor190(to_char(i.invoiceDate, 'YYYY'), i.id, sum(C_Currency_Convert(pdv.paidAmount, pdv.currency.id, i.currency.id, pdv.paymentDate, null, i.client.id)) ) from FIN_Payment_Detail_V pdv join pdv.invoicePaymentPlan.invoice i where i.posted='Y' and pdv.payment.status in ('PWNC', 'RPPC', 'PPM') and exists (select 1 from FinancialMgmtAccountingFact fa where i.id = fa.recordID and fa.accountingSchema.id = '07ECFE53213F49B48955C03F19CCFBC8' ) and exists (select 1 from InvoiceTax it where it.invoice.id = i.id and it.tax.id in ('4DF802123A4D4B6FA6F3CCAF44D2DC85','FA1E4A2148F54016B1CA2D1D15EE2E6B','27003118352848B5AD1A685FABC57683','CCB9F70FC9E741B0B3C8BB996A54219D','0184D0C6A0974827BC4DA167F4AC6285','9701D4BED3D1442883BD7D574E8DF790','AD69CB0C35554BDCB64E74E463B637B5','EF2061D4F5C04570B16B1F50E24BDC46','01E2D35C0C5745978B39773CF9C865E9','812FAB72D6FE4CE6A945410634685BC9','8F123583544D4542AAD1290DC8674A90','BCC57681C6AD4D1A834F96222660B50C','13D8A18F1D274C01887355FB36A6F026','3D6AD7CA8CC04052B1BB506E8F2BD0F6','FF80818123B7FC160123B804ABA00058','5D605918700944DEB0454907D71BA572','AD0284D8F869487E97029CED21C18BE2','3C233BC5CAF54A39AD3F778438A67063','DEFE5BFF895C4FBB94DDC3E8516549D0','F7E840860A9D451CABF0E6047C51C7AE','2B83D0A843474C2191984838D789FA3C','F507AC20F23045D9B6A57573CAE61B43')) and pdv.paymentDate >= :inipmntdate and pdv.paymentDate < :endpmntdate and i.accountingDate >= :iniacctdate and i.accountingDate < :endacctdate and i.organization in ('DC96B9129BCC456C975E4141519951D5') group by i.id, i.businessPartner, to_char(i.invoiceDate, 'YYYY') order by to_char(i.invoiceDate, 'YYYY') desc, i.businessPartner ] | |||||||
Steps To Reproduce | N/A | |||||||
Proposed Solution | Usar el paymentPlanInvoice en su lugar. Ver: https://code.openbravo.com/erp/devel/pi/rev/3db254ac09aad11a29918aafd26c1ed3a19a2c10 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|||
Date Modified | Username | Field | Change |
2023-01-23 12:56 | psanjuan | New Issue | |
2023-01-23 12:56 | psanjuan | Assigned To | => Jorge Bravo |
2023-01-23 12:56 | psanjuan | OBNetwork customer | => No |
2023-01-23 12:58 | psanjuan | File Added: Screenshot from 2023-01-23 12-51-06.png | |
2023-01-23 12:58 | psanjuan | Assigned To | Jorge Bravo => mgonzalezh |
2023-01-23 12:59 | psanjuan | Proposed Solution updated | |
2023-01-23 15:49 | hgbot | Merge Request Status | => open |
2023-01-23 15:49 | hgbot | Note Added: 0145768 | |
2023-01-23 16:09 | hgbot | Note Added: 0145769 | |
2023-01-23 16:15 | hgbot | Note Added: 0145770 | |
2023-01-23 17:58 | mgonzalezh | Relationship added | blocks 0050834 |
2023-01-25 09:50 | hgbot | Merge Request Status | open => approved |
2023-01-25 09:51 | hgbot | Note Added: 0145819 | |
2023-01-25 09:51 | hgbot | Note Added: 0145820 | |
2023-01-25 09:51 | vmromanos | Status | new => scheduled |
2023-01-25 09:51 | vmromanos | Status | scheduled => resolved |
2023-01-25 09:51 | vmromanos | Resolution | open => fixed |
2023-01-25 09:51 | vmromanos | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |