1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.purap.businessobject;
17
18 import org.kuali.ole.module.purap.document.CorrectionReceivingDocument;
19
20
21
22
23 public class CorrectionReceivingItem extends ReceivingItemBase {
24
25 private CorrectionReceivingDocument correctionReceivingDocument;
26
27
28
29
30 public CorrectionReceivingItem() {
31
32 }
33
34 public CorrectionReceivingItem(LineItemReceivingItem rli, CorrectionReceivingDocument rcd) {
35
36 this.setDocumentNumber(rcd.getDocumentNumber());
37 this.setItemTypeCode(rli.getItemTypeCode());
38 this.setPurchaseOrderIdentifier(rli.getPurchaseOrderIdentifier());
39
40 this.setItemLineNumber(rli.getItemLineNumber());
41 this.setItemCatalogNumber(rli.getItemCatalogNumber());
42 this.setItemDescription(rli.getItemDescription());
43 this.setItemUnitOfMeasureCode(rli.getItemUnitOfMeasureCode());
44
45 this.setItemOriginalReceivedTotalQuantity(rli.getItemReceivedTotalQuantity());
46 this.setItemOriginalReturnedTotalQuantity(rli.getItemReturnedTotalQuantity());
47 this.setItemOriginalDamagedTotalQuantity(rli.getItemDamagedTotalQuantity());
48
49 this.setItemReceivedTotalQuantity(rli.getItemReceivedTotalQuantity());
50 this.setItemReturnedTotalQuantity(rli.getItemReturnedTotalQuantity());
51 this.setItemDamagedTotalQuantity(rli.getItemDamagedTotalQuantity());
52
53
54 this.setItemReasonAddedCode(null);
55 }
56
57
58 public CorrectionReceivingDocument getCorrectionReceivingDocument() {
59 return correctionReceivingDocument;
60 }
61
62
63
64
65
66
67
68 public void setCorrectionReceivingDocument(CorrectionReceivingDocument correctionReceivingDocument) {
69 this.correctionReceivingDocument = correctionReceivingDocument;
70 }
71
72
73 }