Search in sources :

Example 6 with CuVendorSupplierDiversityExtension

use of edu.cornell.kfs.vnd.businessobject.CuVendorSupplierDiversityExtension in project cu-kfs by CU-CommunityApps.

the class PaymentWorksVendorToKfsVendorDetailConversionServiceImpl method buildVendorSupplierDiversity.

private VendorSupplierDiversity buildVendorSupplierDiversity(String vendorSupplierDiversityCode, java.sql.Date vendorSupplierDiversityExpirationDate) {
    VendorSupplierDiversity vendorSupplierDiversity = new VendorSupplierDiversity();
    vendorSupplierDiversity.setVendorSupplierDiversityCode(vendorSupplierDiversityCode);
    vendorSupplierDiversity.setActive(true);
    CuVendorSupplierDiversityExtension diversityExtension = new CuVendorSupplierDiversityExtension();
    diversityExtension.setVendorSupplierDiversityCode(vendorSupplierDiversityCode);
    diversityExtension.setVendorSupplierDiversityExpirationDate(vendorSupplierDiversityExpirationDate);
    vendorSupplierDiversity.setExtension(diversityExtension);
    return vendorSupplierDiversity;
}
Also used : CuVendorSupplierDiversityExtension(edu.cornell.kfs.vnd.businessobject.CuVendorSupplierDiversityExtension) VendorSupplierDiversity(org.kuali.kfs.vnd.businessobject.VendorSupplierDiversity)

Aggregations

CuVendorSupplierDiversityExtension (edu.cornell.kfs.vnd.businessobject.CuVendorSupplierDiversityExtension)6 VendorSupplierDiversity (org.kuali.kfs.vnd.businessobject.VendorSupplierDiversity)6 VendorBatchSupplierDiversity (edu.cornell.kfs.vnd.businessobject.VendorBatchSupplierDiversity)2 ArrayList (java.util.ArrayList)2 Date (java.util.Date)2 VendorDetail (org.kuali.kfs.vnd.businessobject.VendorDetail)2 VendorHeader (org.kuali.kfs.vnd.businessobject.VendorHeader)2 CuVendorHeaderExtension (edu.cornell.kfs.vnd.businessobject.CuVendorHeaderExtension)1 CommodityCode (org.kuali.kfs.vnd.businessobject.CommodityCode)1 VendorCommodityCode (org.kuali.kfs.vnd.businessobject.VendorCommodityCode)1