[
https://issues.apache.org/jira/browse/OFBIZ-9546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108418#comment-16108418 ]
Deepak Dixit commented on OFBIZ-9546:
-------------------------------------
Thanks Nicolas,
Like in case of Promotion, if user setup an promotion for one or two month, in this case from and thruDate exists in record, due to some reason if user want to expire promo immediately then he click on expire, ideally promotion should expire but it does not as thruDate (future date) is already set on ProductStorePromoAppl record.
> Entity Auto should use nowTimestamp while expire either thruDate is set or not on entity
> ----------------------------------------------------------------------------------------
>
> Key: OFBIZ-9546
> URL:
https://issues.apache.org/jira/browse/OFBIZ-9546> Project: OFBiz
> Issue Type: Improvement
> Reporter: Deepak Dixit
> Attachments: OFBIZ-9546.patch
>
>
> Currently Entity Auto expire action set thruDate only to nowTimestamp if entity.thruDate is not set.
> Ideally it should set nowTimestamp each time or at least it should check if entity.thruDate is greater then nowTimestamp then should set nowTimestamp.
> If thruDate is not passed in expire service it means record should be expire immediately. so it should override the future thruDate with nowTimestamp
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)