entry not saving values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Elioz
    Junior Member
    • Jul 2017
    • 17

    entry not saving values

    Hello,

    When i'm creating new entry and choosing the value in some section and clicking save, it show three dots instead (...)
    I have to edit the entry and enter the value again and then its saving it.
    I don't find the reason why it can happend.

    Thanks!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello.
    What is the type of you field? What value is saved in database?

    Comment

    • Elioz
      Junior Member
      • Jul 2017
      • 17

      #3
      Originally posted by tanya
      Hello.
      What is the type of you field? What value is saved in database?
      Hi Tanya,

      First of all, I didn't mentioned it, entites have relationship between them so its gathering the information from other entity, the picture attached indicate about it.
      the type of the field is text.
      in the database i'm not seeing any column about service ID, I have other table which called case_service_i_d but she is empty.

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Could you attach custom/Espo/Custom/Resources/metadata/entityDefs/ Case.json and ServiceID.json?

        Comment

        • Elioz
          Junior Member
          • Jul 2017
          • 17

          #5
          Originally posted by tanya
          Could you attach custom/Espo/Custom/Resources/metadata/entityDefs/ Case.json and ServiceID.json?
          Here you go

          case.json
          Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


          service id.json
          Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            according to you told exists table case_service_i_d (many-to-many relationship), but according to your files, you have one-to-many relationship. what is correct version?

            Comment

            • Elioz
              Junior Member
              • Jul 2017
              • 17

              #7
              Originally posted by tanya
              according to you told exists table case_service_i_d (many-to-many relationship), but according to your files, you have one-to-many relationship. what is correct version?
              Hi Tanya,

              It's version 4.7.2, I have deleted these settings, if I want that more than one service ID will appear, I need to make one to many realationship from service ID to case? and than it's should work and save the service ID?

              Comment

              • tanya
                Senior Member
                • Jun 2014
                • 4308

                #8
                Hi,
                If case can have more, than one service ID, and one service ID can repeat in few cases, you need many-to-many relationship.

                Comment

                • Elioz
                  Junior Member
                  • Jul 2017
                  • 17

                  #9
                  Originally posted by tanya
                  Hi,
                  If case can have more, than one service ID, and one service ID can repeat in few cases, you need many-to-many relationship.
                  Solved! Thanks

                  Comment

                  Working...