View Javadoc

1   package org.kuali.ole.pojo;
2   
3   import java.util.Date;
4   
5   /**
6    * Created by IntelliJ IDEA.
7    * User: pvsubrah
8    * Date: 4/4/12
9    * Time: 8:57 PM
10   * To change this template use File | Settings | File Templates.
11   */
12  public class OleTxRecord {
13  
14  
15      //Financial Document Detail Section
16     private String year;
17     private String amount;
18  
19     //Purchase Order Detail Section
20      private String chartCode;         // profile xml
21      private String orgCode;            // profile xml
22      private boolean receivingRequired;   // profile xml
23      private String contractManager;     // profile xml
24      private String assignToUser;         // profile xml
25      private boolean useTaxIndicator;      // profile xml
26      private String orderType;            // profile xml
27      private String fundingSource;        // "INSTITUTIONAL ACCOUNT"
28      private boolean payReqPositiveApprovalReq; // profile xml
29      private String previousPurchaseOrder;     // null or blank
30      private boolean purchaseOrderConfirmationIndicator;  // y or true.
31      private String requisitionSource;       //  "AUTO"
32  
33      //Status Changes Section
34      private String additionalInfo;           // blank or null
35  
36      // Delivery Tab
37      private String deliveryCampusCode;       // profile xml
38      private String buildingCode;             // profile xml
39      private String deliveryTo;               // determined based on deliveryCampusCode and buildingCode.
40      private String deliveryAddress1;         // determined based on deliveryCampusCode and buildingCode.
41      private String deliveryAddress2;         // determined based on deliveryCampusCode and buildingCode.
42      private String deliveryBuildingRoomNumber;  // determined based on deliveryCampusCode and buildingCode.
43      private String deliveryBuildingLine1Address; // determined based on deliveryCampusCode and buildingCode.
44      private String deliveryCityName;   // determined based on deliveryCampusCode and buildingCode.
45      private String deliveryStateCode;   // determined based on deliveryCampusCode and buildingCode.
46      private String deliveryPostalCode;  // determined based on deliveryCampusCode and buildingCode.
47      private String deliveryCountryCode;    // determined based on deliveryCampusCode and buildingCode.
48      private Date deliveryDateRequired;     // blank or null
49      private String deliveryDateRequiredReason; // blank or null
50      private String deliveryInstruction;       // blank or null
51      private String receivingAddress;       // blank or null
52      private String receivingAddressToVendorIndicator;   // blank or null
53  
54     //Vendor Address Section
55      private String vendor;               // determined based on vendor number.
56      private String vendorNumber;          // EDIFACT
57      private String vendorAddress1;       // determined based on vendor number.
58      private String vendorAddress2;       // determined based on vendor number.
59      private String attention;            // determined based on vendor number.
60      private String vendorCity;           // determined based on vendor number.
61      private String vendorState;          // determined based on vendor number.
62      private String province;             // determined based on vendor number.
63      private String vendorPostalCode;     // determined based on vendor number.
64      private String vendorCountry;        // determined based on vendor number.
65  
66     //Vendor Info Section
67      private String vendorChoice;         // profile xml
68      private String vendorInfoCustomer;
69      private String vendorNotes;           // blank or null
70      private String alternativeNonPrimaryVendorPayment;  // blank or null
71      private String contract;             // determined based on vendor number.
72      private String vendorPhoneNumber;    // determined based on vendor number.
73      private String vendorFaxNumber;      // determined based on vendor number.
74      private String vendorPaymentTerms;   // determined based on vendor number.
75      private String vendorShippingTitle;  // determined based on vendor number.
76      private String vendorShippingPaymentTerms;  // determined based on vendor number.
77      private String vendorContacts;          // determined based on vendor number.
78      private String vendorSupplierDiversity;  // determined based on vendor number.
79  
80      //Stipulations tab
81      private String note;
82  
83      //Items Section
84      private String itemChartCode;                  // profile.xml
85      private String itemType;                       // "QTY"
86      private String quantity;                       // EDIFACT
87      private String itemDescription;                // this information comes from the MARC record.Leave this as it is coded in OLE .3
88      private String listPrice;                      // EDIFACT
89      private String discount;                       // blank or null
90      private String discountType;                   // blank or null
91      private boolean routeToRequestor;               // "NO"
92      private boolean publicView;                     // profile xml
93      private String currencyType;                   // based on vendor number.
94  
95      private String vendorItemIdentifier;   // EDIFACT
96  
97      //Account Lines
98      private String accountNumber;    // EDIFACT
99      private String objectCode;
100     private String orgRefId;         // blank or null
101     private String percent;          //100
102 
103     private String format;          // EDIFACT
104     private String internalPurchasingLimit;    //Profile xml
105 
106     private String billingName;
107     private String billingLine1Address;     // determined based on campus code on delivery section.
108     private String billingCityName;        // determined based on campus code on delivery section.
109     private String billingStateCode;       // determined based on campus code on delivery section.
110     private String billingPostalCode;      // determined based on campus code on delivery section.
111     private String billingPhoneNumber;     // determined based on campus code on delivery section.
112     private String billingCountryCode;     // determined based on campus code on delivery section.
113 
114     //Free text note for line item.
115     private String freeTextNote;                  // this information comes particularly from duke.edi
116 
117     private String methodOfPOTransmission; // "NOPR"
118 
119     private String costSource;
120 
121     public String getCostSource() {
122         return costSource;
123     }
124 
125     public void setCostSource(String costSource) {
126         this.costSource = costSource;
127     }
128 
129 
130     public String getFreeTextNote() {
131         return freeTextNote;
132     }
133 
134     public void setFreeTextNote(String freeTextNote) {
135         this.freeTextNote = freeTextNote;
136     }
137 
138     public String getYear() {
139         return year;
140     }
141 
142     public void setYear(String year) {
143         this.year = year;
144     }
145 
146     public String getAmount() {
147         return amount;
148     }
149 
150     public void setAmount(String amount) {
151         this.amount = amount;
152     }
153 
154     public String getChartCode() {
155         return chartCode;
156     }
157 
158     public void setChartCode(String chartCode) {
159         this.chartCode = chartCode;
160     }
161 
162     public String getOrgCode() {
163         return orgCode;
164     }
165 
166     public void setOrgCode(String orgCode) {
167         this.orgCode = orgCode;
168     }
169 
170     public String getItemChartCode() {
171         return itemChartCode;
172     }
173 
174     public void setItemChartCode(String itemChartCode) {
175         this.itemChartCode = itemChartCode;
176     }
177 
178     public String getContractManager() {
179         return contractManager;
180     }
181 
182     public void setContractManager(String contractManager) {
183         this.contractManager = contractManager;
184     }
185 
186     public String getAssignToUser() {
187         return assignToUser;
188     }
189 
190     public void setAssignToUser(String assignToUser) {
191         this.assignToUser = assignToUser;
192     }
193 
194     public boolean isUseTaxIndicator() {
195         return useTaxIndicator;
196     }
197 
198     public void setUseTaxIndicator(boolean useTaxIndicator) {
199         this.useTaxIndicator = useTaxIndicator;
200     }
201 
202     public String getOrderType() {
203         return orderType;
204     }
205 
206     public void setOrderType(String orderType) {
207         this.orderType = orderType;
208     }
209 
210     public String getFundingSource() {
211         return fundingSource;
212     }
213 
214     public void setFundingSource(String fundingSource) {
215         this.fundingSource = fundingSource;
216     }
217 
218 
219 
220     public String getPreviousPurchaseOrder() {
221         return previousPurchaseOrder;
222     }
223 
224     public void setPreviousPurchaseOrder(String previousPurchaseOrder) {
225         this.previousPurchaseOrder = previousPurchaseOrder;
226     }
227 
228 
229 
230     public String getRequisitionSource() {
231         return requisitionSource;
232     }
233 
234     public void setRequisitionSource(String requisitionSource) {
235         this.requisitionSource = requisitionSource;
236     }
237 
238     public String getAdditionalInfo() {
239         return additionalInfo;
240     }
241 
242     public void setAdditionalInfo(String additionalInfo) {
243         this.additionalInfo = additionalInfo;
244     }
245 
246     public String getDeliveryCampusCode() {
247         return deliveryCampusCode;
248     }
249 
250     public void setDeliveryCampusCode(String deliveryCampusCode) {
251         this.deliveryCampusCode = deliveryCampusCode;
252     }
253 
254     public String getBuildingCode() {
255         return buildingCode;
256     }
257 
258     public void setBuildingCode(String buildingCode) {
259         this.buildingCode = buildingCode;
260     }
261 
262     public String getDeliveryTo() {
263         return deliveryTo;
264     }
265 
266     public void setDeliveryTo(String deliveryTo) {
267         this.deliveryTo = deliveryTo;
268     }
269 
270     public String getDeliveryAddress1() {
271         return deliveryAddress1;
272     }
273 
274     public void setDeliveryAddress1(String deliveryAddress1) {
275         this.deliveryAddress1 = deliveryAddress1;
276     }
277 
278     public String getDeliveryAddress2() {
279         return deliveryAddress2;
280     }
281 
282     public void setDeliveryAddress2(String deliveryAddress2) {
283         this.deliveryAddress2 = deliveryAddress2;
284     }
285 
286     public String getDeliveryBuildingRoomNumber() {
287         return deliveryBuildingRoomNumber;
288     }
289 
290     public void setDeliveryBuildingRoomNumber(String deliveryBuildingRoomNumber) {
291         this.deliveryBuildingRoomNumber = deliveryBuildingRoomNumber;
292     }
293 
294     public String getDeliveryBuildingLine1Address() {
295         return deliveryBuildingLine1Address;
296     }
297 
298     public void setDeliveryBuildingLine1Address(String deliveryBuildingLine1Address) {
299         this.deliveryBuildingLine1Address = deliveryBuildingLine1Address;
300     }
301 
302     public String getDeliveryCityName() {
303         return deliveryCityName;
304     }
305 
306     public void setDeliveryCityName(String deliveryCityName) {
307         this.deliveryCityName = deliveryCityName;
308     }
309 
310     public String getDeliveryStateCode() {
311         return deliveryStateCode;
312     }
313 
314     public void setDeliveryStateCode(String deliveryStateCode) {
315         this.deliveryStateCode = deliveryStateCode;
316     }
317 
318     public String getDeliveryPostalCode() {
319         return deliveryPostalCode;
320     }
321 
322     public void setDeliveryPostalCode(String deliveryPostalCode) {
323         this.deliveryPostalCode = deliveryPostalCode;
324     }
325 
326     public String getDeliveryCountryCode() {
327         return deliveryCountryCode;
328     }
329 
330     public void setDeliveryCountryCode(String deliveryCountryCode) {
331         this.deliveryCountryCode = deliveryCountryCode;
332     }
333 
334     public Date getDeliveryDateRequired() {
335         return deliveryDateRequired;
336     }
337 
338     public void setDeliveryDateRequired(Date deliveryDateRequired) {
339         this.deliveryDateRequired = deliveryDateRequired;
340     }
341 
342     public String getDeliveryDateRequiredReason() {
343         return deliveryDateRequiredReason;
344     }
345 
346     public void setDeliveryDateRequiredReason(String deliveryDateRequiredReason) {
347         this.deliveryDateRequiredReason = deliveryDateRequiredReason;
348     }
349 
350     public String getDeliveryInstruction() {
351         return deliveryInstruction;
352     }
353 
354     public void setDeliveryInstruction(String deliveryInstruction) {
355         this.deliveryInstruction = deliveryInstruction;
356     }
357 
358     public String getReceivingAddress() {
359         return receivingAddress;
360     }
361 
362     public void setReceivingAddress(String receivingAddress) {
363         this.receivingAddress = receivingAddress;
364     }
365 
366     public String getReceivingAddressToVendorIndicator() {
367         return receivingAddressToVendorIndicator;
368     }
369 
370     public void setReceivingAddressToVendorIndicator(String receivingAddressToVendorIndicator) {
371         this.receivingAddressToVendorIndicator = receivingAddressToVendorIndicator;
372     }
373 
374     public String getVendor() {
375         return vendor;
376     }
377 
378     public void setVendor(String vendor) {
379         this.vendor = vendor;
380     }
381 
382     public String getVendorNumber() {
383         return vendorNumber;
384     }
385 
386     public void setVendorNumber(String vendorNumber) {
387         this.vendorNumber = vendorNumber;
388     }
389 
390     public String getVendorAddress1() {
391         return vendorAddress1;
392     }
393 
394     public void setVendorAddress1(String vendorAddress1) {
395         this.vendorAddress1 = vendorAddress1;
396     }
397 
398     public String getVendorAddress2() {
399         return vendorAddress2;
400     }
401 
402     public void setVendorAddress2(String vendorAddress2) {
403         this.vendorAddress2 = vendorAddress2;
404     }
405 
406     public String getAttention() {
407         return attention;
408     }
409 
410     public void setAttention(String attention) {
411         this.attention = attention;
412     }
413 
414     public String getVendorCity() {
415         return vendorCity;
416     }
417 
418     public void setVendorCity(String vendorCity) {
419         this.vendorCity = vendorCity;
420     }
421 
422     public String getVendorState() {
423         return vendorState;
424     }
425 
426     public void setVendorState(String vendorState) {
427         this.vendorState = vendorState;
428     }
429 
430     public String getProvince() {
431         return province;
432     }
433 
434     public void setProvince(String province) {
435         this.province = province;
436     }
437 
438     public String getVendorPostalCode() {
439         return vendorPostalCode;
440     }
441 
442     public void setVendorPostalCode(String vendorPostalCode) {
443         this.vendorPostalCode = vendorPostalCode;
444     }
445 
446     public String getVendorCountry() {
447         return vendorCountry;
448     }
449 
450     public void setVendorCountry(String vendorCountry) {
451         this.vendorCountry = vendorCountry;
452     }
453 
454     public String getVendorChoice() {
455         return vendorChoice;
456     }
457 
458     public void setVendorChoice(String vendorChoice) {
459         this.vendorChoice = vendorChoice;
460     }
461 
462     public String getVendorInfoCustomer() {
463         return vendorInfoCustomer;
464     }
465 
466     public void setVendorInfoCustomer(String vendorInfoCustomer) {
467         this.vendorInfoCustomer = vendorInfoCustomer;
468     }
469 
470     public String getVendorNotes() {
471         return vendorNotes;
472     }
473 
474     public void setVendorNotes(String vendorNotes) {
475         this.vendorNotes = vendorNotes;
476     }
477 
478     public String getAlternativeNonPrimaryVendorPayment() {
479         return alternativeNonPrimaryVendorPayment;
480     }
481 
482     public void setAlternativeNonPrimaryVendorPayment(String alternativeNonPrimaryVendorPayment) {
483         this.alternativeNonPrimaryVendorPayment = alternativeNonPrimaryVendorPayment;
484     }
485 
486     public String getContract() {
487         return contract;
488     }
489 
490     public void setContract(String contract) {
491         this.contract = contract;
492     }
493 
494     public String getVendorPhoneNumber() {
495         return vendorPhoneNumber;
496     }
497 
498     public void setVendorPhoneNumber(String vendorPhoneNumber) {
499         this.vendorPhoneNumber = vendorPhoneNumber;
500     }
501 
502     public String getVendorFaxNumber() {
503         return vendorFaxNumber;
504     }
505 
506     public void setVendorFaxNumber(String vendorFaxNumber) {
507         this.vendorFaxNumber = vendorFaxNumber;
508     }
509 
510     public String getVendorPaymentTerms() {
511         return vendorPaymentTerms;
512     }
513 
514     public void setVendorPaymentTerms(String vendorPaymentTerms) {
515         this.vendorPaymentTerms = vendorPaymentTerms;
516     }
517 
518     public String getVendorShippingTitle() {
519         return vendorShippingTitle;
520     }
521 
522     public void setVendorShippingTitle(String vendorShippingTitle) {
523         this.vendorShippingTitle = vendorShippingTitle;
524     }
525 
526     public String getVendorShippingPaymentTerms() {
527         return vendorShippingPaymentTerms;
528     }
529 
530     public void setVendorShippingPaymentTerms(String vendorShippingPaymentTerms) {
531         this.vendorShippingPaymentTerms = vendorShippingPaymentTerms;
532     }
533 
534     public String getVendorContacts() {
535         return vendorContacts;
536     }
537 
538     public void setVendorContacts(String vendorContacts) {
539         this.vendorContacts = vendorContacts;
540     }
541 
542     public String getVendorSupplierDiversity() {
543         return vendorSupplierDiversity;
544     }
545 
546     public void setVendorSupplierDiversity(String vendorSupplierDiversity) {
547         this.vendorSupplierDiversity = vendorSupplierDiversity;
548     }
549 
550     public String getNote() {
551         return note;
552     }
553 
554     public void setNote(String note) {
555         this.note = note;
556     }
557 
558     public String getItemType() {
559         return itemType;
560     }
561 
562     public void setItemType(String itemType) {
563         this.itemType = itemType;
564     }
565 
566     public String getQuantity() {
567         return quantity;
568     }
569 
570     public void setQuantity(String quantity) {
571         this.quantity = quantity;
572     }
573 
574     public String getItemDescription() {
575         return itemDescription;
576     }
577 
578     public void setItemDescription(String itemDescription) {
579         this.itemDescription = itemDescription;
580     }
581 
582     public String getListPrice() {
583         return listPrice;
584     }
585 
586     public void setListPrice(String listPrice) {
587         this.listPrice = listPrice;
588     }
589 
590     public String getDiscount() {
591         return discount;
592     }
593 
594     public void setDiscount(String discount) {
595         this.discount = discount;
596     }
597 
598     public String getDiscountType() {
599         return discountType;
600     }
601 
602     public void setDiscountType(String discountType) {
603         this.discountType = discountType;
604     }
605 
606 
607 
608     public String getCurrencyType() {
609         return currencyType;
610     }
611 
612     public void setCurrencyType(String currencyType) {
613         this.currencyType = currencyType;
614     }
615 
616     public String getVendorItemIdentifier() {
617         return vendorItemIdentifier;
618     }
619 
620     public void setVendorItemIdentifier(String vendorItemIdentifier) {
621         this.vendorItemIdentifier = vendorItemIdentifier;
622     }
623 
624     public String getAccountNumber() {
625         return accountNumber;
626     }
627 
628     public void setAccountNumber(String accountNumber) {
629         this.accountNumber = accountNumber;
630     }
631 
632     public String getObjectCode() {
633         return objectCode;
634     }
635 
636     public void setObjectCode(String objectCode) {
637         this.objectCode = objectCode;
638     }
639 
640     public String getOrgRefId() {
641         return orgRefId;
642     }
643 
644     public void setOrgRefId(String orgRefId) {
645         this.orgRefId = orgRefId;
646     }
647 
648     public String getPercent() {
649         return percent;
650     }
651 
652     public void setPercent(String percent) {
653         this.percent = percent;
654     }
655 
656     public String getFormat() {
657         return format;
658     }
659 
660     public void setFormat(String format) {
661         this.format = format;
662     }
663 
664     public String getInternalPurchasingLimit() {
665         return internalPurchasingLimit;
666     }
667 
668     public void setInternalPurchasingLimit(String internalPurchasingLimit) {
669         this.internalPurchasingLimit = internalPurchasingLimit;
670     }
671 
672     public String getBillingName() {
673         return billingName;
674     }
675 
676     public void setBillingName(String billingName) {
677         this.billingName = billingName;
678     }
679 
680     public String getBillingLine1Address() {
681         return billingLine1Address;
682     }
683 
684     public void setBillingLine1Address(String billingLine1Address) {
685         this.billingLine1Address = billingLine1Address;
686     }
687 
688     public String getBillingCityName() {
689         return billingCityName;
690     }
691 
692     public void setBillingCityName(String billingCityName) {
693         this.billingCityName = billingCityName;
694     }
695 
696     public String getBillingStateCode() {
697         return billingStateCode;
698     }
699 
700     public void setBillingStateCode(String billingStateCode) {
701         this.billingStateCode = billingStateCode;
702     }
703 
704     public String getBillingPostalCode() {
705         return billingPostalCode;
706     }
707 
708     public void setBillingPostalCode(String billingPostalCode) {
709         this.billingPostalCode = billingPostalCode;
710     }
711 
712     public String getBillingPhoneNumber() {
713         return billingPhoneNumber;
714     }
715 
716     public void setBillingPhoneNumber(String billingPhoneNumber) {
717         this.billingPhoneNumber = billingPhoneNumber;
718     }
719 
720     public String getBillingCountryCode() {
721         return billingCountryCode;
722     }
723 
724     public void setBillingCountryCode(String billingCountryCode) {
725         this.billingCountryCode = billingCountryCode;
726     }
727 
728     public String getMethodOfPOTransmission() {
729         return methodOfPOTransmission;
730     }
731 
732     public void setMethodOfPOTransmission(String methodOfPOTransmission) {
733         this.methodOfPOTransmission = methodOfPOTransmission;
734     }
735 
736     public boolean isReceivingRequired() {
737         return receivingRequired;
738     }
739 
740     public void setReceivingRequired(boolean receivingRequired) {
741         this.receivingRequired = receivingRequired;
742     }
743 
744     public boolean isPayReqPositiveApprovalReq() {
745         return payReqPositiveApprovalReq;
746     }
747 
748     public void setPayReqPositiveApprovalReq(boolean payReqPositiveApprovalReq) {
749         this.payReqPositiveApprovalReq = payReqPositiveApprovalReq;
750     }
751 
752     public boolean isPurchaseOrderConfirmationIndicator() {
753         return purchaseOrderConfirmationIndicator;
754     }
755 
756     public void setPurchaseOrderConfirmationIndicator(boolean purchaseOrderConfirmationIndicator) {
757         this.purchaseOrderConfirmationIndicator = purchaseOrderConfirmationIndicator;
758     }
759 
760     public boolean isRouteToRequestor() {
761         return routeToRequestor;
762     }
763 
764     public void setRouteToRequestor(boolean routeToRequestor) {
765         this.routeToRequestor = routeToRequestor;
766     }
767 
768     public boolean isPublicView() {
769         return publicView;
770     }
771 
772     public void setPublicView(boolean publicView) {
773         this.publicView = publicView;
774     }
775 }