Description of the Issue:
The mainSIDC variable is of type Number, while the list contains string items. As a result, the condition always evaluates to false.
Example:
For the code "10031500001301000000", the mainSIDC resolves to 130100 (as a number), but the list item is "130100" (as a string).
This discrepancy prevents the condition from functioning as intended.
Description of the Issue: The
mainSIDC
variable is of typeNumber
, while the list contains string items. As a result, the condition always evaluates tofalse
.Example: For the code
"10031500001301000000"
, themainSIDC
resolves to130100
(as a number), but the list item is"130100"
(as a string).This discrepancy prevents the condition from functioning as intended.