Field condition is not effective

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashif Malayil
    Senior Member
    • Dec 2023
    • 171

    Field condition is not effective

    I have added a field called "conditional options" for entities. For example, I have an enum field for "Brand" and another enum field for "Colour." Ideally, when I select a brand, only the corresponding "conditional options" for colour should be displayed. This functionality works for all modules except opportunity items. I need this to work on opportunity items as well. Can you help me identify the issue?
  • victor
    Active Community Member
    • Aug 2022
    • 727

    #2
    Opportunity Items is a separate entity, not an enum field (for which "conditional options" are available).

    Comment

    • Ashif Malayil
      Senior Member
      • Dec 2023
      • 171

      #3
      Yes, i know. In Opportunity item module i have created this fields.

      Comment

      • victor
        Active Community Member
        • Aug 2022
        • 727

        #4


        Click image for larger version  Name:	image.png Views:	0 Size:	120.1 KB ID:	106046
        However, in your case, you can use the Copying values ​​from product to opportunity item feature. The documentation describes how to do this using the example of Sales Order Items: https://docs.espocrm.com/user-guide/...les-order-item.

        ​​
        Last edited by victor; 05-13-2024, 12:14 PM.

        Comment

        • Ashif Malayil
          Senior Member
          • Dec 2023
          • 171

          #5
          victor For example please refer the screenshot. If i select Brand = K GAJA,( Another Enum field Called BRAND) it should only show the added options, But it is showing entire options in this Enum field. This is the one of the main issue i am facing now. This is working in all other module other than opportunity Item. Can you please help me?
          Last edited by Ashif Malayil; 05-15-2024, 12:26 PM.

          Comment

          • Ashif Malayil
            Senior Member
            • Dec 2023
            • 171

            #6
            For example, 3 Enum fields,
            1 > Brand - Brand 1, Brand 2
            2 > Colour - Blue, Yellow, Red, Green, Black
            3 > Grade - Grade 1, Grade 2, Grade 3, Grade 4

            If i Select Brand 1 in Enum Brand, It should show Blue and Yellow in Enum Colour, Grade 2 and Grade 3 in Enum Grade.

            Comment

            • victor
              Active Community Member
              • Aug 2022
              • 727

              #7
              Dynamic Logic is NOT applied on the list view.
              Opportunity Items for Opportunity are displayed exactly in List format. So, the functionality you want cannot be implemented and this means that you have to implement the solution from the last paragraph of this post: https://forum.espocrm.com/forum/gene...045#post106045 or fill in the data manually in each Opportunity Item.

              Comment

              Working...