Beispiel #1
0
 public void HoldPOs()
 {
     _pos.Each(p =>
     {
         Hold hold = new Hold()
         {
             ReasonCode  = p.GetHoldReason().ReasonCode,
             PONumber    = Convert.ToInt32(p.Number),
             HoldDate    = DateTime.Now,
             ReleaseDate = DateTime.Now.AddDays(2)
         };
         hold.AddAsync();
     });
 }