I need to find packing_unit_* where _text = PCS and based on the number “*” find values in packing_unit_oversized*.
In this case, I need to retrieve and store the __text from packing_unit_oversized_2 and packing_unit_oversized_3 because PCS is in packing_unit_2 and packing_unit_3.
Is there a way to do this other than using a “code transformer”?
{
"specification": {
"list-by-lang": {
"attribute": [
{
"_id": "packing_unit",
"__text": "1PCSETUP"
},
{
"_id": "packing_unit_2",
"__text": "PCS"
},
{
"_id": "packing_unit_3",
"__text": "PCS"
},
{
"_id": "packing_unit_4",
"__text": "PALLET"
},
{
"_id": "packing_unit_bks",
"__text": "1"
},
{
"_id": "packing_unit_bks_2",
"__text": "1"
},
{
"_id": "packing_unit_bks_3",
"__text": "2"
},
{
"_id": "packing_unit_bks_4",
"__text": "15"
},
{
"_id": "packing_unit_d",
"__text": "590.0000"
},
{
"_id": "packing_unit_d_2",
"__text": "1005.0000"
},
{
"_id": "packing_unit_d_3",
"__text": "730.0000"
},
{
"_id": "packing_unit_d_4",
"__text": "1200.0000"
},
{
"_id": "packing_unit_oversized",
"__text": "1"
},
{
"_id": "packing_unit_oversized_2",
"__text": "2"
},
{
"_id": "packing_unit_oversized_3",
"__text": "3"
},
{
"_id": "packing_unit_oversized_4",
"__text": "3"
},
{
"_id": "packing_unit_s",
"__text": "635.0000"
},
{
"_id": "packing_unit_s_2",
"__text": "665.0000"
},
{
"_id": "packing_unit_s_3",
"__text": "600.0000"
},
{
"_id": "packing_unit_s_4",
"__text": "800.0000"
},
{
"_id": "packing_unit_sendable",
"__text": "0"
},
{
"_id": "packing_unit_sendable_2",
"__text": "1"
},
{
"_id": "packing_unit_sendable_3",
"__text": "1"
},
{
"_id": "packing_unit_sendable_4",
"__text": "1"
},
{
"_id": "packing_unit_v",
"__text": "982.0000"
},
{
"_id": "packing_unit_v_2",
"__text": "85.0000"
},
{
"_id": "packing_unit_v_3",
"__text": "135.0000"
},
{
"_id": "packing_unit_v_4",
"__text": "2200.0000"
}
],
"_lang": "eu"
}
}
}