Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

844 lines
28KB

  1. <%
  2. ' Auto-generated POBO for table [OrderDetails]
  3. ' Generated on 8/4/2026 3:40:46 PM
  4. ' Generator: GenerateRepo.vbs v1.0
  5. '
  6. ' Dependencies: core/helpers.asp (QuoteValue function)
  7. Class POBO_OrderDetails
  8. ' Public array of all property names
  9. Public Properties
  10. Private pBlueDeliveryDate
  11. Private pBlueEnvelopeProvider
  12. Private pBlueHasNonprofitStatus
  13. Private pBlueNonprofitAuthCode
  14. Private pBluePermitCity
  15. Private pBluePermitClass
  16. Private pBluePermitNumber
  17. Private pBluePermitOwnership
  18. Private pBluePrintPermit
  19. Private pBluePrintReturnAddress
  20. Private pBlueWantsQuote
  21. Private pContactName
  22. Private pFutureVoterStickerRolls
  23. Private pIVotedStickerRolls
  24. Private pMailingEstimatedQuantity
  25. Private pMailingHasNonprofitStatus
  26. Private pMailingNonprofitAuthCode
  27. Private pMailingNonprofitAuthCodeUnknown
  28. Private pMailingPickupDate
  29. Private pMailingPostageOption
  30. Private pMailingWantsService
  31. Private pMailingWantsSorting
  32. Private pMunicipality
  33. Private pOrderDetailID
  34. Private pOrderID
  35. Private pPhone
  36. Private pPurpleBlueProvider
  37. Private pPurpleBlueProviderOther
  38. Private pPurpleColorCodingBy
  39. Private pPurpleColorNames
  40. Private pPurpleDeliveryDate
  41. Private pPurpleEnvelopeProvider
  42. Private pPurpleEnvelopeStock
  43. Private pPurpleExtraEnvelopeQty
  44. Private pPurplePermanentBallotListCount
  45. Private pPurplePrecinctCount
  46. Private pPurplePrintOption
  47. Private pPurplePrintStyle
  48. Private pPurpleTrackMIBallot
  49. Private pPurpleWantsBlueEnvelopes
  50. Private pPurpleWantsQuote
  51. Private pSecrecySleevesQty
  52. Private pSpecialRequests
  53. Private pSubmittedAt
  54. Private Sub Class_Initialize()
  55. pBlueDeliveryDate = Null
  56. pBlueEnvelopeProvider = Null
  57. pBlueHasNonprofitStatus = Null
  58. pBlueNonprofitAuthCode = Null
  59. pBluePermitCity = Null
  60. pBluePermitClass = Null
  61. pBluePermitNumber = Null
  62. pBluePermitOwnership = Null
  63. pBluePrintPermit = False
  64. pBluePrintReturnAddress = False
  65. pBlueWantsQuote = False
  66. pContactName = Null
  67. pFutureVoterStickerRolls = 0
  68. pIVotedStickerRolls = 0
  69. pMailingEstimatedQuantity = 0
  70. pMailingHasNonprofitStatus = Null
  71. pMailingNonprofitAuthCode = Null
  72. pMailingNonprofitAuthCodeUnknown = False
  73. pMailingPickupDate = Null
  74. pMailingPostageOption = Null
  75. pMailingWantsService = Null
  76. pMailingWantsSorting = Null
  77. pMunicipality = Null
  78. pOrderDetailID = 0
  79. pOrderID = 0
  80. pPhone = Null
  81. pPurpleBlueProvider = Null
  82. pPurpleBlueProviderOther = Null
  83. pPurpleColorCodingBy = Null
  84. pPurpleColorNames = Null
  85. pPurpleDeliveryDate = Null
  86. pPurpleEnvelopeProvider = Null
  87. pPurpleEnvelopeStock = Null
  88. pPurpleExtraEnvelopeQty = 0
  89. pPurplePermanentBallotListCount = 0
  90. pPurplePrecinctCount = 0
  91. pPurplePrintOption = Null
  92. pPurplePrintStyle = Null
  93. pPurpleTrackMIBallot = Null
  94. pPurpleWantsBlueEnvelopes = Null
  95. pPurpleWantsQuote = Null
  96. pSecrecySleevesQty = 0
  97. pSpecialRequests = Null
  98. pSubmittedAt = #1/1/1970#
  99. Properties = Array("BlueDeliveryDate","BlueEnvelopeProvider","BlueHasNonprofitStatus","BlueNonprofitAuthCode","BluePermitCity","BluePermitClass","BluePermitNumber","BluePermitOwnership","BluePrintPermit","BluePrintReturnAddress","BlueWantsQuote","ContactName","FutureVoterStickerRolls","IVotedStickerRolls","MailingEstimatedQuantity","MailingHasNonprofitStatus","MailingNonprofitAuthCode","MailingNonprofitAuthCodeUnknown","MailingPickupDate","MailingPostageOption","MailingWantsService","MailingWantsSorting","Municipality","OrderDetailID","OrderID","Phone","PurpleBlueProvider","PurpleBlueProviderOther","PurpleColorCodingBy","PurpleColorNames","PurpleDeliveryDate","PurpleEnvelopeProvider","PurpleEnvelopeStock","PurpleExtraEnvelopeQty","PurplePermanentBallotListCount","PurplePrecinctCount","PurplePrintOption","PurplePrintStyle","PurpleTrackMIBallot","PurpleWantsBlueEnvelopes","PurpleWantsQuote","SecrecySleevesQty","SpecialRequests","SubmittedAt")
  100. End Sub
  101. Public Property Get PrimaryKey()
  102. PrimaryKey = "OrderDetailID"
  103. End Property
  104. Public Property Get TableName()
  105. TableName = "OrderDetails"
  106. End Property
  107. Public Property Get BlueDeliveryDate()
  108. BlueDeliveryDate = pBlueDeliveryDate
  109. End Property
  110. Public Property Let BlueDeliveryDate(val)
  111. On Error Resume Next
  112. If IsNull(val) Or Len(Trim(val & "")) = 0 Then
  113. pBlueDeliveryDate = Null
  114. Else
  115. pBlueDeliveryDate = CDate(val)
  116. End If
  117. If Err.Number <> 0 Then
  118. Err.Raise Err.Number, "POBO_OrderDetails.BlueDeliveryDate", "Invalid value for BlueDeliveryDate: " & Err.Description
  119. End If
  120. On Error GoTo 0
  121. End Property
  122. Public Property Get BlueEnvelopeProvider()
  123. BlueEnvelopeProvider = pBlueEnvelopeProvider
  124. End Property
  125. Public Property Let BlueEnvelopeProvider(val)
  126. On Error Resume Next
  127. If IsNumeric(val) Then
  128. pBlueEnvelopeProvider = CDbl(val)
  129. Else
  130. pBlueEnvelopeProvider = val
  131. End If
  132. If Err.Number <> 0 Then
  133. Err.Raise Err.Number, "POBO_OrderDetails.BlueEnvelopeProvider", "Invalid value for BlueEnvelopeProvider: " & Err.Description
  134. End If
  135. On Error GoTo 0
  136. End Property
  137. Public Property Get BlueHasNonprofitStatus()
  138. BlueHasNonprofitStatus = pBlueHasNonprofitStatus
  139. End Property
  140. Public Property Let BlueHasNonprofitStatus(val)
  141. On Error Resume Next
  142. If IsNumeric(val) Then
  143. pBlueHasNonprofitStatus = CDbl(val)
  144. Else
  145. pBlueHasNonprofitStatus = val
  146. End If
  147. If Err.Number <> 0 Then
  148. Err.Raise Err.Number, "POBO_OrderDetails.BlueHasNonprofitStatus", "Invalid value for BlueHasNonprofitStatus: " & Err.Description
  149. End If
  150. On Error GoTo 0
  151. End Property
  152. Public Property Get BlueNonprofitAuthCode()
  153. BlueNonprofitAuthCode = pBlueNonprofitAuthCode
  154. End Property
  155. Public Property Let BlueNonprofitAuthCode(val)
  156. On Error Resume Next
  157. pBlueNonprofitAuthCode = val ' kept as text - authorization codes may have leading zeros
  158. If Err.Number <> 0 Then
  159. Err.Raise Err.Number, "POBO_OrderDetails.BlueNonprofitAuthCode", "Invalid value for BlueNonprofitAuthCode: " & Err.Description
  160. End If
  161. On Error GoTo 0
  162. End Property
  163. Public Property Get BluePermitCity()
  164. BluePermitCity = pBluePermitCity
  165. End Property
  166. Public Property Let BluePermitCity(val)
  167. On Error Resume Next
  168. If IsNumeric(val) Then
  169. pBluePermitCity = CDbl(val)
  170. Else
  171. pBluePermitCity = val
  172. End If
  173. If Err.Number <> 0 Then
  174. Err.Raise Err.Number, "POBO_OrderDetails.BluePermitCity", "Invalid value for BluePermitCity: " & Err.Description
  175. End If
  176. On Error GoTo 0
  177. End Property
  178. Public Property Get BluePermitClass()
  179. BluePermitClass = pBluePermitClass
  180. End Property
  181. Public Property Let BluePermitClass(val)
  182. On Error Resume Next
  183. If IsNumeric(val) Then
  184. pBluePermitClass = CDbl(val)
  185. Else
  186. pBluePermitClass = val
  187. End If
  188. If Err.Number <> 0 Then
  189. Err.Raise Err.Number, "POBO_OrderDetails.BluePermitClass", "Invalid value for BluePermitClass: " & Err.Description
  190. End If
  191. On Error GoTo 0
  192. End Property
  193. Public Property Get BluePermitNumber()
  194. BluePermitNumber = pBluePermitNumber
  195. End Property
  196. Public Property Let BluePermitNumber(val)
  197. On Error Resume Next
  198. pBluePermitNumber = val ' kept as text - permit numbers may have leading zeros
  199. If Err.Number <> 0 Then
  200. Err.Raise Err.Number, "POBO_OrderDetails.BluePermitNumber", "Invalid value for BluePermitNumber: " & Err.Description
  201. End If
  202. On Error GoTo 0
  203. End Property
  204. Public Property Get BluePermitOwnership()
  205. BluePermitOwnership = pBluePermitOwnership
  206. End Property
  207. Public Property Let BluePermitOwnership(val)
  208. On Error Resume Next
  209. If IsNumeric(val) Then
  210. pBluePermitOwnership = CDbl(val)
  211. Else
  212. pBluePermitOwnership = val
  213. End If
  214. If Err.Number <> 0 Then
  215. Err.Raise Err.Number, "POBO_OrderDetails.BluePermitOwnership", "Invalid value for BluePermitOwnership: " & Err.Description
  216. End If
  217. On Error GoTo 0
  218. End Property
  219. Public Property Get BluePrintPermit()
  220. BluePrintPermit = pBluePrintPermit
  221. End Property
  222. Public Property Let BluePrintPermit(val)
  223. On Error Resume Next
  224. If IsNull(val) Then
  225. pBluePrintPermit = Null
  226. Else
  227. pBluePrintPermit = CBool(val)
  228. End If
  229. If Err.Number <> 0 Then
  230. Err.Raise Err.Number, "POBO_OrderDetails.BluePrintPermit", "Invalid value for BluePrintPermit: " & Err.Description
  231. End If
  232. On Error GoTo 0
  233. End Property
  234. Public Property Get BluePrintReturnAddress()
  235. BluePrintReturnAddress = pBluePrintReturnAddress
  236. End Property
  237. Public Property Let BluePrintReturnAddress(val)
  238. On Error Resume Next
  239. If IsNull(val) Then
  240. pBluePrintReturnAddress = Null
  241. Else
  242. pBluePrintReturnAddress = CBool(val)
  243. End If
  244. If Err.Number <> 0 Then
  245. Err.Raise Err.Number, "POBO_OrderDetails.BluePrintReturnAddress", "Invalid value for BluePrintReturnAddress: " & Err.Description
  246. End If
  247. On Error GoTo 0
  248. End Property
  249. Public Property Get BlueWantsQuote()
  250. BlueWantsQuote = pBlueWantsQuote
  251. End Property
  252. Public Property Let BlueWantsQuote(val)
  253. On Error Resume Next
  254. If IsNull(val) Then
  255. pBlueWantsQuote = Null
  256. Else
  257. pBlueWantsQuote = CBool(val)
  258. End If
  259. If Err.Number <> 0 Then
  260. Err.Raise Err.Number, "POBO_OrderDetails.BlueWantsQuote", "Invalid value for BlueWantsQuote: " & Err.Description
  261. End If
  262. On Error GoTo 0
  263. End Property
  264. Public Property Get ContactName()
  265. ContactName = pContactName
  266. End Property
  267. Public Property Let ContactName(val)
  268. On Error Resume Next
  269. If IsNumeric(val) Then
  270. pContactName = CDbl(val)
  271. Else
  272. pContactName = val
  273. End If
  274. If Err.Number <> 0 Then
  275. Err.Raise Err.Number, "POBO_OrderDetails.ContactName", "Invalid value for ContactName: " & Err.Description
  276. End If
  277. On Error GoTo 0
  278. End Property
  279. Public Property Get FutureVoterStickerRolls()
  280. FutureVoterStickerRolls = pFutureVoterStickerRolls
  281. End Property
  282. Public Property Let FutureVoterStickerRolls(val)
  283. On Error Resume Next
  284. If IsNumeric(val) Then
  285. pFutureVoterStickerRolls = CDbl(val)
  286. Else
  287. pFutureVoterStickerRolls = val
  288. End If
  289. If Err.Number <> 0 Then
  290. Err.Raise Err.Number, "POBO_OrderDetails.FutureVoterStickerRolls", "Invalid value for FutureVoterStickerRolls: " & Err.Description
  291. End If
  292. On Error GoTo 0
  293. End Property
  294. Public Property Get IVotedStickerRolls()
  295. IVotedStickerRolls = pIVotedStickerRolls
  296. End Property
  297. Public Property Let IVotedStickerRolls(val)
  298. On Error Resume Next
  299. If IsNumeric(val) Then
  300. pIVotedStickerRolls = CDbl(val)
  301. Else
  302. pIVotedStickerRolls = val
  303. End If
  304. If Err.Number <> 0 Then
  305. Err.Raise Err.Number, "POBO_OrderDetails.IVotedStickerRolls", "Invalid value for IVotedStickerRolls: " & Err.Description
  306. End If
  307. On Error GoTo 0
  308. End Property
  309. Public Property Get MailingEstimatedQuantity()
  310. MailingEstimatedQuantity = pMailingEstimatedQuantity
  311. End Property
  312. Public Property Let MailingEstimatedQuantity(val)
  313. On Error Resume Next
  314. If IsNumeric(val) Then
  315. pMailingEstimatedQuantity = CDbl(val)
  316. Else
  317. pMailingEstimatedQuantity = val
  318. End If
  319. If Err.Number <> 0 Then
  320. Err.Raise Err.Number, "POBO_OrderDetails.MailingEstimatedQuantity", "Invalid value for MailingEstimatedQuantity: " & Err.Description
  321. End If
  322. On Error GoTo 0
  323. End Property
  324. Public Property Get MailingHasNonprofitStatus()
  325. MailingHasNonprofitStatus = pMailingHasNonprofitStatus
  326. End Property
  327. Public Property Let MailingHasNonprofitStatus(val)
  328. On Error Resume Next
  329. If IsNumeric(val) Then
  330. pMailingHasNonprofitStatus = CDbl(val)
  331. Else
  332. pMailingHasNonprofitStatus = val
  333. End If
  334. If Err.Number <> 0 Then
  335. Err.Raise Err.Number, "POBO_OrderDetails.MailingHasNonprofitStatus", "Invalid value for MailingHasNonprofitStatus: " & Err.Description
  336. End If
  337. On Error GoTo 0
  338. End Property
  339. Public Property Get MailingNonprofitAuthCode()
  340. MailingNonprofitAuthCode = pMailingNonprofitAuthCode
  341. End Property
  342. Public Property Let MailingNonprofitAuthCode(val)
  343. On Error Resume Next
  344. pMailingNonprofitAuthCode = val ' kept as text - authorization codes may have leading zeros
  345. If Err.Number <> 0 Then
  346. Err.Raise Err.Number, "POBO_OrderDetails.MailingNonprofitAuthCode", "Invalid value for MailingNonprofitAuthCode: " & Err.Description
  347. End If
  348. On Error GoTo 0
  349. End Property
  350. Public Property Get MailingNonprofitAuthCodeUnknown()
  351. MailingNonprofitAuthCodeUnknown = pMailingNonprofitAuthCodeUnknown
  352. End Property
  353. Public Property Let MailingNonprofitAuthCodeUnknown(val)
  354. On Error Resume Next
  355. If IsNull(val) Then
  356. pMailingNonprofitAuthCodeUnknown = Null
  357. Else
  358. pMailingNonprofitAuthCodeUnknown = CBool(val)
  359. End If
  360. If Err.Number <> 0 Then
  361. Err.Raise Err.Number, "POBO_OrderDetails.MailingNonprofitAuthCodeUnknown", "Invalid value for MailingNonprofitAuthCodeUnknown: " & Err.Description
  362. End If
  363. On Error GoTo 0
  364. End Property
  365. Public Property Get MailingPickupDate()
  366. MailingPickupDate = pMailingPickupDate
  367. End Property
  368. Public Property Let MailingPickupDate(val)
  369. On Error Resume Next
  370. If IsNull(val) Or Len(Trim(val & "")) = 0 Then
  371. pMailingPickupDate = Null
  372. Else
  373. pMailingPickupDate = CDate(val)
  374. End If
  375. If Err.Number <> 0 Then
  376. Err.Raise Err.Number, "POBO_OrderDetails.MailingPickupDate", "Invalid value for MailingPickupDate: " & Err.Description
  377. End If
  378. On Error GoTo 0
  379. End Property
  380. Public Property Get MailingPostageOption()
  381. MailingPostageOption = pMailingPostageOption
  382. End Property
  383. Public Property Let MailingPostageOption(val)
  384. On Error Resume Next
  385. If IsNumeric(val) Then
  386. pMailingPostageOption = CDbl(val)
  387. Else
  388. pMailingPostageOption = val
  389. End If
  390. If Err.Number <> 0 Then
  391. Err.Raise Err.Number, "POBO_OrderDetails.MailingPostageOption", "Invalid value for MailingPostageOption: " & Err.Description
  392. End If
  393. On Error GoTo 0
  394. End Property
  395. Public Property Get MailingWantsService()
  396. MailingWantsService = pMailingWantsService
  397. End Property
  398. Public Property Let MailingWantsService(val)
  399. On Error Resume Next
  400. If IsNull(val) Then
  401. pMailingWantsService = Null
  402. Else
  403. pMailingWantsService = CBool(val)
  404. End If
  405. If Err.Number <> 0 Then
  406. Err.Raise Err.Number, "POBO_OrderDetails.MailingWantsService", "Invalid value for MailingWantsService: " & Err.Description
  407. End If
  408. On Error GoTo 0
  409. End Property
  410. Public Property Get MailingWantsSorting()
  411. MailingWantsSorting = pMailingWantsSorting
  412. End Property
  413. Public Property Let MailingWantsSorting(val)
  414. On Error Resume Next
  415. If IsNull(val) Then
  416. pMailingWantsSorting = Null
  417. Else
  418. pMailingWantsSorting = CBool(val)
  419. End If
  420. If Err.Number <> 0 Then
  421. Err.Raise Err.Number, "POBO_OrderDetails.MailingWantsSorting", "Invalid value for MailingWantsSorting: " & Err.Description
  422. End If
  423. On Error GoTo 0
  424. End Property
  425. Public Property Get Municipality()
  426. Municipality = pMunicipality
  427. End Property
  428. Public Property Let Municipality(val)
  429. On Error Resume Next
  430. If IsNumeric(val) Then
  431. pMunicipality = CDbl(val)
  432. Else
  433. pMunicipality = val
  434. End If
  435. If Err.Number <> 0 Then
  436. Err.Raise Err.Number, "POBO_OrderDetails.Municipality", "Invalid value for Municipality: " & Err.Description
  437. End If
  438. On Error GoTo 0
  439. End Property
  440. Public Property Get OrderDetailID()
  441. OrderDetailID = pOrderDetailID
  442. End Property
  443. Public Property Let OrderDetailID(val)
  444. On Error Resume Next
  445. If IsNumeric(val) Then
  446. pOrderDetailID = CDbl(val)
  447. Else
  448. pOrderDetailID = val
  449. End If
  450. If Err.Number <> 0 Then
  451. Err.Raise Err.Number, "POBO_OrderDetails.OrderDetailID", "Invalid value for OrderDetailID: " & Err.Description
  452. End If
  453. On Error GoTo 0
  454. End Property
  455. Public Property Get OrderID()
  456. OrderID = pOrderID
  457. End Property
  458. Public Property Let OrderID(val)
  459. On Error Resume Next
  460. If IsNumeric(val) Then
  461. pOrderID = CDbl(val)
  462. Else
  463. pOrderID = val
  464. End If
  465. If Err.Number <> 0 Then
  466. Err.Raise Err.Number, "POBO_OrderDetails.OrderID", "Invalid value for OrderID: " & Err.Description
  467. End If
  468. On Error GoTo 0
  469. End Property
  470. Public Property Get Phone()
  471. Phone = pPhone
  472. End Property
  473. Public Property Let Phone(val)
  474. On Error Resume Next
  475. pPhone = val ' kept as text - avoids losing formatting/leading zeros
  476. If Err.Number <> 0 Then
  477. Err.Raise Err.Number, "POBO_OrderDetails.Phone", "Invalid value for Phone: " & Err.Description
  478. End If
  479. On Error GoTo 0
  480. End Property
  481. Public Property Get PurpleBlueProvider()
  482. PurpleBlueProvider = pPurpleBlueProvider
  483. End Property
  484. Public Property Let PurpleBlueProvider(val)
  485. On Error Resume Next
  486. If IsNumeric(val) Then
  487. pPurpleBlueProvider = CDbl(val)
  488. Else
  489. pPurpleBlueProvider = val
  490. End If
  491. If Err.Number <> 0 Then
  492. Err.Raise Err.Number, "POBO_OrderDetails.PurpleBlueProvider", "Invalid value for PurpleBlueProvider: " & Err.Description
  493. End If
  494. On Error GoTo 0
  495. End Property
  496. Public Property Get PurpleBlueProviderOther()
  497. PurpleBlueProviderOther = pPurpleBlueProviderOther
  498. End Property
  499. Public Property Let PurpleBlueProviderOther(val)
  500. On Error Resume Next
  501. If IsNumeric(val) Then
  502. pPurpleBlueProviderOther = CDbl(val)
  503. Else
  504. pPurpleBlueProviderOther = val
  505. End If
  506. If Err.Number <> 0 Then
  507. Err.Raise Err.Number, "POBO_OrderDetails.PurpleBlueProviderOther", "Invalid value for PurpleBlueProviderOther: " & Err.Description
  508. End If
  509. On Error GoTo 0
  510. End Property
  511. Public Property Get PurpleColorCodingBy()
  512. PurpleColorCodingBy = pPurpleColorCodingBy
  513. End Property
  514. Public Property Let PurpleColorCodingBy(val)
  515. On Error Resume Next
  516. If IsNumeric(val) Then
  517. pPurpleColorCodingBy = CDbl(val)
  518. Else
  519. pPurpleColorCodingBy = val
  520. End If
  521. If Err.Number <> 0 Then
  522. Err.Raise Err.Number, "POBO_OrderDetails.PurpleColorCodingBy", "Invalid value for PurpleColorCodingBy: " & Err.Description
  523. End If
  524. On Error GoTo 0
  525. End Property
  526. Public Property Get PurpleColorNames()
  527. PurpleColorNames = pPurpleColorNames
  528. End Property
  529. Public Property Let PurpleColorNames(val)
  530. On Error Resume Next
  531. If IsNumeric(val) Then
  532. pPurpleColorNames = CDbl(val)
  533. Else
  534. pPurpleColorNames = val
  535. End If
  536. If Err.Number <> 0 Then
  537. Err.Raise Err.Number, "POBO_OrderDetails.PurpleColorNames", "Invalid value for PurpleColorNames: " & Err.Description
  538. End If
  539. On Error GoTo 0
  540. End Property
  541. Public Property Get PurpleDeliveryDate()
  542. PurpleDeliveryDate = pPurpleDeliveryDate
  543. End Property
  544. Public Property Let PurpleDeliveryDate(val)
  545. On Error Resume Next
  546. If IsNull(val) Or Len(Trim(val & "")) = 0 Then
  547. pPurpleDeliveryDate = Null
  548. Else
  549. pPurpleDeliveryDate = CDate(val)
  550. End If
  551. If Err.Number <> 0 Then
  552. Err.Raise Err.Number, "POBO_OrderDetails.PurpleDeliveryDate", "Invalid value for PurpleDeliveryDate: " & Err.Description
  553. End If
  554. On Error GoTo 0
  555. End Property
  556. Public Property Get PurpleEnvelopeProvider()
  557. PurpleEnvelopeProvider = pPurpleEnvelopeProvider
  558. End Property
  559. Public Property Let PurpleEnvelopeProvider(val)
  560. On Error Resume Next
  561. If IsNumeric(val) Then
  562. pPurpleEnvelopeProvider = CDbl(val)
  563. Else
  564. pPurpleEnvelopeProvider = val
  565. End If
  566. If Err.Number <> 0 Then
  567. Err.Raise Err.Number, "POBO_OrderDetails.PurpleEnvelopeProvider", "Invalid value for PurpleEnvelopeProvider: " & Err.Description
  568. End If
  569. On Error GoTo 0
  570. End Property
  571. Public Property Get PurpleEnvelopeStock()
  572. PurpleEnvelopeStock = pPurpleEnvelopeStock
  573. End Property
  574. Public Property Let PurpleEnvelopeStock(val)
  575. On Error Resume Next
  576. If IsNumeric(val) Then
  577. pPurpleEnvelopeStock = CDbl(val)
  578. Else
  579. pPurpleEnvelopeStock = val
  580. End If
  581. If Err.Number <> 0 Then
  582. Err.Raise Err.Number, "POBO_OrderDetails.PurpleEnvelopeStock", "Invalid value for PurpleEnvelopeStock: " & Err.Description
  583. End If
  584. On Error GoTo 0
  585. End Property
  586. Public Property Get PurpleExtraEnvelopeQty()
  587. PurpleExtraEnvelopeQty = pPurpleExtraEnvelopeQty
  588. End Property
  589. Public Property Let PurpleExtraEnvelopeQty(val)
  590. On Error Resume Next
  591. If IsNumeric(val) Then
  592. pPurpleExtraEnvelopeQty = CDbl(val)
  593. Else
  594. pPurpleExtraEnvelopeQty = val
  595. End If
  596. If Err.Number <> 0 Then
  597. Err.Raise Err.Number, "POBO_OrderDetails.PurpleExtraEnvelopeQty", "Invalid value for PurpleExtraEnvelopeQty: " & Err.Description
  598. End If
  599. On Error GoTo 0
  600. End Property
  601. Public Property Get PurplePermanentBallotListCount()
  602. PurplePermanentBallotListCount = pPurplePermanentBallotListCount
  603. End Property
  604. Public Property Let PurplePermanentBallotListCount(val)
  605. On Error Resume Next
  606. If IsNumeric(val) Then
  607. pPurplePermanentBallotListCount = CDbl(val)
  608. Else
  609. pPurplePermanentBallotListCount = val
  610. End If
  611. If Err.Number <> 0 Then
  612. Err.Raise Err.Number, "POBO_OrderDetails.PurplePermanentBallotListCount", "Invalid value for PurplePermanentBallotListCount: " & Err.Description
  613. End If
  614. On Error GoTo 0
  615. End Property
  616. Public Property Get PurplePrecinctCount()
  617. PurplePrecinctCount = pPurplePrecinctCount
  618. End Property
  619. Public Property Let PurplePrecinctCount(val)
  620. On Error Resume Next
  621. If IsNumeric(val) Then
  622. pPurplePrecinctCount = CDbl(val)
  623. Else
  624. pPurplePrecinctCount = val
  625. End If
  626. If Err.Number <> 0 Then
  627. Err.Raise Err.Number, "POBO_OrderDetails.PurplePrecinctCount", "Invalid value for PurplePrecinctCount: " & Err.Description
  628. End If
  629. On Error GoTo 0
  630. End Property
  631. Public Property Get PurplePrintOption()
  632. PurplePrintOption = pPurplePrintOption
  633. End Property
  634. Public Property Let PurplePrintOption(val)
  635. On Error Resume Next
  636. If IsNumeric(val) Then
  637. pPurplePrintOption = CDbl(val)
  638. Else
  639. pPurplePrintOption = val
  640. End If
  641. If Err.Number <> 0 Then
  642. Err.Raise Err.Number, "POBO_OrderDetails.PurplePrintOption", "Invalid value for PurplePrintOption: " & Err.Description
  643. End If
  644. On Error GoTo 0
  645. End Property
  646. Public Property Get PurplePrintStyle()
  647. PurplePrintStyle = pPurplePrintStyle
  648. End Property
  649. Public Property Let PurplePrintStyle(val)
  650. On Error Resume Next
  651. If IsNumeric(val) Then
  652. pPurplePrintStyle = CDbl(val)
  653. Else
  654. pPurplePrintStyle = val
  655. End If
  656. If Err.Number <> 0 Then
  657. Err.Raise Err.Number, "POBO_OrderDetails.PurplePrintStyle", "Invalid value for PurplePrintStyle: " & Err.Description
  658. End If
  659. On Error GoTo 0
  660. End Property
  661. Public Property Get PurpleTrackMIBallot()
  662. PurpleTrackMIBallot = pPurpleTrackMIBallot
  663. End Property
  664. Public Property Let PurpleTrackMIBallot(val)
  665. On Error Resume Next
  666. If IsNull(val) Then
  667. pPurpleTrackMIBallot = Null
  668. Else
  669. pPurpleTrackMIBallot = CBool(val)
  670. End If
  671. If Err.Number <> 0 Then
  672. Err.Raise Err.Number, "POBO_OrderDetails.PurpleTrackMIBallot", "Invalid value for PurpleTrackMIBallot: " & Err.Description
  673. End If
  674. On Error GoTo 0
  675. End Property
  676. Public Property Get PurpleWantsBlueEnvelopes()
  677. PurpleWantsBlueEnvelopes = pPurpleWantsBlueEnvelopes
  678. End Property
  679. Public Property Let PurpleWantsBlueEnvelopes(val)
  680. On Error Resume Next
  681. If IsNull(val) Then
  682. pPurpleWantsBlueEnvelopes = Null
  683. Else
  684. pPurpleWantsBlueEnvelopes = CBool(val)
  685. End If
  686. If Err.Number <> 0 Then
  687. Err.Raise Err.Number, "POBO_OrderDetails.PurpleWantsBlueEnvelopes", "Invalid value for PurpleWantsBlueEnvelopes: " & Err.Description
  688. End If
  689. On Error GoTo 0
  690. End Property
  691. Public Property Get PurpleWantsQuote()
  692. PurpleWantsQuote = pPurpleWantsQuote
  693. End Property
  694. Public Property Let PurpleWantsQuote(val)
  695. On Error Resume Next
  696. If IsNull(val) Then
  697. pPurpleWantsQuote = Null
  698. Else
  699. pPurpleWantsQuote = CBool(val)
  700. End If
  701. If Err.Number <> 0 Then
  702. Err.Raise Err.Number, "POBO_OrderDetails.PurpleWantsQuote", "Invalid value for PurpleWantsQuote: " & Err.Description
  703. End If
  704. On Error GoTo 0
  705. End Property
  706. Public Property Get SecrecySleevesQty()
  707. SecrecySleevesQty = pSecrecySleevesQty
  708. End Property
  709. Public Property Let SecrecySleevesQty(val)
  710. On Error Resume Next
  711. If IsNumeric(val) Then
  712. pSecrecySleevesQty = CDbl(val)
  713. Else
  714. pSecrecySleevesQty = val
  715. End If
  716. If Err.Number <> 0 Then
  717. Err.Raise Err.Number, "POBO_OrderDetails.SecrecySleevesQty", "Invalid value for SecrecySleevesQty: " & Err.Description
  718. End If
  719. On Error GoTo 0
  720. End Property
  721. Public Property Get SpecialRequests()
  722. SpecialRequests = pSpecialRequests
  723. End Property
  724. Public Property Let SpecialRequests(val)
  725. On Error Resume Next
  726. If IsNumeric(val) Then
  727. pSpecialRequests = CDbl(val)
  728. Else
  729. pSpecialRequests = val
  730. End If
  731. If Err.Number <> 0 Then
  732. Err.Raise Err.Number, "POBO_OrderDetails.SpecialRequests", "Invalid value for SpecialRequests: " & Err.Description
  733. End If
  734. On Error GoTo 0
  735. End Property
  736. Public Property Get SubmittedAt()
  737. SubmittedAt = pSubmittedAt
  738. End Property
  739. Public Property Let SubmittedAt(val)
  740. On Error Resume Next
  741. pSubmittedAt = CDate(val)
  742. If Err.Number <> 0 Then
  743. Err.Raise Err.Number, "POBO_OrderDetails.SubmittedAt", "Invalid value for SubmittedAt: " & Err.Description
  744. End If
  745. On Error GoTo 0
  746. End Property
  747. End Class
  748. %>

Powered by TurnKey Linux.