示例#1
0
    public long updateACDetail(BOChartAccounts boaddemp)
    {
        try
        {
            Hashtable ht = new Hashtable();
            ht.Add("ACode", boaddemp.ACode1);
            ht.Add("AC1", boaddemp.AC11);
            ht.Add("AC2", boaddemp.AC21);
            ht.Add("AC3", boaddemp.AC31);
            ht.Add("AC4", boaddemp.AC41);


            ht.Add("ACName", boaddemp.ACName1);
            ht.Add("OpeningBalance", boaddemp.OpeningBalance1);
            ht.Add("UpdatedBy", boaddemp.UpdatedBy1);
            ht.Add("DateUpdated", boaddemp.DateUpdated1);


            return(Convert.ToInt32(iDBUtility.InsertData(ht, "spUpdateACDetail")));
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }
示例#2
0
    public long insertACDetail(BOChartAccounts boaddemp)
    {
        try
        {
            Hashtable ht = new Hashtable();
            ht.Add("ACode", boaddemp.ACode1);
            ht.Add("AC1", boaddemp.AC11);
            ht.Add("AC2", boaddemp.AC21);
            ht.Add("AC3", boaddemp.AC31);
            ht.Add("AC4", boaddemp.AC41);
            ht.Add("AC5", boaddemp.AC51);
            ht.Add("ACName", boaddemp.ACName1);
            //ht.Add("EntryType", boaddemp.EntryType1);
            ht.Add("TransactionType", boaddemp.TransactionType1);
            ht.Add("IsInActive", boaddemp.IsInActive1);
            ht.Add("Transfered ", boaddemp.Transfered1);
            ht.Add("AddedBy", boaddemp.AddedBy1);
            ht.Add("DateAdded ", boaddemp.DateAdded1);
            ht.Add("UpdatedBy", boaddemp.UpdatedBy1);
            ht.Add("DateUpdated", boaddemp.DateUpdated1);
            ht.Add("OpeningBalance", boaddemp.OpeningBalance1);
            ht.Add("OpeningBalanceDate", boaddemp.OpeningBalanceDate1);

            return(Convert.ToInt32(iDBUtility.InsertData(ht, "spInsertACDetail")));
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }
示例#3
0
    public long insertAC1(BOChartAccounts boaddemp)
    {
        Hashtable ht = new Hashtable();

        ht.Add("AC1", boaddemp.AC11);
        ht.Add("AC1ManualCode", boaddemp.AC1ManualCode1);
        ht.Add("AC1Name", boaddemp.AC1Name1);
        ht.Add("Transfered ", boaddemp.Transfered1);
        ht.Add("AddedBy", boaddemp.AddedBy1);
        ht.Add("DateAdded ", boaddemp.DateAdded1);
        ht.Add("UpdatedBy", boaddemp.UpdatedBy1);
        ht.Add("DateUpdated", boaddemp.DateUpdated1);
        return(Convert.ToInt32(iDBUtility.InsertData(ht, "spInsertAC1")));
    }
示例#4
0
    public long InsertACDetailReportHead(BOChartAccounts boItem)
    {
        try
        {
            Hashtable ht = new Hashtable();

            ht.Add("ACode", boItem.ACode1);
            ht.Add("ReportHead", boItem.ReportHead1);

            return(Convert.ToInt64(iDBUtility.InsertData(ht, "spInsertDenim_FM_ACDetailReportHead")));
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }
示例#5
0
    public static long InsertACDetailReportHead(BOChartAccounts boaddemployee)
    {
        DAChartAccounts daaddemp = new DAChartAccounts();

        return(Convert.ToInt64(daaddemp.InsertACDetailReportHead(boaddemployee)));
    }
示例#6
0
    public static long updateACDetail(BOChartAccounts boaddemployee)
    {
        DAChartAccounts daaddemp = new DAChartAccounts();

        return(Convert.ToInt64(daaddemp.updateACDetail(boaddemployee)));
    }
示例#7
0
    public static long insertAC4(BOChartAccounts boaddemployee)
    {
        DAChartAccounts daaddemp = new DAChartAccounts();

        return(Convert.ToInt64(daaddemp.insertAC4(boaddemployee)));
    }