Skip to content

Commit

Permalink
Merge pull request #1298 from openlibraryenvironment/OLE-9448
Browse files Browse the repository at this point in the history
OLE-9448 : autoclosePO does not fully run
  • Loading branch information
NSSuresh11 authored May 4, 2020
2 parents 7ac7e39 + b656634 commit 46ecce8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public List<AutoClosePurchaseOrderView> getAllOpenPurchaseOrders(List<String> ex
public List<AutoClosePurchaseOrderView> getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes, java.sql.Date poCloseFromDate,Date poCloseToDate, Collection<String> orderTypeString) {
LOG.debug("getAllOpenPurchaseOrders() started");
Criteria criteria = new Criteria();
criteria.addIsNull(PurapPropertyConstants.RECURRING_PAYMENT_TYPE_CODE);
// criteria.addIsNull(PurapPropertyConstants.RECURRING_PAYMENT_TYPE_CODE);
Boolean encumb_check = getParameterService().getParameterValueAsBoolean(PurapConstants.PURAP_NAMESPACE, "All", OLEConstants.ZERO_ENCUMBRANCE_CHECK, Boolean.FALSE);
if(encumb_check) {
criteria.addEqualTo(PurapPropertyConstants.TOTAL_ENCUMBRANCE, new KualiDecimal(0));
Expand Down

0 comments on commit 46ecce8

Please sign in to comment.