New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2658 invoice externalization in a specifc directory #3349
Conversation
Hi Mario @marcalwestf , in #3257 (comment) you wrote:
On PS: the fnfe-mpe validator does not work for UBL. For UBL-xml there is a cmdline validator Hope, this helps to commit the PR. |
Hi @homebeaver This code looks much better and more isolated, less invasive than the previous one, and is built as a separate module. I still have a question why you have to modify the core classes, with functionality that not is for general solution. MInvoice.java Can you give me more detail of what you are trying to do, maybe I can help you with a better approach. I implement the electronic invoicing of my country and use the standard export formats of ADempiere reports in XML to convert to a required format using style sheets. In my case, I added the functionality through a model validator, so as not to put specialized code in the general functionality of the system. |
Hi Victor, @e-Evolution I‘ve sketched my idea in feature request #2658 in Jun 2019.
I add The default extrnalization does nothing and The modification in This three small changes in base guarantees minimal side effects and clients/tenants can define own externalization Schema, I hope the answer is datailed enough. PS: My goal is not to implement e-invoice for my client/country. My goal is to extend ADs functionaly with a forward-looking feature I feel confident with. |
@homebeaver hi Eugen, I just read the information of the links you provided. @e-Evolution Victor's and @yamelsenih Yamel's (valid) objection is that if this PR is about a custom-made or even country-made solution, it should be implemented as a model validator. Reading the links you provide, it seems that it is not about a custom or a country-only solution, but these are standards indeed, thus worthwhile implementing. Perhaps can @trifonnt Trifon, @e-Evolution Victor and @yamelsenih Yamel cast their opinions. |
@homebeaver Eugen, @marcalwestf Mario, @e-Evolution Victor and @yamelsenih Yamel,
I strongly support this Pull Request to be integrated into the core as this is not country specific solution. Kind regards, |
Hi @trifonnt thanks. I think that this cuncionality can be integrated using this way for export report: https://wiki.adempiere.net/Spin_Contribution:_FR:_Export_Format_From_Report is very easy implement it and I use this functionality for Tax declaration and other especific format. Best regards |
dev+facturx200+extraProj Conflicts: .classpath
Hi, I resoved conflicts on .classpath coming from commit 0a280d2 |
dev+facturx200+extraProj Conflicts: .classpath
Hi @e-Evolution Victor, |
@e-Evolution, @yamelsenih in my opinion and after reading the documentation presented as well as @trifonnt and @homebeaver comments, this seems to me to be a solution worthwhile to be included in the trunk. It could possibly be implemented as an export format, but I think it would be not fair towards @homebeaver to ask him to (once again) modify his implementation because after 2 years , 2 Pull Requests, several changes requested and accomplished, we should come to an end. I suggest this pull request should be either accepted or rejected. I would accept it, but because there were different opinions and suggestions cast, I refrain from doing it on my own. Best regards. |
@homebeaver @trifonnt hi Eugen, Trifon, What Victor and Yamel are suggesting is to implement the functionality in question without touching core classes, but with a Model Validator, which would do the same. If somebody doesn't want to use this functionality, he simply has to de-activate the Model Validator and vice-versa. This would bring some advantages like if there is a need for enhancements, improvements, or bug-fixing, they can be done without touching the core classes. I will move this PR to Release 4.0 so the modifications can be done as suggested and this PR accepted. |
Hi @homebeaver @trifonnt you can see a implementation here: https://github.com/adempiere/LVE/blob/master/withholding/src/main/java/base/org/erpya/lve/util/exp/ExportFormatXML_ISLR.java |
Hello @homebeaver I will to close this pull request. Please if you have any change then a new pull request is welcome. |
Hi @marcalwestf , @e-Evolution
this PR replaces the #3257 : invoice externalization for e-invoicing UBL and CII
regards EUGen