Fixed: Not able to delete PartyRate
@@ -119,10 +119,12 @@ def expirePartyRate() {
lookedUpValue.store()
//expire related rate amount
+ if (parameters.rateAmountFromDate) {
parameters.fromDate = parameters.rateAmountFromDate;
result = run service: 'expireRateAmount', with: parameters
if (ServiceUtil.isError(result)) return result
}
+ }
return success()
}
