/// <summary> /// SapSupplierQuotaInfo -> SupplierPartQuotaInfo /// </summary> /// <param name="sapSupplierQuotaInfo"></param> /// <param name="info"></param> public static void GetSupplierPartQuotaInfo(SapSupplierQuotaInfo sapSupplierQuotaInfo, ref SupplierPartQuotaInfo info) { if (sapSupplierQuotaInfo == null) { return; } ///FID, info.Fid = Guid.NewGuid(); ///PART_NO,零件号 info.PartNo = sapSupplierQuotaInfo.PartNo; ///QUOTE,配额 info.Quote = sapSupplierQuotaInfo.Quote; ///EFFECTIVE_DATE,生效日期 //info.EffectiveDate = sapSupplierQuotaInfo.IDate; /////INVALID_DATE,失效日期 //info.InvalidDate = sapSupplierQuotaInfo.EDate; ///AGREEMENT_NO,协议编号 info.AgreementNo = sapSupplierQuotaInfo.Znrmm; ///SUPPLIER_NUM,供应商 info.SupplierNum = sapSupplierQuotaInfo.Lifnr; }
public long InsertInfo(SapSupplierQuotaInfo info) { return(dal.Add(info)); }