public int InsertAgencycreditmemo(EMAgencyCreditMemo objEMAgencycreditmemo)
        {
            Hashtable htparams = new Hashtable
            {
                { "@IsCreditNote", objEMAgencycreditmemo.IsCreditNote },
                { "@CreditMemoRevId", objEMAgencycreditmemo.CreditMemoRevId },
                { "@AcmNo", objEMAgencycreditmemo.AcmNo },
                { "@TicketNo", objEMAgencycreditmemo.TicketNo },
                { "@Supplier", objEMAgencycreditmemo.Supplier },
                { "@Type", objEMAgencycreditmemo.Type },
                { "@PassengerName", objEMAgencycreditmemo.PassengerName },
                { "@ExcluFare", objEMAgencycreditmemo.ExcluFare },
                { "@FareVat", objEMAgencycreditmemo.FareVat },
                { "@Commission", objEMAgencycreditmemo.Commission },
                { "@DepatureTaxes", objEMAgencycreditmemo.DepatureTaxes },
                { "@AgentVat", objEMAgencycreditmemo.AgentVat },
                { "@ClientTotal", objEMAgencycreditmemo.ClientTotal },
                { "@BSP", objEMAgencycreditmemo.BSP },
                //   {"@CreditCard",objEMAgencycreditmemo.CreditCard},
                { "@ProInvId", objEMAgencycreditmemo.ProInvId },
                { "@InvId", objEMAgencycreditmemo.InvId },
                { "@CompanyId", objEMAgencycreditmemo.CompanyId },
                { "@BranchId", objEMAgencycreditmemo.BranchId },
                { "@CreatedBy", objEMAgencycreditmemo.CreatedBy },
                { "@CreatedOn", objEMAgencycreditmemo.CreatedOn },
                { "@UpdatedBy", objEMAgencycreditmemo.UpdatedBy },
                { "@UpdatedON", objEMAgencycreditmemo.UpdatedON },
                { "@AcmTempUniqId", objEMAgencycreditmemo.AcmTempUniqId },
                { "@InvoiceType", objEMAgencycreditmemo.InvoiceType }
            };

            int IsSuccess = ExecuteNonQuery("AgencyCreditMemo_Insert", htparams);

            return(IsSuccess);
        }
 public int InsertAgencycreditmemo(EMAgencyCreditMemo objAgencycreditmemo)
 {
     return(objDALACM.InsertAgencycreditmemo(objAgencycreditmemo));
 }