RE: modify expiration date on service contract more several time
Hi,
I had a look on the code in T5965.36 "Expiration Date". Looks pretty selective... it changes the lines only if there is a new expiration date, and:
- to any date if it's only a quote
- only to a prior date if it's a contract, and the line has a later expiration date than entered, or none.
This sounds to me like non-desired behaviour. The result is that you can only shorten an existing contract, not extend.
The intention behind this is that you probably shouldn't be able to accidentally extend already expired contract lines. A good way out of this would be to mark expired lines as expired with an extra field, and change the code in T5965.36 "Expiration Date" to "change all non-expired lines accordingly, with consideration of already invoiced periods".
with best regards
Jens