From what I recall, the idea is for a customer service person to ask how long the customer has been at that address, and the customer would respond with a time duration of months or years. There are no exact dates in the scenario.

I would recommend using a TimeDuration to calculate a fromDate based on the current date. So, the CSR enters months or years at current address, and a service calculates PartyContactMech.fromDate based on that information.

-Adrian

On 5/30/2012 12:34 AM, Adam Heath wrote:
I noticed the 2 fields in the subject, but didn't actually recoginize
them(I've been using ofbiz for a *long* time).  I did a big of
digging, and noticed that those fields were added to the model in
2006-05-04(1), and were first utilized when anonymous checkout was
added 2006-11-28(2).  There has been no real use of the 2 fields since
then.

Why do they have to exist?  Why can't DATE_TRUNC or some other sql
function be used?  Or normal Timestamp manipulation on fromDate/thruDate?

1: http://svn.ofbiz.org/svn/ofbiz/trunk@7513
2: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479879

Reply via email to