Esempio n. 1
0
 private string GetART(string order)
 {
     try
     {
         var x = context.spView_OrderNumber_ARTGetAll1(order).LastOrDefault();
         if (x != null)
         {
             return(Increment(x.OrderIndex));
         }
         else
         {
             return("001");
         }
     }
     catch (Exception e)
     {
         throw (e);
     }
 }