Search in sources :

Example 11 with VendorSupplierDiversity

use of org.kuali.kfs.vnd.businessobject.VendorSupplierDiversity 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

VendorSupplierDiversity (org.kuali.kfs.vnd.businessobject.VendorSupplierDiversity)11 CuVendorSupplierDiversityExtension (edu.cornell.kfs.vnd.businessobject.CuVendorSupplierDiversityExtension)6 ArrayList (java.util.ArrayList)4 VendorDetail (org.kuali.kfs.vnd.businessobject.VendorDetail)4 VendorHeader (org.kuali.kfs.vnd.businessobject.VendorHeader)4 Date (java.util.Date)3 VendorBatchSupplierDiversity (edu.cornell.kfs.vnd.businessobject.VendorBatchSupplierDiversity)2 SupplierDiversity (org.kuali.kfs.vnd.businessobject.SupplierDiversity)2 CuVendorCreditCardMerchant (edu.cornell.kfs.vnd.businessobject.CuVendorCreditCardMerchant)1 CuVendorHeaderExtension (edu.cornell.kfs.vnd.businessobject.CuVendorHeaderExtension)1 VendorDetailExtension (edu.cornell.kfs.vnd.businessobject.VendorDetailExtension)1 Date (java.sql.Date)1 ParseException (java.text.ParseException)1 SimpleDateFormat (java.text.SimpleDateFormat)1 CommodityCode (org.kuali.kfs.vnd.businessobject.CommodityCode)1 VendorAddress (org.kuali.kfs.vnd.businessobject.VendorAddress)1 VendorCommodityCode (org.kuali.kfs.vnd.businessobject.VendorCommodityCode)1