Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public int CharteredAccountInsert(EmCharteredAccounts objcharteredaccount)
 {
     return(_objDALChartedAcc.CharteredAccountInsert(objcharteredaccount));
 }