From 318cf7790e4058e9833317224454d85e99b0d08c Mon Sep 17 00:00:00 2001 From: bleeson Date: Thu, 20 Mar 2025 10:52:31 -0700 Subject: [PATCH] Adjustment to item lot appending. --- edi_944.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edi_944.py b/edi_944.py index 9a2d70a..d4495c7 100644 --- a/edi_944.py +++ b/edi_944.py @@ -448,7 +448,7 @@ class ReceiptDetailList: if itmref in self._item_set: for detail in self._details: for subdetail in detail.subdetails: - if subdetail.lot == receipt_subdetail.lot: + if detail.itmref == itmref and subdetail.lot == receipt_subdetail.lot: subdetail.append(receipt_subdetail) return if detail.itmref == itmref: