FYI "supportDiscontinuationDate" field play important role while Returning an Order Item (aka product)

For reference take a look on the below code snippet taken from OrderReturnServices.java file:
Line # 327 - 333.

 // next check support discontinuation
if (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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to