For reference take a look on the below code snippet taken from OrderReturnServices.java file:
Line # 327 - 333.
// next check support discontinuationif (product != null && product.get("supportDiscontinuationDate") != null && !UtilDateTime.nowTimestamp().before(product.getTimestamp("supportDiscontinuationDate"))) {
// support discontinued either now or in the past
returnable = false;
}
Thanks !
--
Ashish
Abhishake Agarwal wrote:
Hi, I want to disable some product. I tried with putting past date in *supportDiscontinuationDate *and it was not working. Please let me know the process. Regards, Abhishake
smime.p7s
Description: S/MIME Cryptographic Signature
