[ 
https://issues.apache.org/jira/browse/OFBIZ-11107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870167#comment-16870167
 ] 

Pierre Smits commented on OFBIZ-11107:
--------------------------------------

I would say that the quote issue date can not be set with a value in the 
future, but either with the current date time or a value in the past. 

And the valid through date should be a later date time than the valid from 
date. So:
issue date time < valid from date time < valid through date time.

And we should consider that the valid from date time always sets the time part 
to the beginning of the date, and the time part of valid through date time to 
the end of the date.

> Issue date of a quote should always be a date before quote's expiry date
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-11107
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11107
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Dikpal Kanungo
>            Assignee: Praveen Sharma
>            Priority: Minor
>         Attachments: QuoteReport.pdf
>
>
> The issue date of a quote should always fall before the quote expires, in the 
> current implementation user is able to select any date, irrespective of the 
> from and thru date.
> Expected-
> We should apply a validation while submitting the quote, that will check if 
> the issue date is exceeding expiry date, if yes we should display a message 
> to select a date before the expiry date.
> Please have a look at the attached quote pdf to have a better understanding.
>  
> Steps to regenerate-
> Navigate to - 
> [https://demo-trunk.ofbiz.apache.org/ordermgr/control/createQuote] 
> Try creating a quote.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to