1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.integration.cab;
17
18 import java.util.List;
19
20 import org.kuali.ole.fp.businessobject.CapitalAssetInformation;
21 import org.kuali.ole.integration.purap.ExternalPurApItem;
22 import org.kuali.ole.integration.purap.ItemCapitalAsset;
23 import org.kuali.ole.sys.businessobject.AccountingLine;
24 import org.kuali.ole.sys.document.AccountingDocument;
25 import org.kuali.rice.krad.bo.DocumentHeader;
26
27 public interface CapitalAssetBuilderModuleService {
28
29
30
31
32
33
34 public boolean isAssetTypeExisting(String assetTypeCode);
35
36
37
38
39
40
41 String getCurrentPurchaseOrderDocumentNumber(String camsDocumentNumber);
42
43
44
45
46
47
48
49
50 public boolean validateFinancialProcessingData(AccountingDocument accountingDocument, CapitalAssetInformation capitalAssetInformation, int index);
51
52
53 public boolean validatePurchasingData(AccountingDocument accountingDocument);
54
55 public boolean validateAccountsPayableData(AccountingDocument accountingDocument);
56
57 public boolean doesAccountingLineFailAutomaticPurchaseOrderRules(AccountingLine accountingLine);
58
59 public boolean doesDocumentFailAutomaticPurchaseOrderRules(AccountingDocument accountingDocument);
60
61 public boolean doesItemNeedCapitalAsset(String itemTypeCode, List accountingLines);
62
63 public boolean validateUpdateCAMSView(AccountingDocument accountingDocumen);
64
65 public boolean validateAddItemCapitalAssetBusinessRules(ItemCapitalAsset asset);
66
67 public boolean warningObjectLevelCapital(AccountingDocument accountingDocument);
68
69 public boolean validateItemCapitalAssetWithErrors(String recurringPaymentTypeCode, ExternalPurApItem item, boolean apoCheck);
70
71 public List<CapitalAssetBuilderAssetTransactionType> getAllAssetTransactionTypes();
72
73
74
75
76
77
78
79 public void notifyRouteStatusChange(DocumentHeader documentHeader);
80
81
82
83
84
85
86
87
88
89 public boolean hasCapitalAssetObjectSubType(AccountingDocument accountingDocument);
90
91 public boolean validateAllFieldRequirementsByChart(AccountingDocument accountingDocument);
92
93 public boolean validatePurchasingObjectSubType(AccountingDocument accountingDocument);
94
95 public boolean hasCapitalAssetObjectSubType(AccountingLine accountingLine);
96
97 public boolean validateAssetTags(AccountingDocument accountingDocument);
98
99
100
101
102
103
104
105 public boolean validateAllCapitalAccountingLinesProcessed(AccountingDocument accountingDocumentForValidation);
106
107
108
109
110
111
112
113 public boolean validateTotalAmountMatch(AccountingDocument accountingDocumentForValidation);
114
115
116
117
118
119
120
121
122 public boolean validateCapitlAssetsAmountToAccountingLineAmount(AccountingDocument accountingDocument);
123
124
125
126
127
128
129 public boolean validateCapitalAccountingLines(AccountingDocument accountingDocumentForValidation);
130
131
132
133
134
135
136 public boolean markProcessedGLEntryLine(String documentNumber);
137 }