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;
}
Aggregations