Пример #1
0
        /// <summary>
        /// 对象转换
        /// </summary>
        /// <param name="planinfo"></param>
        /// <returns></returns>
        private static BFDAVmiSupplyPlanInfo GetBFDAVmiSupplyPlanInfo(WmsVmiSupplyPlanInfo planinfo)
        {
            ///TDD 未完成
            BFDAVmiSupplyPlanInfo bFDAVmiSupplyPlanInfo = new BFDAVmiSupplyPlanInfo();

            return(bFDAVmiSupplyPlanInfo);
        }
Пример #2
0
        /// <summary>
        /// 对象转换
        /// </summary>
        /// <param name="vmiInfo"></param>
        /// <returns></returns>
        private static BFDAVmiSupplyPlanInfo GetBFDAVmiInfo(WmsVmiSupplyPlanInfo vmiInfo)
        {
            BFDAVmiSupplyPlanInfo bFDAVmiSupplyPlanInfo = new BFDAVmiSupplyPlanInfo();

            bFDAVmiSupplyPlanInfo.SupplierCode     = vmiInfo.SupplierNum;
            bFDAVmiSupplyPlanInfo.PartNo           = vmiInfo.PartNo;
            bFDAVmiSupplyPlanInfo.RequireDate      = vmiInfo.DeliveryDate.GetValueOrDefault().ToString(vmiDateFormat);
            bFDAVmiSupplyPlanInfo.PartQty          = vmiInfo.RequireQty.GetValueOrDefault();
            bFDAVmiSupplyPlanInfo.VmiWarehouseCode = vmiInfo.VmiWmNo;
            bFDAVmiSupplyPlanInfo.Werks            = vmiInfo.Plant;
            return(bFDAVmiSupplyPlanInfo);
        }