ReferenceError: "OBR" is not defined.

vendredi 3 octobre 2014

What am I missing here? I pretty much have this exact same thing in a getSegmentsAfter step but don't get this error.



for each (obr in msg..OBR) {

var foundQ0 = "";

var foundQ1 = "";

var zudSegments = createSegmentAfter('ZUD', OBR);



for each (var seg in zudSegments)

{

{

if (seg['OBR.45']['OBR.45.1'].toString() == "Q0")



{



foundQ0 = "Q0";



}





if (foundQ0 == "Q0")

{

seg['ZUD.3']['ZUD.3.1'] = "Q0";

seg['ZUD.4']['ZUD.4.1'] = "Modifier";

}

}

if (seg['OBR.45']['OBR.45.1'].toString()== "Q1")

{



{

foundQ1 = "Q1";



}



if (foundQ1 == "Q1")

{

seg['ZUD.3']['ZUD.3.1'] = "Q1";

seg['ZUD.4']['ZUD.4.1'] = "Modifier";

}



}

}

}





ReferenceError: "OBR" is not defined.

0 commentaires:

Enregistrer un commentaire