--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user+unsubscribe@googlegroups.com.
To post to this group, send email to smook...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/da2c767b-3c57-4f8a-a9f5-1e768e906415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi. It would probably be possible, but would require a bit of hacking. I think the only real option is to take the generated 96A mapping and binding jar files, unzip them, modify the mappings and then regenerate the Java from the modified mappings. That's messy but I can't see another way around it. Maybe someone else has worked out a process.On 9 March 2017 at 00:47, Gorazd Porenta <gorazd....@gmail.com> wrote:Hi,I'm serializing XML to UN/EDI 96A. Line Item Number in EDI (segment LIN, element 1082) from default configuration is decimal type (1.0, 2.0, 3.0, .....) but I would like to change it to decimal without fraction digits (integers: 1, 2, 3, .....). Is it possible and how?Thank you and best regards,Gorazd
--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user...@googlegroups.com.
Good morning Antti,Which version of Smooks are you running?Claude
On Wednesday, September 23, 2020 at 9:05:37 AM UTC+2 mobileantti wrote:
Hi!I am experimenting with Smooks and reading and writing EDIFACT.Is this still the only solution to write integer values? I find it quite strange that those .0s are written also for "integer" values. Many of our partners would not accept floating point values when logically integer values are expected.Currently I am testing by writing EDIFACT structures in Java. So there's no way of changing the writing format of BigDecimal in Java code?Thanks in advance,AnttiOn Monday, 13 March 2017 at 14:24:58 UTC+2 Tom Fennelly wrote:
Hi. It would probably be possible, but would require a bit of hacking. I think the only real option is to take the generated 96A mapping and binding jar files, unzip them, modify the mappings and then regenerate the Java from the modified mappings. That's messy but I can't see another way around it. Maybe someone else has worked out a process.
On 9 March 2017 at 00:47, Gorazd Porenta wrote:Hi,I'm serializing XML to UN/EDI 96A. Line Item Number in EDI (segment LIN, element 1082) from default configuration is decimal type (1.0, 2.0, 3.0, .....) but I would like to change it to decimal without fraction digits (integers: 1, 2, 3, .....). Is it possible and how?Thank you and best regards,Gorazd
You received this message because you are subscribed to a topic in the Google Groups "Smooks Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/smooks-user/r88I3Fof0Fk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to smooks-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/8644543e-fca8-4bfc-81a7-f5a8550730e1n%40googlegroups.com.
2.0.0-M1 has in-built support for writing EDIFACT so I'd say give it a go.Claude
Hi there,Did you confirm if the value that you want to write is under the EDI standard?I remember a couple time ago that I had a client that wanted an specific type of document that was different with the actual standard of Edifact and I needed to override some implementations in order to have the output that they wanted,
A quarta-feira, 23 de setembro de 2020 à(s) 08:05:37 UTC+1, mobileantti escreveu:
Hi!I am experimenting with Smooks and reading and writing EDIFACT.Is this still the only solution to write integer values? I find it quite strange that those .0s are written also for "integer" values. Many of our partners would not accept floating point values when logically integer values are expected.Currently I am testing by writing EDIFACT structures in Java. So there's no way of changing the writing format of BigDecimal in Java code?Thanks in advance,AnttiOn Monday, 13 March 2017 at 14:24:58 UTC+2 Tom Fennelly wrote:
Hi. It would probably be possible, but would require a bit of hacking. I think the only real option is to take the generated 96A mapping and binding jar files, unzip them, modify the mappings and then regenerate the Java from the modified mappings. That's messy but I can't see another way around it. Maybe someone else has worked out a process.
On 9 March 2017 at 00:47, Gorazd Porenta wrote:Hi,I'm serializing XML to UN/EDI 96A. Line Item Number in EDI (segment LIN, element 1082) from default configuration is decimal type (1.0, 2.0, 3.0, .....) but I would like to change it to decimal without fraction digits (integers: 1, 2, 3, .....). Is it possible and how?Thank you and best regards,Gorazd
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/23f9144a-7f1c-4702-94d1-8d1fb5fe322bn%40googlegroups.com.