1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.purap.document.validation.impl;
17
18 import org.kuali.ole.module.purap.document.VendorCreditMemoDocument;
19 import org.kuali.ole.module.purap.document.service.CreditMemoService;
20 import org.kuali.ole.sys.document.validation.GenericValidation;
21 import org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent;
22
23 public class VendorCreditMemoCancelValidation extends GenericValidation {
24
25 private CreditMemoService creditMemoService;
26
27 public boolean validate(AttributedDocumentEvent event) {
28 VendorCreditMemoDocument creditMemoDocument = (VendorCreditMemoDocument) event.getDocument();
29
30
31 return true;
32 }
33
34 public CreditMemoService getCreditMemoService() {
35 return creditMemoService;
36 }
37
38 public void setCreditMemoService(CreditMemoService creditMemoService) {
39 this.creditMemoService = creditMemoService;
40 }
41
42 }