Exemplo n.º 1
0
 public static void CopyAppHeaderInfo(ref App_Detail_PLB02_CGD_Info p_appDetail, ApplicationHeaderInfo pAppInfo)
 {
     p_appDetail.STT                = pAppInfo.STT;
     p_appDetail.Detail_Id          = pAppInfo.Id;
     p_appDetail.Appcode            = pAppInfo.Appcode;
     p_appDetail.Master_Name        = pAppInfo.Master_Name;
     p_appDetail.Master_Address     = pAppInfo.Master_Address;
     p_appDetail.Master_Phone       = pAppInfo.Master_Phone;
     p_appDetail.Master_Fax         = pAppInfo.Master_Fax;
     p_appDetail.Master_Email       = pAppInfo.Master_Email;
     p_appDetail.Rep_Master_Type    = pAppInfo.Rep_Master_Type;
     p_appDetail.Rep_Master_Name    = pAppInfo.Rep_Master_Name;
     p_appDetail.Rep_Master_Address = pAppInfo.Rep_Master_Address;
     p_appDetail.Rep_Master_Phone   = pAppInfo.Rep_Master_Phone;
     p_appDetail.Rep_Master_Fax     = pAppInfo.Rep_Master_Fax;
     p_appDetail.Rep_Master_Email   = pAppInfo.Rep_Master_Email;
     p_appDetail.Relationship       = pAppInfo.Relationship;
     p_appDetail.Send_Date          = pAppInfo.Send_Date;
     p_appDetail.Status             = pAppInfo.Status;
     p_appDetail.Status_Form        = pAppInfo.Status_Form;
     p_appDetail.Status_Content     = pAppInfo.Status_Content;
     p_appDetail.Remark             = pAppInfo.Remark;
     p_appDetail.AppName            = pAppInfo.AppName;
     p_appDetail.Address            = pAppInfo.Address;
     p_appDetail.DateNo             = pAppInfo.DateNo;
     p_appDetail.Months             = pAppInfo.Months;
     p_appDetail.Years              = pAppInfo.Years;
 }
Exemplo n.º 2
0
        public App_Detail_PLB02_CGD_Info(App_Detail_PLB02_CGD_Info p_app_detail, ApplicationHeaderInfo p_app_header)
        {
            this.Language_Code  = p_app_detail.Language_Code;
            this.App_Header_Id  = p_app_detail.App_Header_Id;
            this.Appcode        = p_app_detail.Appcode;
            this.Master_Type    = p_app_detail.Master_Type;
            this.Second_Name    = p_app_detail.Second_Name;
            this.Second_Address = p_app_detail.Second_Address;
            this.Second_Phone   = p_app_detail.Second_Phone;
            this.Second_Fax     = p_app_detail.Second_Fax;
            this.Second_Email   = p_app_detail.Second_Email;
            this.Customer_Code  = p_app_detail.Customer_Code;


            this.STT = p_app_header.STT;
            //this.Id = p_app_header.Id;
            this.Appcode            = p_app_header.Appcode;
            this.Master_Name        = p_app_header.Master_Name;
            this.Master_Address     = p_app_header.Master_Address;
            this.Master_Phone       = p_app_header.Master_Phone;
            this.Master_Fax         = p_app_header.Master_Fax;
            this.Master_Email       = p_app_header.Master_Email;
            this.Rep_Master_Type    = p_app_header.Rep_Master_Type;
            this.Rep_Master_Name    = p_app_header.Rep_Master_Name;
            this.Rep_Master_Address = p_app_header.Rep_Master_Address;
            this.Rep_Master_Phone   = p_app_header.Rep_Master_Phone;
            this.Rep_Master_Fax     = p_app_header.Rep_Master_Fax;
            this.Rep_Master_Email   = p_app_header.Rep_Master_Email;
            this.Relationship       = p_app_header.Relationship;
            this.Send_Date          = p_app_header.Send_Date;
            this.Status             = p_app_header.Status;
            this.Status_Form        = p_app_header.Status_Form;
            this.Status_Content     = p_app_header.Status_Content;
            this.Remark             = p_app_header.Remark;
            this.AppName            = p_app_header.AppName;
            this.Address            = p_app_header.Address;
            this.DateNo             = p_app_header.DateNo;
            this.Months             = p_app_header.Months;
            this.Years = p_app_header.Years;
        }