/// <summary> /// Get CONTRACTPERIOD Records from PV1 /// </summary> public static IEnumerable GetCONTRACTPERIODRecords(this PV1 message) { object[] result = message.GetRecords("CONTRACTPERIODRepetitionsUsed", "GetCONTRACTPERIOD"); if ((result != null) && (result.Count() > 0)) { for (int i = 0; i < result.Count(); i++) { yield return(result[i]); } } }
/// <summary> /// Get FINANCIALCLASS Records from PV1 /// </summary> public static IEnumerable GetFINANCIALCLASSRecords(this PV1 message) { object[] result = message.GetRecords("FINANCIALCLASSRepetitionsUsed", "GetFINANCIALCLASS"); if ((result != null) && (result.Count() > 0)) { for (int i = 0; i < result.Count(); i++) { yield return(result[i]); } } }