Esempio n. 1
0
        public static DataTable DC_Get_InvoiceDetails_On_subdocID(decimal InvNo, string MultiDocNo, string CreatedBy)
        {
            DataSet   set   = new AdminDataService_DC().DC_Get_InvoiceDetails_On_subdocID(InvNo, MultiDocNo, CreatedBy);
            DataTable table = new DataTable();

            return(set.Tables[0]);
        }
Esempio n. 2
0
        public static DataTable DC_Get_InvoiceDetails_On_subdocID(string MultiDocNo)
        {
            DataSet   set   = new AdminDataService_DC().DC_Get_InvoiceDetails_On_subdocID(MultiDocNo);
            DataTable table = new DataTable();

            return(set.Tables[0]);
        }
Esempio n. 3
0
        public static DataTable DC_Get_InvoiceDetails_On_subdocID(decimal subDocNo, int Docno)
        {
            DataSet   set   = new AdminDataService_DC().DC_Get_InvoiceDetails_On_subdocID(subDocNo, Docno);
            DataTable table = new DataTable();

            return(set.Tables[0]);
        }
Esempio n. 4
0
        public static DataTable Rep_DC_Get_Datails_OnSubdocno(int Docno)
        {
            DataSet   set   = new AdminDataService_DC().Rep_DC_Get_Datails_OnSubdocno(Docno);
            DataTable table = new DataTable();

            return(set.Tables[0]);
        }
Esempio n. 5
0
        public static DataTable DC_Get_DCDetails_for_MultiPrint(int InvNo, string MultiDocNo)
        {
            DataSet   set   = new AdminDataService_DC().DC_Get_DCDetails_for_MultiPrint(InvNo, MultiDocNo);
            DataTable table = new DataTable();

            return(set.Tables[0]);
        }
        public static bool getChequeCash_valid(int FromNo)
        {
            DataTable table = new DataTable();

            table = new AdminDataService_DC().saveChequeCash_valid(FromNo).Tables[0];
            return(table.Rows.Count > 0);
        }
        public static bool getReciptbook_valid1(int FromNo, int ToNo)
        {
            DataTable table = new DataTable();

            table = new AdminDataService_DC().saveReciptbookEntry2_valid(FromNo, ToNo).Tables[0];
            return(table.Rows.Count > 0);
        }
Esempio n. 8
0
        public static bool Idv_Chetana_Get_Validate_PurchaseInvoice(int Invoice)
        {
            DataTable table = new DataTable();

            table = new AdminDataService_DC().Idv_Chetana_Get_Validate_PurchaseInvoice(Invoice).Tables[0];
            return(table.Rows.Count > 0);
        }
Esempio n. 9
0
        public static bool Get_Validate_PettyCash_Details(string VoucherNo)
        {
            DataTable table = new DataTable();

            table = new AdminDataService_DC().Get_Validate_PettyCash_Details(VoucherNo).Tables[0];
            return(table.Rows.Count > 0);
        }
Esempio n. 10
0
        public static bool GetDCOrderNoAuthentication(string OrderNo, int FY)
        {
            DataTable table = new DataTable();

            table = new AdminDataService_DC().GetDCOrderNoAuthentication(OrderNo, FY).Tables[0];
            return((table.Rows.Count > 0) && (table.Rows[0]["OrderNo"].ToString() == OrderNo));
        }
Esempio n. 11
0
        public static bool Get_DocumentNum_Authentication(int DocumentNo, int FY)
        {
            DataTable table = new DataTable();

            table = new AdminDataService_DC().Get_DocumentNum_Authentication(DocumentNo, FY).Tables[0];
            if (table.Rows.Count > 0)
            {
                return((table.Rows[0]["DocumentNo"].ToString() == Convert.ToString(DocumentNo)) && false);
            }
            return(true);
        }
Esempio n. 12
0
        public static string getReciptbook_valid(int receiptNo)
        {
            DataSet set = new DataSet();

            set = new AdminDataService_DC().saveReciptbook_valid(receiptNo);
            if (set.Tables[0].Rows.Count > 0)
            {
                if (set.Tables[0].Rows[0][0].ToString().ToLower() == "0")
                {
                    return(set.Tables[0].Rows[0][1].ToString());
                }
                return(set.Tables[0].Rows[0][1].ToString());
            }
            return(set.Tables[0].Rows[0][1].ToString());
        }