Ejemplo n.º 1
0
 public static string GetProformaNumber()
 {
     DataLayer.NumberGenerator ng = new DataLayer.NumberGenerator();
     CLayer.InvoiceNumberData  dt = ng.GetNumber(Guid.NewGuid().ToString(), DataLayer.NumberGenerator.NumberType.Proforma);
     return(dt.InvoiceNumber);
 }
Ejemplo n.º 2
0
 public static CLayer.InvoiceNumberData GetInvoiceNumber()
 {
     DataLayer.NumberGenerator ng = new DataLayer.NumberGenerator();
     return(ng.GetNumber(Guid.NewGuid().ToString(), DataLayer.NumberGenerator.NumberType.Invoice));
 }