Skip to Content
author's profile photo Former Member
Former Member

Import BigDecimal with impex

Hi all,

Has anyone got a nice tip for importing java.math.BigDecimal field with impex?

I've got a couple of fields in the items.xml that have type BigDecimal and I would like to avoid creating my own translators/decorators

Best regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2016 at 05:04 PM

    Hi, Timo Rissamen, I m confused with your question, if the problem about the format of impex or the precision of the number. if it is about the format of impex:

    For impex to import data, using a csv Format which seperate values using ' , ' german local or ' ; 'english local. The following link shows the impex syntax

    https://help.hybris.com/6.2.0/hcd/8bef9530866910148e6cff59d9afa127.html

    And in the hybris the Bigdecimal are default as e.g. '1011202.43460000'. you can also customerize numberformat, see the link: https://help.hybris.com/6.2.0/hcd/8ba9f14286691014804abf002ea4323e.html

    if it is about another problem, please let me know.

    hope it helps for you.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.