1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.purap.document;
17
18 import org.kuali.ole.module.purap.businessobject.PurApItem;
19 import org.kuali.ole.sys.document.AccountingDocument;
20 import org.kuali.ole.vnd.businessobject.VendorAddress;
21 import org.kuali.ole.vnd.businessobject.VendorDetail;
22 import org.kuali.rice.core.api.util.type.KualiDecimal;
23 import org.kuali.rice.location.framework.country.CountryEbo;
24
25 import java.sql.Date;
26 import java.util.List;
27
28
29
30
31
32 public interface PurchasingAccountsPayableDocument extends AccountingDocument, PurapItemOperations {
33
34
35
36
37
38
39 public boolean isPostingYearNext();
40
41
42
43
44
45
46 public boolean isPostingYearPrior();
47
48
49
50
51
52
53
54 public Integer getPostingYearNextOrCurrent();
55
56
57
58
59
60
61 @Override
62 public Class getItemClass();
63
64
65
66
67
68
69 public PurchasingAccountsPayableDocument getPurApSourceDocumentIfPossible();
70
71
72
73
74
75
76 public String getPurApSourceDocumentLabelIfPossible();
77
78
79
80
81
82
83
84 public boolean isDocumentStoppedInRouteNode(String nodeName);
85
86
87
88
89
90
91 public void addItem(PurApItem item);
92
93
94
95
96
97
98 public void deleteItem(int lineNum);
99
100
101
102
103
104
105 public void renumberItems(int start);
106
107
108
109
110
111
112
113 public void itemSwap(int position1, int position2);
114
115
116
117
118
119
120
121 public int getItemLinePosition();
122
123
124
125
126
127
128
129 @Override
130 public PurApItem getItem(int pos);
131
132
133
134
135
136
137 public String[] getBelowTheLineTypes();
138
139
140
141
142
143
144 public KualiDecimal getTotalDollarAmount();
145
146
147
148
149
150
151 public void setTotalDollarAmount(KualiDecimal totalDollarAmount);
152
153
154
155
156
157
158
159 public KualiDecimal getTotalDollarAmountAllItems(String[] excludedTypes);
160
161 public KualiDecimal getTotalDollarAmountAboveLineItems();
162
163
164
165
166
167
168 public KualiDecimal getTotalPreTaxDollarAmount();
169
170
171
172
173
174
175 public void setTotalPreTaxDollarAmount(KualiDecimal totalDollarAmount);
176
177
178
179
180
181
182
183 public KualiDecimal getTotalPreTaxDollarAmountAllItems(String[] excludedTypes);
184
185 public KualiDecimal getTotalTaxAmount();
186
187 public void setTotalTaxAmount(KualiDecimal amount);
188
189 public KualiDecimal getTotalTaxAmountAllItems(String[] excludedTypes);
190
191 public KualiDecimal getTotalTaxAmountAboveLineItems();
192
193 public KualiDecimal getTotalTaxAmountAboveLineItems(String[] excludedTypes);
194
195 public KualiDecimal getTotalTaxAmountWithExclusions(String[] excludedTypes, boolean includeBelowTheLine);
196
197
198
199
200
201
202 public void templateVendorAddress(VendorAddress vendorAddress);
203
204 public CountryEbo getVendorCountry();
205
206 public VendorDetail getVendorDetail();
207
208 @Override
209 public List<PurApItem> getItems();
210
211 @Override
212 public void setItems(List<PurApItem> items);
213
214 public String getVendorNumber();
215
216 public void setVendorNumber(String vendorNumber);
217
218 public Integer getVendorHeaderGeneratedIdentifier();
219
220 public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier);
221
222 public Integer getVendorDetailAssignedIdentifier();
223
224 public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier);
225
226 public String getVendorCustomerNumber();
227
228 public void setVendorCustomerNumber(String vendorCustomerNumber);
229
230 public Integer getPurapDocumentIdentifier();
231
232 public void setPurapDocumentIdentifier(Integer identifier);
233
234 public String getApplicationDocumentStatus();
235
236 public void setApplicationDocumentStatus(String appDocStatus);
237
238 public String getVendorCityName();
239
240 public void setVendorCityName(String vendorCityName);
241
242 public String getVendorCountryCode();
243
244 public void setVendorCountryCode(String vendorCountryCode);
245
246 public String getVendorLine1Address();
247
248 public void setVendorLine1Address(String vendorLine1Address);
249
250 public String getVendorLine2Address();
251
252 public void setVendorLine2Address(String vendorLine2Address);
253
254 public String getVendorName();
255
256 public void setVendorName(String vendorName);
257
258 public String getVendorPostalCode();
259
260 public void setVendorPostalCode(String vendorPostalCode);
261
262 public String getVendorStateCode();
263
264 public void setVendorStateCode(String vendorStateCode);
265
266 public String getVendorAddressInternationalProvinceName();
267
268 public void setVendorAddressInternationalProvinceName(String vendorAddressInternationalProvinceName);
269
270 public Integer getAccountsPayablePurchasingDocumentLinkIdentifier();
271
272 public void setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier);
273
274 public Integer getVendorAddressGeneratedIdentifier();
275
276 public void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier);
277
278 public boolean isUseTaxIndicator();
279
280 public void setUseTaxIndicator(boolean useTaxIndicator);
281
282 public void fixItemReferences();
283
284 public Date getTransactionTaxDate();
285
286 public PurApItem getTradeInItem();
287
288 public KualiDecimal getTotalDollarAmountForTradeIn();
289
290 public List<PurApItem> getTradeInItems();
291
292
293
294
295
296
297
298 public boolean getIsATypeOfPurAPRecDoc();
299
300
301
302
303
304
305 public boolean getIsATypeOfPurDoc();
306
307
308
309
310
311
312 public boolean getIsATypeOfPODoc();
313
314
315
316
317
318
319 public boolean getIsPODoc();
320
321
322
323
324
325
326 public boolean getIsReqsDoc();
327
328
329
330
331
332
333
334 public boolean isInquiryRendered();
335
336 public boolean shouldGiveErrorForEmptyAccountsProration();
337
338 public boolean isCalculated();
339
340 public void setCalculated(boolean calculated);
341
342
343
344
345
346
347
348
349
350
351
352 }