Dropdown LIst throwing error while loading

 

 

 

Hi All,

 

One of the Dropdown List is throwing error while loading, but this seems to be working with other Dropdown lists.

Dropdown default loads with master data from tables, when I click new button to create a transaction record black form needs to open and dropdown should display blank and loaded with master data

I handled null, no luck its always throwing attached errors.

also attached results from backend.

dropdown code as follows(highlighted red Value tag which causing the issue) 

====================

rule!GLOB_dropdownFieldRefValues(
            label: "Material Grade (Master Data)",
            allChoiceLabels: ri!MaterailGradeData.DESCRIPTION ,
            allChoiceValues: ri!MaterailGradeData.DATA_ID,
            value:ri!EWR_EPMPARFPipelineList[ri!selectedRow_int].MATERIAL_GRADE_VALUE,
            saveInto:ri!EWR_EPMPARFPipelineList[ri!selectedRow_int].MATERIAL_GRADE_VALUE,
            placeholderLabel: "",
            activeChoiceLabels: index(ri!MaterailGradeData.DESCRIPTION,wherecontains(ri!EWR_EPMPARFPipelineList[ri!selectedRow_int].MATERIAL_GRADE, ri!MaterailGradeData.GRADE_ID)),
            activeChoiceValues: index(ri!MaterailGradeData.DATA_ID, wherecontains(ri!EWR_EPMPARFPipelineList[ri!selectedRow_int].MATERIAL_GRADE, ri!MaterailGradeData.GRADE_ID))
          )}),

 

Appreciate any help/suggestions..

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    A Score Level 2
    in reply to venkaty253
    When u have some place holder value, if the value is null, the drop down will work without throwing error. Make sure that the value should not be null if you don't have place holder. or have a if condition to check the "ri!EWR_EPMPARFPipelineList[ri!selectedRow_int].MATERIAL_GRADE_VALUE is null if it is null give a default value with in the choice values.
Children
No Data