Ejemplo n.º 1
0
        public bool ConvertToDataRow(ref System.Data.DataRow row)
        {
            try
            {
                BizBase.SetValue(row, "Id", this.SupplierId);

                BizBase.SetValue(row, "SupplierNo", this.SupplierNo);

                BizBase.SetValue(row, "Salutation", this.Salutation);
                BizBase.SetValue(row, "LastName", this.LastName);
                BizBase.SetValue(row, "FirstName", this.FirstName);

                BizBase.SetValue(row, "Adress", this.Adress);
                BizBase.SetValue(row, "ZIPCode", this.ZipCode);
                BizBase.SetValue(row, "Town", this.Town);

                BizBase.SetValue(row, "Phone01", this.Phone01);
                BizBase.SetValue(row, "EMail01", this.EMail01);

                BizBase.SetValue(row, "Memo", this.Memo);

                BizBase.SetValue(row, "ReturnedToSupplier", this.ReturnedToSupplier);

                return(true);
            }
            catch (Exception)
            {
                // ignored
            }
            return(false);
        }
Ejemplo n.º 2
0
        public bool ConvertToDataRow(ref System.Data.DataRow row)
        {
            try
            {
                BizBase.SetValue(row, "SupplierId", this.SupplierId);

                BizBase.SetValue(row, "PositionNo", this.PositionNo);

                BizBase.SetValue(row, "Material", this.Material);
                BizBase.SetValue(row, "Category", this.Category);
                BizBase.SetValue(row, "Manufacturer", this.Manufacturer);

                BizBase.SetValue(row, "PriceMin", this.PriceMin);
                BizBase.SetValue(row, "PriceMax", this.PriceMax);

                BizBase.SetValue(row, "SoldFor", this.SoldFor);
                BizBase.SetValue(row, "SoldAt", this.SoldAt);

                BizBase.SetValue(row, "ReturnedToSupplierAt", this.ReturnedToSupplierAt);

                BizBase.SetValue(row, "Memo", this.Memo);

                BizBase.SetValue(row, "LastChange", this.LastChange);

                return(true);
            }
            catch (Exception)
            {
                // ignored
            }
            return(false);
        }
Ejemplo n.º 3
0
        public bool ConvertToDataRow(ref System.Data.DataRow row)
        {
            try
            {
                BizBase.SetValue(row, "Id", this.Id);

                BizBase.SetValue(row, "Designation", this.Designation);

                return(true);
            }
            catch (Exception)
            {
                // ignored
            }
            return(false);
        }