Пример #1
0
        public static void CopyTo(fmIOrder from, fmIOrder to)
        {
            to.Code     = from.Code;
            to.Name     = from.Name;
            to.NameFull = from.NameFull;
//            to.Subject = from.Subject as fmCSubjectExt;
            to.DateBegin             = from.DateBegin;
            to.DateEnd               = from.DateEnd;
            to.BuhAccountCode        = from.BuhAccountCode;
            to.BuhIntNum             = from.BuhIntNum;
            to.AVTRate               = from.AVTRate;
            to.FixKoeff              = from.FixKoeff;
            to.FixKoeffOZM           = from.FixKoeffOZM;
            to.Manager               = from.Manager;
            to.ManagerPlanDepartment = from.ManagerPlanDepartment;
            to.SourceParty           = from.SourceParty;
            to.SourceDeal            = from.SourceDeal;
            to.SourceOther           = from.SourceOther;
            to.AnalitycAccouterType  = from.AnalitycAccouterType;
            to.AnalitycAVT           = from.AnalitycAVT;
            to.AnalitycFinanceSource = from.AnalitycFinanceSource;
            to.AnalitycMilitary      = from.AnalitycMilitary;
            to.AnalitycOrderSource   = from.AnalitycOrderSource;
            to.AnalitycWorkType      = from.AnalitycWorkType;
            to.AnalitycOKVED         = from.AnalitycOKVED;
            to.AnalitycFedProg       = from.AnalitycFedProg;
            to.AnalitycRegion        = from.AnalitycRegion;
            to.AnalitycBigCustomer   = from.AnalitycBigCustomer;
        }
Пример #2
0
 public void CopyTo(fmIOrder to)
 {
     fmIOrderLogic.CopyTo(this, to);
 }