From acd63bd393655fbb2315f1f984710c0025b3210d Mon Sep 17 00:00:00 2001 From: Hamid Date: Thu, 1 Feb 2024 15:41:26 +0100 Subject: [PATCH 1/2] Adding new Pruefis to PruefiEnum --- EDILibrary/Constants/German/Pruefidentifikatoren.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/EDILibrary/Constants/German/Pruefidentifikatoren.cs b/EDILibrary/Constants/German/Pruefidentifikatoren.cs index 73de8a5..398eda5 100644 --- a/EDILibrary/Constants/German/Pruefidentifikatoren.cs +++ b/EDILibrary/Constants/German/Pruefidentifikatoren.cs @@ -672,6 +672,11 @@ public static class Pruefidentifikatoren public const string UTILMD_55232_SdaeStrom_NichtBilarelAnfrageAbrechnungBlindarbeitAnLf = "55232"; public const string UTILMD_55233_SdaeStrom_AntwortAufAnfrageAbrechnungBlindarbeitAnLf = "55233"; public const string UTILMD_55234_SdaeStrom_AblehnungAnfrageAbrechnungBlindarbeitAnLf = "55234"; + public const string UTILMD_55557_SdaeStrom_AenderungVonMSBAbrechnungsdaten = "55557"; + public const string UTILMD_55558_SdaeStrom_AntwortAufAenderungVonMSBAbrechnungsdaten = "55558"; + public const string UTILMD_55559_SdaeStrom_AnfrageVonMSBAbrechnungsdaten = "55559"; + public const string UTILMD_55560_SdaeStrom_AntwortAufAnfrageVonMSBAbrechnungsdaten = "55560"; + public const string UTILMD_55561_SdaeStrom_AblehnungDerAnfrageVonMSBAbrechnungsdaten = "55561"; public const string UTILMD_55235_Mabis_ZuordnungZpDerNgzZurNzr = "55235"; public const string UTILMD_55236_Mabis_BeendigungZuordnungZpDerNgzZurNzr = "55236"; public const string UTILMD_55237_Mabis_AntwortAufZuordnung_BeendigungZuordnungZpDerNgzZurNzr = "55237"; From 618be1833f8adede054f5a8b7d26590701941b54 Mon Sep 17 00:00:00 2001 From: Hamid Date: Thu, 1 Feb 2024 15:41:42 +0100 Subject: [PATCH 2/2] add new test item for S1.1a --- EDILibraryTests/EDIHelperTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EDILibraryTests/EDIHelperTests.cs b/EDILibraryTests/EDIHelperTests.cs index a546431..309cc0a 100644 --- a/EDILibraryTests/EDIHelperTests.cs +++ b/EDILibraryTests/EDIHelperTests.cs @@ -73,6 +73,9 @@ public void TestNormalizeEdiHeader(string input, string expectedResult) [DataRow( "UNA:+.? 'UNB+UNOC:3+123456789012345:500+123456789:500+210326:1553+WIM00000000901'UNH+WIM00000000901+UTILMD:D:11A:UN:S1.1'BGM+E03+WIM00000000901'DTM+137:202103261553:203'NAD+MS+123456789012345::293'CTA+IC+:Max Mustermann'COM+max@mustermann.de:EM'NAD+MR+123456789::293'IDE+24+WIMP0000000459'DTM+92:20210401:102'DTM+157:20210401:102'STS+7++ZE8'LOC+172+41234567896'RFF+Z13:11116'SEQ+Z01'CCI+Z30++Z06'", "{\"Format\":\"UTILMD\", \"Nachrichtenversion\":\"D\",\"Version\":\"S1.1\", \"Sender\":{\"CodeList\":\"500\",\"ID\":\"123456789012345\"}, \"Freigabenummer\":\"11A\", \"Empfänger\":{\"CodeList\":\"500\",\"ID\":\"123456789\"}, \"ID\":\"WIM00000000901\"}")] + [DataRow( + "UNA:+.? 'UNB+UNOC:3+123456789012345:500+123456789:500+210326:1553+WIM00000000901'UNH+WIM00000000901+UTILMD:D:11A:UN:S1.1a'BGM+E03+WIM00000000901'DTM+137:202103261553:203'NAD+MS+123456789012345::293'CTA+IC+:Max Mustermann'COM+max@mustermann.de:EM'NAD+MR+123456789::293'IDE+24+WIMP0000000459'DTM+92:20210401:102'DTM+157:20210401:102'STS+7++ZE8'LOC+172+41234567896'RFF+Z13:11116'SEQ+Z01'CCI+Z30++Z06'", + "{\"Format\":\"UTILMD\", \"Nachrichtenversion\":\"D\",\"Version\":\"S1.1a\", \"Sender\":{\"CodeList\":\"500\",\"ID\":\"123456789012345\"}, \"Freigabenummer\":\"11A\", \"Empfänger\":{\"CodeList\":\"500\",\"ID\":\"123456789\"}, \"ID\":\"WIM00000000901\"}")] public void TestGetEdiFileInfo(string input, string expectedOutput) {