“在系统中找不到批次/序列nbr('anyNumber')”,为什么我得到这个? [英] "Lot/serial nbr ('anyNumber') can not found in the system", why am i getting this?

查看:177
本文介绍了“在系统中找不到批次/序列nbr('anyNumber')”,为什么我得到这个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

系统中找不到批次/序列号nbr('anyNumber'),为什么在将库存从一个位置转移到另一个位置时得到此提示?
1)将库存从SHIPMENT位置/仓库转移到另一个位置仓库。
2),然后再次从以上位置的仓库转移到另一个仓库/位置。

"Lot/serial nbr ('anyNumber') can not found in the system", why am i getting this when transfer inventory from a location to another? 1) Transferred inventory from SHIPMENT location/warehouse to another location warehouse. 2) then transferring again from above location warehouse to another warehouse/location. then got error.

        INTransferEntry transferGraph = PXGraph.CreateInstance<INTransferEntry>();
        INRegister reg = new INRegister();
        reg.SiteID = lotDetail.WarehouseID;
        reg.ToSiteID = distribution.ToWarehouseID;
        reg.TransferType = Order.Current.TranType;
        reg.DocType = INDocType.Transfer;
        reg.TranDate = DateTime.Now;
        reg.TotalQty = distribution.Qty;

        reg = transferGraph.transfer.Insert(reg);

        INTran tran = new INTran();

        tran.INTransitQty = distribution.Qty;
        tran.InventoryID = Order.Current.InventoryID;
        tran.ToLocationID = distribution.ToLocationID;
        tran.ToSiteID = distribution.ToWarehouseID;
        tran.TranType = INTranType.Transfer;
        tran.InvtMult = INTranType.InvtMult(tran.TranType);
        tran.Qty = distribution.Qty;
        tran.ReasonCode = distribution.ReasonCode;
        tran.SiteID = lotDetail.WarehouseID;
        tran.LocationID = lotDetail.LocationID;
        tran.TranDesc = distribution.Description;
        tran.LotSerialNbr = lotDetail.LotSerNumVal;
        tran = transferGraph.transactions.Insert(tran);


推荐答案

您需要查看INTranSplit DAC,它链接INTran DAC进行批次跟踪,以管理链接到INItem的现有批次

You need to look at the INTranSplit DAC, it links the Lot Tracking with the INTran DAC to manage the existing Lots linked to the INItem

这篇关于“在系统中找不到批次/序列nbr('anyNumber')”,为什么我得到这个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆