Announcement

Collapse
No announcement yet.

Injecting data from form to a case

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Injecting data from form to a case

    Hi

    Im creating a CRM for a Bike shop. And a Sales order Item can be a bike, with a unique number. When they have to do service on a particular bik, it will be foaund as a Sales order Item!

    Adding the Case module to the Sales order Item entity.
    When I click new, it inserts the Sales order Item. Great

    But not the Account which is also on the form. Is that some special relationship I'm missing?

    Cheers

    John






  • #2
    If there is a relationship between the two entities then you can pass data from (parent entity) to child entity. This is how it is done when you create a contact and address from account is passed to contact, this is the code that allows that : https://github.com/espocrm/espocrm/b...count.json#L54
    this should give you an idea how to implement it on your entities.

    Hope this helps
    Rabii
    Web Dev

    Comment


    • #3
      Hi Rabii
      Thanks. I will look into it

      Comment

      Working...
      X