111
tjx
2025-11-26 949f77af1da12b69fc4d3b273062abd0b2b2c7c0
MES.Service/service/BasicData/ProductionOrderManager.cs
@@ -161,7 +161,8 @@
            ClosingType = erpDto.FCloseType,
            Remarks = erpDto.FDescription,
            ErpId = erpDto.FID,
            ErpProductionEntryCode = erpDto.FSUBENTRYID,
            // ErpProductionEntryCode = erpDto.FSUBENTRYID,
            ErpProductionEntryCode = SUBBOM,
            Purchaseorderno = erpDto.FPurOrderNo,
            Purchaseorderentryseq = Convert.ToInt32(erpDto.FPurOrderEntrySeq),
            Stockinqty = Convert.ToDecimal(erpDto.FBaseStockInQty),
@@ -275,7 +276,8 @@
                Freservetype = erpDto.FRESERVETYPE,
                Fmemo = erpDto.FMEMO,
                Typeb = erpDto.TypeB,
                ErpProductionEntryCode = erpDto.FSUBENTRYID
                // ErpProductionEntryCode = erpDto.FSUBENTRYID
                ErpProductionEntryCode = erpDto.FBILLNO
            };
            var single = _productionOrderSubManager.GetSingle(it =>