Search in sources :

Example 1 with CuDisbursementVoucherPayeeService

use of edu.cornell.kfs.fp.document.service.CuDisbursementVoucherPayeeService in project cu-kfs by CU-CommunityApps.

the class CuDisbursementPayeeLookupableHelperServiceImpl method getPayeeFromPerson.

protected CuDisbursementPayee getPayeeFromPerson(Person personDetail, Map<String, String> fieldValues, String payeeTypeCode) {
    DisbursementPayee payee = ((CuDisbursementVoucherPayeeService) disbursementVoucherPayeeService).getPayeeFromPerson(personDetail, payeeTypeCode);
    payee.setPaymentReasonCode(fieldValues.get(KFSPropertyConstants.PAYMENT_REASON_CODE));
    return (CuDisbursementPayee) payee;
}
Also used : CuDisbursementPayee(edu.cornell.kfs.fp.businessobject.CuDisbursementPayee) CuDisbursementVoucherPayeeService(edu.cornell.kfs.fp.document.service.CuDisbursementVoucherPayeeService) CuDisbursementPayee(edu.cornell.kfs.fp.businessobject.CuDisbursementPayee) DisbursementPayee(org.kuali.kfs.fp.businessobject.DisbursementPayee)

Example 2 with CuDisbursementVoucherPayeeService

use of edu.cornell.kfs.fp.document.service.CuDisbursementVoucherPayeeService in project cu-kfs by CU-CommunityApps.

the class CuDisbursementPayeeLookupableHelperServiceImpl method getPayeeFromVendor.

protected CuDisbursementPayee getPayeeFromVendor(VendorDetail vendorDetail, Map<String, String> fieldValues) {
    CuDisbursementPayee payee = ((CuDisbursementVoucherPayeeService) disbursementVoucherPayeeService).getPayeeFromVendor(vendorDetail);
    payee.setPaymentReasonCode(fieldValues.get(KFSPropertyConstants.PAYMENT_REASON_CODE));
    return payee;
}
Also used : CuDisbursementPayee(edu.cornell.kfs.fp.businessobject.CuDisbursementPayee) CuDisbursementVoucherPayeeService(edu.cornell.kfs.fp.document.service.CuDisbursementVoucherPayeeService)

Aggregations

CuDisbursementPayee (edu.cornell.kfs.fp.businessobject.CuDisbursementPayee)2 CuDisbursementVoucherPayeeService (edu.cornell.kfs.fp.document.service.CuDisbursementVoucherPayeeService)2 DisbursementPayee (org.kuali.kfs.fp.businessobject.DisbursementPayee)1