001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.module.purap.document;
017:
018: import java.sql.Date;
019:
020: import org.kuali.core.bo.Campus;
021: import org.kuali.core.util.KualiDecimal;
022: import org.kuali.core.util.ObjectUtils;
023: import org.kuali.module.chart.bo.Account;
024: import org.kuali.module.chart.bo.Chart;
025: import org.kuali.module.chart.bo.Org;
026: import org.kuali.module.purap.PurapPropertyConstants;
027: import org.kuali.module.purap.bo.BillingAddress;
028: import org.kuali.module.purap.bo.DeliveryRequiredDateReason;
029: import org.kuali.module.purap.bo.FundingSource;
030: import org.kuali.module.purap.bo.PurchaseOrderTransmissionMethod;
031: import org.kuali.module.purap.bo.RecurringPaymentType;
032: import org.kuali.module.purap.bo.RequisitionSource;
033: import org.kuali.module.vendor.bo.PurchaseOrderCostSource;
034: import org.kuali.module.vendor.bo.VendorAddress;
035: import org.kuali.module.vendor.bo.VendorContract;
036: import org.kuali.module.vendor.bo.VendorDetail;
037:
038: /**
039: * Base class for Purchasing Documents.
040: */
041: public abstract class PurchasingDocumentBase extends
042: PurchasingAccountsPayableDocumentBase implements
043: PurchasingDocument {
044: private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger
045: .getLogger(PurchasingDocumentBase.class);
046:
047: // SHARED FIELDS BETWEEN REQUISITION AND PURCHASE ORDER
048: private String fundingSourceCode;
049: private String requisitionSourceCode;
050: private String purchaseOrderTransmissionMethodCode;
051: private String purchaseOrderCostSourceCode;
052: private String deliveryRequiredDateReasonCode;
053: private String recurringPaymentTypeCode;
054: private String chartOfAccountsCode;
055: private String organizationCode;
056: private String deliveryCampusCode;
057: private KualiDecimal purchaseOrderTotalLimit;
058: private Boolean vendorRestrictedIndicator;
059: private String vendorPhoneNumber;
060: private String vendorFaxNumber;
061: private Integer vendorContractGeneratedIdentifier;
062: private String vendorNoteText;
063: private String requestorPersonName;
064: private String requestorPersonEmailAddress;
065: private String requestorPersonPhoneNumber;
066: private String nonInstitutionFundOrgChartOfAccountsCode;
067: private String nonInstitutionFundOrganizationCode;
068: private String nonInstitutionFundChartOfAccountsCode;
069: private String nonInstitutionFundAccountNumber;
070: private String deliveryBuildingCode;
071: private String deliveryBuildingName;
072: private String deliveryBuildingRoomNumber;
073: private String deliveryBuildingLine1Address;
074: private String deliveryBuildingLine2Address;
075: private String deliveryCityName;
076: private String deliveryStateCode;
077: private String deliveryPostalCode;
078: private String deliveryCountryCode;
079: private String deliveryToName;
080: private String deliveryToEmailAddress;
081: private String deliveryToPhoneNumber;
082: private Date deliveryRequiredDate;
083: private String deliveryInstructionText;
084: private Date purchaseOrderBeginDate;
085: private Date purchaseOrderEndDate;
086: private String institutionContactName;
087: private String institutionContactPhoneNumber;
088: private String institutionContactEmailAddress;
089: private String billingName;
090: private String billingLine1Address;
091: private String billingLine2Address;
092: private String billingCityName;
093: private String billingStateCode;
094: private String billingPostalCode;
095: private String billingCountryCode;
096: private String billingPhoneNumber;
097: private String externalOrganizationB2bSupplierIdentifier;
098: private boolean purchaseOrderAutomaticIndicator;
099: private String vendorPaymentTermsCode;
100: private String vendorShippingTitleCode;
101: private String vendorShippingPaymentTermsCode;
102:
103: // NOT PERSISTED IN DB
104: private String vendorContractName;
105: private String supplierDiversityLabel;
106: private String vendorContactsLabel;
107: private boolean deliveryBuildingOther;
108:
109: // REFERENCE OBJECTS
110: private FundingSource fundingSource;
111: private RequisitionSource requisitionSource;
112: private PurchaseOrderTransmissionMethod purchaseOrderTransmissionMethod;
113: private PurchaseOrderCostSource purchaseOrderCostSource;
114: private DeliveryRequiredDateReason deliveryRequiredDateReason;
115: private RecurringPaymentType recurringPaymentType;
116: private Org organization;
117: private Chart chartOfAccounts;
118: private Campus deliveryCampus;
119: private Chart nonInstitutionFundOrgChartOfAccounts;
120: private Org nonInstitutionFundOrganization;
121: private Account nonInstitutionFundAccount;
122: private Chart nonInstitutionFundChartOfAccounts;
123: private VendorContract vendorContract;
124:
125: /**
126: * Default Constructor.
127: */
128: public PurchasingDocumentBase() {
129: super ();
130: }
131:
132: /**
133: * @see org.kuali.module.purap.document.PurchasingDocument#templateVendorDetail(org.kuali.module.vendor.bo.VendorDetail)
134: */
135: public void templateVendorDetail(VendorDetail vendorDetail) {
136: if (vendorDetail == null) {
137: return;
138: }
139:
140: this .setVendorDetail(vendorDetail);
141: this .setVendorName(vendorDetail.getVendorName());
142: this .setVendorShippingTitleCode(vendorDetail
143: .getVendorShippingTitleCode());
144: this .setVendorPaymentTermsCode(vendorDetail
145: .getVendorPaymentTermsCode());
146: this .setVendorShippingPaymentTermsCode(vendorDetail
147: .getVendorShippingPaymentTermsCode());
148: }
149:
150: /**
151: * @see org.kuali.module.purap.document.PurchasingDocument#templateVendorContract(org.kuali.module.vendor.bo.VendorContract)
152: */
153: public void templateVendorContract(VendorContract vendorContract) {
154: if (vendorContract == null) {
155: return;
156: }
157: this .setVendorContract(vendorContract);
158: this .setVendorContractName(vendorContract
159: .getVendorContractName());
160: }
161:
162: /**
163: * @see org.kuali.module.purap.document.PurchasingAccountsPayableDocumentBase#templateVendorAddress(org.kuali.module.vendor.bo.VendorAddress)
164: */
165: public void templateVendorAddress(VendorAddress vendorAddress) {
166: super .templateVendorAddress(vendorAddress);
167: this .setVendorFaxNumber(vendorAddress.getVendorFaxNumber());
168: }
169:
170: /**
171: * Sets billing address fields based on the specified Billing Address.
172: *
173: * @param billingAddress the specified Billing Address.
174: */
175: public void templateBillingAddress(BillingAddress billingAddress) {
176: if (ObjectUtils.isNotNull(billingAddress)) {
177: this .setBillingName(billingAddress.getBillingName());
178: this .setBillingLine1Address(billingAddress
179: .getBillingLine1Address());
180: this .setBillingLine2Address(billingAddress
181: .getBillingLine2Address());
182: this
183: .setBillingCityName(billingAddress
184: .getBillingCityName());
185: this .setBillingStateCode(billingAddress
186: .getBillingStateCode());
187: this .setBillingPostalCode(billingAddress
188: .getBillingPostalCode());
189: this .setBillingCountryCode(billingAddress
190: .getBillingCountryCode());
191: this .setBillingPhoneNumber(billingAddress
192: .getBillingPhoneNumber());
193: }
194: }
195:
196: // GETTERS AND SETTERS
197:
198: public String getBillingCityName() {
199: return billingCityName;
200: }
201:
202: public void setBillingCityName(String billingCityName) {
203: this .billingCityName = billingCityName;
204: }
205:
206: public String getBillingCountryCode() {
207: return billingCountryCode;
208: }
209:
210: public void setBillingCountryCode(String billingCountryCode) {
211: this .billingCountryCode = billingCountryCode;
212: }
213:
214: public String getBillingLine1Address() {
215: return billingLine1Address;
216: }
217:
218: public void setBillingLine1Address(String billingLine1Address) {
219: this .billingLine1Address = billingLine1Address;
220: }
221:
222: public String getBillingLine2Address() {
223: return billingLine2Address;
224: }
225:
226: public void setBillingLine2Address(String billingLine2Address) {
227: this .billingLine2Address = billingLine2Address;
228: }
229:
230: public String getBillingName() {
231: return billingName;
232: }
233:
234: public void setBillingName(String billingName) {
235: this .billingName = billingName;
236: }
237:
238: public String getBillingPhoneNumber() {
239: return billingPhoneNumber;
240: }
241:
242: public void setBillingPhoneNumber(String billingPhoneNumber) {
243: this .billingPhoneNumber = billingPhoneNumber;
244: }
245:
246: public String getBillingPostalCode() {
247: return billingPostalCode;
248: }
249:
250: public void setBillingPostalCode(String billingPostalCode) {
251: this .billingPostalCode = billingPostalCode;
252: }
253:
254: public String getBillingStateCode() {
255: return billingStateCode;
256: }
257:
258: public void setBillingStateCode(String billingStateCode) {
259: this .billingStateCode = billingStateCode;
260: }
261:
262: public String getChartOfAccountsCode() {
263: return chartOfAccountsCode;
264: }
265:
266: public void setChartOfAccountsCode(String chartOfAccountsCode) {
267: this .chartOfAccountsCode = chartOfAccountsCode;
268: }
269:
270: public String getDeliveryBuildingCode() {
271: return deliveryBuildingCode;
272: }
273:
274: public void setDeliveryBuildingCode(String deliveryBuildingCode) {
275: this .deliveryBuildingCode = deliveryBuildingCode;
276: }
277:
278: public String getDeliveryBuildingLine1Address() {
279: return deliveryBuildingLine1Address;
280: }
281:
282: public void setDeliveryBuildingLine1Address(
283: String deliveryBuildingLine1Address) {
284: this .deliveryBuildingLine1Address = deliveryBuildingLine1Address;
285: }
286:
287: public String getDeliveryBuildingLine2Address() {
288: return deliveryBuildingLine2Address;
289: }
290:
291: public void setDeliveryBuildingLine2Address(
292: String deliveryBuildingLine2Address) {
293: this .deliveryBuildingLine2Address = deliveryBuildingLine2Address;
294: }
295:
296: public String getDeliveryBuildingName() {
297: return deliveryBuildingName;
298: }
299:
300: public void setDeliveryBuildingName(String deliveryBuildingName) {
301: this .deliveryBuildingName = deliveryBuildingName;
302: }
303:
304: public boolean isDeliveryBuildingOther() {
305: return deliveryBuildingOther;
306: }
307:
308: public void setDeliveryBuildingOther(boolean deliveryBuildingOther) {
309: this .deliveryBuildingOther = deliveryBuildingOther;
310: }
311:
312: public String getDeliveryBuildingRoomNumber() {
313: return deliveryBuildingRoomNumber;
314: }
315:
316: public void setDeliveryBuildingRoomNumber(
317: String deliveryBuildingRoomNumber) {
318: this .deliveryBuildingRoomNumber = deliveryBuildingRoomNumber;
319: }
320:
321: public String getDeliveryCampusCode() {
322: return deliveryCampusCode;
323: }
324:
325: public void setDeliveryCampusCode(String deliveryCampusCode) {
326: this .deliveryCampusCode = deliveryCampusCode;
327: }
328:
329: public String getDeliveryCityName() {
330: return deliveryCityName;
331: }
332:
333: public void setDeliveryCityName(String deliveryCityName) {
334: this .deliveryCityName = deliveryCityName;
335: }
336:
337: public String getDeliveryCountryCode() {
338: return deliveryCountryCode;
339: }
340:
341: public void setDeliveryCountryCode(String deliveryCountryCode) {
342: this .deliveryCountryCode = deliveryCountryCode;
343: }
344:
345: public String getDeliveryInstructionText() {
346: return deliveryInstructionText;
347: }
348:
349: public void setDeliveryInstructionText(
350: String deliveryInstructionText) {
351: this .deliveryInstructionText = deliveryInstructionText;
352: }
353:
354: public String getDeliveryPostalCode() {
355: return deliveryPostalCode;
356: }
357:
358: public void setDeliveryPostalCode(String deliveryPostalCode) {
359: this .deliveryPostalCode = deliveryPostalCode;
360: }
361:
362: public Date getDeliveryRequiredDate() {
363: return deliveryRequiredDate;
364: }
365:
366: public void setDeliveryRequiredDate(Date deliveryRequiredDate) {
367: this .deliveryRequiredDate = deliveryRequiredDate;
368: }
369:
370: public String getDeliveryRequiredDateReasonCode() {
371: return deliveryRequiredDateReasonCode;
372: }
373:
374: public void setDeliveryRequiredDateReasonCode(
375: String deliveryRequiredDateReasonCode) {
376: this .deliveryRequiredDateReasonCode = deliveryRequiredDateReasonCode;
377: }
378:
379: public String getDeliveryStateCode() {
380: return deliveryStateCode;
381: }
382:
383: public void setDeliveryStateCode(String deliveryStateCode) {
384: this .deliveryStateCode = deliveryStateCode;
385: }
386:
387: public String getDeliveryToEmailAddress() {
388: return deliveryToEmailAddress;
389: }
390:
391: public void setDeliveryToEmailAddress(String deliveryToEmailAddress) {
392: this .deliveryToEmailAddress = deliveryToEmailAddress;
393: }
394:
395: public String getDeliveryToName() {
396: return deliveryToName;
397: }
398:
399: public void setDeliveryToName(String deliveryToName) {
400: this .deliveryToName = deliveryToName;
401: }
402:
403: public String getDeliveryToPhoneNumber() {
404: return deliveryToPhoneNumber;
405: }
406:
407: public void setDeliveryToPhoneNumber(String deliveryToPhoneNumber) {
408: this .deliveryToPhoneNumber = deliveryToPhoneNumber;
409: }
410:
411: public String getExternalOrganizationB2bSupplierIdentifier() {
412: return externalOrganizationB2bSupplierIdentifier;
413: }
414:
415: public void setExternalOrganizationB2bSupplierIdentifier(
416: String externalOrganizationB2bSupplierIdentifier) {
417: this .externalOrganizationB2bSupplierIdentifier = externalOrganizationB2bSupplierIdentifier;
418: }
419:
420: public String getFundingSourceCode() {
421: return fundingSourceCode;
422: }
423:
424: public void setFundingSourceCode(String fundingSourceCode) {
425: this .fundingSourceCode = fundingSourceCode;
426: }
427:
428: public String getInstitutionContactEmailAddress() {
429: return institutionContactEmailAddress;
430: }
431:
432: public void setInstitutionContactEmailAddress(
433: String institutionContactEmailAddress) {
434: this .institutionContactEmailAddress = institutionContactEmailAddress;
435: }
436:
437: public String getInstitutionContactName() {
438: return institutionContactName;
439: }
440:
441: public void setInstitutionContactName(String institutionContactName) {
442: this .institutionContactName = institutionContactName;
443: }
444:
445: public String getInstitutionContactPhoneNumber() {
446: return institutionContactPhoneNumber;
447: }
448:
449: public void setInstitutionContactPhoneNumber(
450: String institutionContactPhoneNumber) {
451: this .institutionContactPhoneNumber = institutionContactPhoneNumber;
452: }
453:
454: public String getNonInstitutionFundAccountNumber() {
455: return nonInstitutionFundAccountNumber;
456: }
457:
458: public void setNonInstitutionFundAccountNumber(
459: String nonInstitutionFundAccountNumber) {
460: this .nonInstitutionFundAccountNumber = nonInstitutionFundAccountNumber;
461: }
462:
463: public String getNonInstitutionFundChartOfAccountsCode() {
464: return nonInstitutionFundChartOfAccountsCode;
465: }
466:
467: public void setNonInstitutionFundChartOfAccountsCode(
468: String nonInstitutionFundChartOfAccountsCode) {
469: this .nonInstitutionFundChartOfAccountsCode = nonInstitutionFundChartOfAccountsCode;
470: }
471:
472: public String getNonInstitutionFundOrganizationCode() {
473: return nonInstitutionFundOrganizationCode;
474: }
475:
476: public void setNonInstitutionFundOrganizationCode(
477: String nonInstitutionFundOrganizationCode) {
478: this .nonInstitutionFundOrganizationCode = nonInstitutionFundOrganizationCode;
479: }
480:
481: public String getNonInstitutionFundOrgChartOfAccountsCode() {
482: return nonInstitutionFundOrgChartOfAccountsCode;
483: }
484:
485: public void setNonInstitutionFundOrgChartOfAccountsCode(
486: String nonInstitutionFundOrgChartOfAccountsCode) {
487: this .nonInstitutionFundOrgChartOfAccountsCode = nonInstitutionFundOrgChartOfAccountsCode;
488: }
489:
490: public String getOrganizationCode() {
491: return organizationCode;
492: }
493:
494: public void setOrganizationCode(String organizationCode) {
495: this .organizationCode = organizationCode;
496: }
497:
498: public boolean getPurchaseOrderAutomaticIndicator() {
499: return purchaseOrderAutomaticIndicator;
500: }
501:
502: public void setPurchaseOrderAutomaticIndicator(
503: boolean purchaseOrderAutomaticIndicator) {
504: this .purchaseOrderAutomaticIndicator = purchaseOrderAutomaticIndicator;
505: }
506:
507: public Date getPurchaseOrderBeginDate() {
508: return purchaseOrderBeginDate;
509: }
510:
511: public void setPurchaseOrderBeginDate(Date purchaseOrderBeginDate) {
512: this .purchaseOrderBeginDate = purchaseOrderBeginDate;
513: }
514:
515: public String getPurchaseOrderCostSourceCode() {
516: return purchaseOrderCostSourceCode;
517: }
518:
519: public void setPurchaseOrderCostSourceCode(
520: String purchaseOrderCostSourceCode) {
521: this .purchaseOrderCostSourceCode = purchaseOrderCostSourceCode;
522: }
523:
524: public Date getPurchaseOrderEndDate() {
525: return purchaseOrderEndDate;
526: }
527:
528: public void setPurchaseOrderEndDate(Date purchaseOrderEndDate) {
529: this .purchaseOrderEndDate = purchaseOrderEndDate;
530: }
531:
532: public KualiDecimal getPurchaseOrderTotalLimit() {
533: return purchaseOrderTotalLimit;
534: }
535:
536: public void setPurchaseOrderTotalLimit(
537: KualiDecimal purchaseOrderTotalLimit) {
538: this .purchaseOrderTotalLimit = purchaseOrderTotalLimit;
539: }
540:
541: public String getPurchaseOrderTransmissionMethodCode() {
542: return purchaseOrderTransmissionMethodCode;
543: }
544:
545: public void setPurchaseOrderTransmissionMethodCode(
546: String purchaseOrderTransmissionMethodCode) {
547: this .purchaseOrderTransmissionMethodCode = purchaseOrderTransmissionMethodCode;
548: }
549:
550: public String getRecurringPaymentTypeCode() {
551: return recurringPaymentTypeCode;
552: }
553:
554: public void setRecurringPaymentTypeCode(
555: String recurringPaymentTypeCode) {
556: this .recurringPaymentTypeCode = recurringPaymentTypeCode;
557: }
558:
559: public String getRequestorPersonEmailAddress() {
560: return requestorPersonEmailAddress;
561: }
562:
563: public void setRequestorPersonEmailAddress(
564: String requestorPersonEmailAddress) {
565: this .requestorPersonEmailAddress = requestorPersonEmailAddress;
566: }
567:
568: public String getRequestorPersonName() {
569: return requestorPersonName;
570: }
571:
572: public void setRequestorPersonName(String requestorPersonName) {
573: this .requestorPersonName = requestorPersonName;
574: }
575:
576: public String getRequestorPersonPhoneNumber() {
577: return requestorPersonPhoneNumber;
578: }
579:
580: public void setRequestorPersonPhoneNumber(
581: String requestorPersonPhoneNumber) {
582: this .requestorPersonPhoneNumber = requestorPersonPhoneNumber;
583: }
584:
585: public String getRequisitionSourceCode() {
586: return requisitionSourceCode;
587: }
588:
589: public void setRequisitionSourceCode(String requisitionSourceCode) {
590: this .requisitionSourceCode = requisitionSourceCode;
591: }
592:
593: public String getVendorContactsLabel() {
594: return vendorContactsLabel;
595: }
596:
597: public void setVendorContactsLabel(String vendorContactsLabel) {
598: this .vendorContactsLabel = vendorContactsLabel;
599: }
600:
601: public VendorContract getVendorContract() {
602: return vendorContract;
603: }
604:
605: public void setVendorContract(VendorContract vendorContract) {
606: this .vendorContract = vendorContract;
607: }
608:
609: public Integer getVendorContractGeneratedIdentifier() {
610: return vendorContractGeneratedIdentifier;
611: }
612:
613: public void setVendorContractGeneratedIdentifier(
614: Integer vendorContractGeneratedIdentifier) {
615: this .vendorContractGeneratedIdentifier = vendorContractGeneratedIdentifier;
616: }
617:
618: public String getVendorContractName() {
619: return vendorContractName;
620: }
621:
622: public void setVendorContractName(String vendorContractName) {
623: this .vendorContractName = vendorContractName;
624: }
625:
626: public String getVendorFaxNumber() {
627: return vendorFaxNumber;
628: }
629:
630: public void setVendorFaxNumber(String vendorFaxNumber) {
631: this .vendorFaxNumber = vendorFaxNumber;
632: }
633:
634: public String getVendorNoteText() {
635: return vendorNoteText;
636: }
637:
638: public void setVendorNoteText(String vendorNoteText) {
639: this .vendorNoteText = vendorNoteText;
640: }
641:
642: public String getVendorPaymentTermsCode() {
643: return vendorPaymentTermsCode;
644: }
645:
646: public void setVendorPaymentTermsCode(String vendorPaymentTermsCode) {
647: this .vendorPaymentTermsCode = vendorPaymentTermsCode;
648: }
649:
650: public String getVendorPhoneNumber() {
651: return vendorPhoneNumber;
652: }
653:
654: public void setVendorPhoneNumber(String vendorPhoneNumber) {
655: this .vendorPhoneNumber = vendorPhoneNumber;
656: }
657:
658: public Boolean getVendorRestrictedIndicator() {
659: return vendorRestrictedIndicator;
660: }
661:
662: public void setVendorRestrictedIndicator(
663: Boolean vendorRestrictedIndicator) {
664: this .vendorRestrictedIndicator = vendorRestrictedIndicator;
665: }
666:
667: public String getVendorShippingPaymentTermsCode() {
668: return vendorShippingPaymentTermsCode;
669: }
670:
671: public void setVendorShippingPaymentTermsCode(
672: String vendorShippingPaymentTermsCode) {
673: this .vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
674: }
675:
676: public String getVendorShippingTitleCode() {
677: return vendorShippingTitleCode;
678: }
679:
680: public void setVendorShippingTitleCode(
681: String vendorShippingTitleCode) {
682: this .vendorShippingTitleCode = vendorShippingTitleCode;
683: }
684:
685: public Chart getChartOfAccounts() {
686: return chartOfAccounts;
687: }
688:
689: public Campus getDeliveryCampus() {
690: return deliveryCampus;
691: }
692:
693: public DeliveryRequiredDateReason getDeliveryRequiredDateReason() {
694: return deliveryRequiredDateReason;
695: }
696:
697: public FundingSource getFundingSource() {
698: return fundingSource;
699: }
700:
701: public Account getNonInstitutionFundAccount() {
702: return nonInstitutionFundAccount;
703: }
704:
705: public Chart getNonInstitutionFundChartOfAccounts() {
706: return nonInstitutionFundChartOfAccounts;
707: }
708:
709: public Org getNonInstitutionFundOrganization() {
710: return nonInstitutionFundOrganization;
711: }
712:
713: public Chart getNonInstitutionFundOrgChartOfAccounts() {
714: return nonInstitutionFundOrgChartOfAccounts;
715: }
716:
717: public Org getOrganization() {
718: return organization;
719: }
720:
721: public PurchaseOrderTransmissionMethod getPurchaseOrderTransmissionMethod() {
722: return purchaseOrderTransmissionMethod;
723: }
724:
725: public RecurringPaymentType getRecurringPaymentType() {
726: return recurringPaymentType;
727: }
728:
729: public RequisitionSource getRequisitionSource() {
730: return requisitionSource;
731: }
732:
733: public String getSupplierDiversityLabel() {
734: return supplierDiversityLabel;
735: }
736:
737: public PurchaseOrderCostSource getPurchaseOrderCostSource() {
738: if (ObjectUtils.isNull(purchaseOrderCostSource))
739: refreshReferenceObject(PurapPropertyConstants.PURCHASE_ORDER_COST_SOURCE);
740: return purchaseOrderCostSource;
741: }
742:
743: /**
744: * @deprecated
745: */
746: public void setChartOfAccounts(Chart chartOfAccounts) {
747: this .chartOfAccounts = chartOfAccounts;
748: }
749:
750: /**
751: * @deprecated
752: */
753: public void setDeliveryCampus(Campus deliveryCampus) {
754: this .deliveryCampus = deliveryCampus;
755: }
756:
757: /**
758: * @deprecated
759: */
760: public void setDeliveryRequiredDateReason(
761: DeliveryRequiredDateReason deliveryRequiredDateReason) {
762: this .deliveryRequiredDateReason = deliveryRequiredDateReason;
763: }
764:
765: /**
766: * @deprecated
767: */
768: public void setFundingSource(FundingSource fundingSource) {
769: this .fundingSource = fundingSource;
770: }
771:
772: /**
773: * @deprecated
774: */
775: public void setNonInstitutionFundAccount(
776: Account nonInstitutionFundAccount) {
777: this .nonInstitutionFundAccount = nonInstitutionFundAccount;
778: }
779:
780: /**
781: * @deprecated
782: */
783: public void setNonInstitutionFundChartOfAccounts(
784: Chart nonInstitutionFundChartOfAccounts) {
785: this .nonInstitutionFundChartOfAccounts = nonInstitutionFundChartOfAccounts;
786: }
787:
788: /**
789: * @deprecated
790: */
791: public void setNonInstitutionFundOrganization(
792: Org nonInstitutionFundOrganization) {
793: this .nonInstitutionFundOrganization = nonInstitutionFundOrganization;
794: }
795:
796: /**
797: * @deprecated
798: */
799: public void setNonInstitutionFundOrgChartOfAccounts(
800: Chart nonInstitutionFundOrgChartOfAccounts) {
801: this .nonInstitutionFundOrgChartOfAccounts = nonInstitutionFundOrgChartOfAccounts;
802: }
803:
804: /**
805: * @deprecated
806: */
807: public void setOrganization(Org organization) {
808: this .organization = organization;
809: }
810:
811: /**
812: * @deprecated
813: */
814: public void setPurchaseOrderCostSource(
815: PurchaseOrderCostSource purchaseOrderCostSource) {
816: this .purchaseOrderCostSource = purchaseOrderCostSource;
817: }
818:
819: /**
820: * @deprecated
821: */
822: public void setPurchaseOrderTransmissionMethod(
823: PurchaseOrderTransmissionMethod purchaseOrderTransmissionMethod) {
824: this .purchaseOrderTransmissionMethod = purchaseOrderTransmissionMethod;
825: }
826:
827: /**
828: * @deprecated
829: */
830: public void setRecurringPaymentType(
831: RecurringPaymentType recurringPaymentType) {
832: this .recurringPaymentType = recurringPaymentType;
833: }
834:
835: /**
836: * @deprecated
837: */
838: public void setRequisitionSource(RequisitionSource requisitionSource) {
839: this.requisitionSource = requisitionSource;
840: }
841:
842: }
|