RequiItems.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using comal.timesheets.CustomControls;
  2. using Comal.Classes;
  3. using InABox.Clients;
  4. using InABox.Core;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. namespace comal.timesheets
  9. {
  10. public static class RequiItems
  11. {
  12. public static List<StoreRequiItem> NewRequisitionRows { get; set; }
  13. public static List<RequisitionItem> OldRequisitionItems { get; set; }
  14. public static List<StoreRequiIHoldingShell> holdingsCache { get; set; }
  15. public static bool HoldingsLoaded { get; set; }
  16. [DoNotPersist]
  17. public class StoreRequiIHoldingShell : Entity
  18. {
  19. public Guid LocationID { get; set; }
  20. public Guid ProductID { get; set; }
  21. public string LocationName { get; set; }
  22. public string Units { get; set; }
  23. public Guid JobID { get; set; }
  24. public string JobNumber { get; set; }
  25. public string JobName { get; set; }
  26. public Guid StyleID { get; set; }
  27. public string StyleCode { get; set; }
  28. public string StyleDescription { get; set; }
  29. public StockDimensions Dimensions { get; set; }
  30. public StoreRequiIHoldingShell()
  31. {
  32. LocationID = Guid.Empty;
  33. ProductID = Guid.Empty;
  34. LocationName = "";
  35. Units = "";
  36. JobID = Guid.Empty;
  37. JobNumber = "";
  38. JobName = "";
  39. StyleID = Guid.Empty;
  40. StyleCode = "";
  41. StyleDescription = "";
  42. Dimensions = new StockDimensions(() => this);
  43. }
  44. }
  45. }
  46. }