選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

810 行
27KB

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

Powered by TurnKey Linux.