26afdf3e9a
Both delivery paths (HU via E1EDL37/E1EDL44 and no-HU via E1EDL24) now produce one SGTIN-96 XMLEPC per unit when EDI_DC40/TEST = 'X' and no E1EPC03 URNs are present in the message. Serials are derived from MD5(DOCNUM + SSCC+POSNR+counter) for HU items and MD5(DOCNUM + POSNR+counter) for direct items, ensuring uniqueness across positions and handling units. DeliveredQuantity in the no-HU path corrected from LGMNG to LFIMG.