Beispiel #1
0
        public int CharteredAccountInsert(EmCharteredAccounts objChartedAccount)
        {
            Hashtable htParams = new Hashtable
            {
                { "@ChartedAccId", objChartedAccount.ChartedAccId },
                { "@ChartedAccName", objChartedAccount.ChartedAccName },
                { "@ChartedMasterAccName", objChartedAccount.ChartedMasterAccName },
                { "@Type", objChartedAccount.Type },
                { "@AccCode", objChartedAccount.AccCode },
                { "@CompanyId", objChartedAccount.CompanyId },
                { "@BranchId", objChartedAccount.BranchId },
                { "@DepartmentId", objChartedAccount.DepartmentId },
                { "@CreatedBy", objChartedAccount.CreatedBy },
                { "@BaseCurrency", objChartedAccount.BaseCurrency },
                { "@TranCurrency", objChartedAccount.TranCurrency },
                { "@CategoryId", objChartedAccount.CategoryId },
                { "@IsClient", objChartedAccount.Isclient }
            };

            return(ExecuteNonQuery("CharteredAccounts_Insert", htParams));
        }
 public int CharteredAccountInsert(EmCharteredAccounts objcharteredaccount)
 {
     return(_objDALChartedAcc.CharteredAccountInsert(objcharteredaccount));
 }