public static int DeleteInvoiceByInvoiceID(long InvoiceId, byte InvoiceType)
        {
            byte Status = 0;
            JavaScriptSerializer jss = new JavaScriptSerializer();

            Status = (byte)EntrebatorEnumandConstants.Enumbers.InvoiceStatus.Canceled;
            int r = TransactionsManager.DeleteInvoiceByInvoiceID(InvoiceId, InvoiceType, Status);

            return(r);
        }