ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 0 replies, has 1 voice, and was last updated by  aliaksandra.chyrkova 5 months, 2 weeks ago.

  • Creator
    Topic
  • #35072

    Hi all,

    I have following case. There is a need to import Main_Entity with has some relations to other entities.
    When the relation is many-to-one, everything works perfect, however, one relation is more complex. One of the fields of Main_entity is an entity that has its own three identity fields.

    What is the best way to set up such import?
    Is it possible just to use @ConfigField (tried but was not successful)? Or should I extend Processor? Or should I extend FieldHelper? Or should I pass Doctrine Queries somewhere?

    Below some code examples so that the structure be more obvuois.
    Converter:

    Main_entity:

    VehicleFuel

    Range (all related entities (Manufacturer, Class and BodyShell) are confured with “identity”=true for property $name:

You must be logged in to reply to this topic.