Active Agenda Community Forum Index Active Agenda Community
"Controlling Loss, Not Minds, Methods, or Markets"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Change in database structure

 
Post new topic   Reply to topic    Active Agenda Community Forum Index -> Equipment
View previous topic :: View next topic  
Author Message
danzahlis
Site Admin


Joined: 07 Mar 2005
Posts: 195
Location: California

PostPosted: Sat Jan 12, 2008 11:05 am    Post subject: Change in database structure Reply with quote

Hello all,

I am planning to change the relationships of equipment to other module tables in the Equipment Associations module <eqpa>. Currently, the associations are made between other modules (e.g. Controls <con>) and the Equipment Inventory <eqpa> module. I am proposing to change the relationship to the Equipment <eqp> module. This will make filtering of equipment associations more effective, but it will impact anyone using the equipment associations module. This change will also allow the assignment of equipment from an organizations central equipment database rather than from a specific inventory location.

Please let me know any thoughts about this change. If I don't receive feedback, I will begin making the changes within the week.

Thanks for any feedback/ideas...Dan
Back to top
View user's profile Send private message Visit poster's website
zsimre



Joined: 03 Feb 2007
Posts: 169
Location: Hungary

PostPosted: Mon Jan 14, 2008 1:54 am    Post subject: support ! Reply with quote

Hi Dan

We absolutely support this change - it's more near to real life (in our site).
Back to top
View user's profile Send private message
danzahlis
Site Admin


Joined: 07 Mar 2005
Posts: 195
Location: California

PostPosted: Mon Jan 14, 2008 6:00 am    Post subject: Reply with quote

Thanks Zsolt. I have already started to tinker with the change. This design is much more intuitive to work with! I will commit the changes today...Dan
Back to top
View user's profile Send private message Visit poster's website
danzahlis
Site Admin


Joined: 07 Mar 2005
Posts: 195
Location: California

PostPosted: Mon Jan 14, 2008 8:49 am    Post subject: Reply with quote

Changes to the <eqpa> module have been completed and committed: at revision: 1096.

This change will require regeneration of all dependent modules and may require a trigger refresh (assuming previous use of the module with the EquipmentInventoryID).

Current Module Dependencies:

cnt
chmin
mtg
mtga
pplv
rtc
tra
tran
veh
vis

The refresh command is:

c:\path to php\php.exe s2a.php -t

Refreshing the triggers will orphan previous associations with equipment based on EquipmentInventoryID. The record relationships will remain between the <eqpa> module and the related modules (see list above) but the equipment will need to be re-identified and saved (it's much easier now). The new design seems much more intuitive and worth the work required to re-assign equipment (IMO).

Please provide any/all feedback. Thanks...Dan
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Active Agenda Community Forum Index -> Equipment All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group