示例#1
0
        private Article CollectData()
        {
            Article fobj = new Article()
            {
                Article_id = vId,
                Po_id      = CPo_exten.GetId_Name(txt_po_id.Text),
                Article_no = txt_article_no.Text,
                Product_id = CProduct_exten.GetId_Name(txt_product_id.Text),
                Hsncode_id = CHsncode_exten.GetId_Name(txt_hsncode_id.Text),
                Sizes_id   = CSizes_exten.GetId_Name(txt_sizes_id.Text),
                Colours_id = CColours_exten.GetId_Name(txt_colours_id.Text),
                Qty        = txt_qty.Text,
                Price      = ConvertTO.Decimal(txt_price.Text),
                Barcode    = txt_barcode.Text,
                Active_id  = Core.Stative,
                Notes      = txt_notes.Text,
                User_id    = Current.User
            };

            return(fobj);
        }
示例#2
0
 void Txt_hsncode_LookupUpdate(object sender, EventArgs e)
 {
     txt_hsncode_id.LookupList = CHsncode_exten.GetforLookup(new DAL());
 }