ORDERRepetitionsUsed
Brought to you by:
sdouglas50,
whitedog12
ORDERRepetitionsUsed is not correct in OML_021
If i generate a new Mesage with:
PipeParser parser = new PipeParser();
OML_O21 oml = new OML_O21();
oml.GetORDER(0).ORC.FillerOrderNumber.NamespaceID.Value="1";
oml.GetORDER(1).ORC.FillerOrderNumber.NamespaceID.Value = "1";
int z = oml.ORDERRepetitionsUsed; (z=2)
i get this OML_021 Message:
MSH|^~\&|||||||OML^O21|||2.5
ORC|||^1
ORC|||^1
But when i parse this generated Message back with:
OML_O21 parsedMessage = (OML_O21)parser.Parse(message);
if (parsedMessage is OML_O21)
{
int t = parsedMessage.ORDERRepetitionsUsed;
}
then the ORDERRepetitionsUsed is 1 and not 2 like above.
an i can not access the order No. 2
Anyone an idea??