Page 1 of 1

Auto-populate "Lease Return Date"

PostPosted: Thu Mar 18, 2010 5:12 am
by Filipe Matos
Hello again

Is there some way to automatically fill the fields "Lease" (bolean) and "Lease Return Date" on CIs whenever there is a related object from type "Contract" with the category "Lease" connected with it?
My intention should be obvious: reduce data redundancy by avoiding entering the same information twice.
I've been trying to do it with Business Logic but maybe I'm missing something here.

Thanks for your answers
Filipe

Re: Auto-populate "Lease Return Date"

PostPosted: Thu Mar 18, 2010 4:53 pm
by janstonselig
Filipe Matos wrote:Is there some way to automatically fill the fields "Lease" (bolean) and "Lease Return Date" on CIs whenever there is a related object from type "Contract" with the category "Lease" connected with it?


Business Logic and Related Objects don't work so well together. You can probably do this, but it will take going beyond the interface and creating a bit of SQL.

There should probably be a link between Contracts and CI directly so you can have a one to many relationship.