ÎļþÃû´Ó Tiger.Business/WMS/Minsun/CustomerSupplyIn.cs ÐÞ¸Ä |
| | |
| | | return action; |
| | | } |
| | | var nLocation = new Model.Minsun.WMS_LOCATION(); |
| | | var nDisassembleBarcode = Biz.iWMS.SplitFullBarcode(sn).Data; |
| | | var nDisassembleBarcode = iWMS.SplitFullBarcode(sn).Data; |
| | | //éªè¯æ¡ç æ¯å¦å·²ç»åå¨ |
| | | var nBarcode = Biz.Db.Queryable<WMS_BARCODE>().Where(t => t.BARCODE.ToUpper() == nDisassembleBarcode.Barcode.ToUpper()).First(); |
| | | if (nBarcode != null) |
| | |
| | | // 夿æ¯å¦æºè½è´§æ¶ |
| | | if (CustomerSupplyPuton.IsSmartRack) |
| | | { |
| | | Result<ShelfOperateOutput> result = await Biz.Shelf.UpShelf(new ShelfOperateInput |
| | | Result<ShelfOperateOutput> result = await Shelf.UpShelf(new ShelfOperateInput |
| | | { |
| | | ShelfNo = CustomerSupplyPuton.RackCode, |
| | | OperateType = "1" |
| | |
| | | } |
| | | |
| | | //æ§è¡å
¥åº |
| | | action = Biz.iWMS.MultiInStorageAsync(new MultiInvInStorageInput |
| | | action = iWMS.MultiInStorageAsync(new MultiInvInStorageInput |
| | | { |
| | | InvBarcodes = new List<WMS_BARCODE>() { nBarcode }, |
| | | InvBarcodeLogs = new List<WMS_BARCODE_LOG> |
| | |
| | | pmdt018 = billHeader.REMARK |
| | | }); |
| | | } |
| | | var ret = Biz.ErpT100.GenerateOtherIn(new OtherInputParameter<Detail4> |
| | | var ret = ErpT100.GenerateOtherIn(new OtherInputParameter<Detail4> |
| | | { |
| | | parameter = new InParameter<Detail4> |
| | | { |
| | |
| | | StateFlag = nDisassembleBarcode.StateFlag, |
| | | LocationCode = nLocation.LOCATIONCODE, |
| | | ReceiptCode = barcodeScanned?.BUSINESSCODE, |
| | | IncompleteTips = isCompleted? "æ°éï¼0 (0ç)" : Biz.iWMS.GetIncompleteTips(barcodeScanned?.BUSINESSCODE, barcodeScanned?.MATERIALCODE), |
| | | IncompleteTips = isCompleted? "æ°éï¼0 (0ç)" : iWMS.GetIncompleteTips(barcodeScanned?.BUSINESSCODE, barcodeScanned?.MATERIALCODE), |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | |
| | | pmdt018 ="åç±³ç§æ" |
| | | }); |
| | | } |
| | | var ret = Biz.ErpT100.GenerateOtherIn(new OtherInputParameter<Detail4> |
| | | var ret = ErpT100.GenerateOtherIn(new OtherInputParameter<Detail4> |
| | | { |
| | | parameter = new InParameter<Detail4> |
| | | { |