Results 1 to 10 of 10

Thread: Help in design ...

  1. #1
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Help in design ...

    Hi,

    We need to capture 'n' number of instances where a donor has donated to our organization. There are many regular donors and we are not sure what should be the value of 'n'. However, restricting it to 20 instances...

    We capture,

    1) Donation Date
    2) Amount
    3) Purpose [DropDown]
    4) Receipt No

    How do i do this in an efficient manner?
    Edit/Detail and search views look hugely ugly if i have 20 * 4 fields ....

    1) Should i go for something like "email" field option, where more emails appear on the click of a '+' sign ??
    If so, How do i achieve this??


    OR

    2) Do i create them as 'Activities/Tasks' with respect to the contact ??

    OR

    3) Is there a better solution/way to implement this??

    Kindly help....

    Thanks!

  2. #2
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Help in design ...

    This is very easy:

    Create a new module in Module Builder. Call it donations. Just use the basic template and don't do anything else with it. Publish and install via the module loader.

    Then in Studio go to contacts (assuming your donors are persons and not companies). Add a 1:n relationship to your newly created module. You have to repeat this process for companies if you receive donations from people as well as from organizations.

    Go to your donations module and enrich it with the fields you need (you may do this in Module Builder but I personally prefer to do it afterwards)

    Run a quick repair and that's it.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  3. #3
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Re: Help in design ...

    Thanks Roblaus...

    This was our first plan... but after implementation, we found "inter-module" search was an issue.... Also
    how will i export records?

    i.e : if there are 20 donations by one contact, how to export this info alone with the contact information??

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Help in design ...

    Export is no issue because it works the same way as everywhere else (there should be the button "export" on top of your donations list view).
    With inter module search you mean the global search in the top right corner? This also should work but needs a small tweak. Need to look it up.

    PS: to export donations for one contact add the contact to your search panel and search for this particular one. Export the result.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    matthew's Avatar
    matthew is offline Sugar Team Member
    Join Date
    Jul 2005
    Posts
    533

    Default Re: Help in design ...

    Regarding search, if you need to, you can likely modify modules/Home/UnifiedSearchAdvanced.php if necessary.

    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  6. #6
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Re: Help in design ...

    i m still not clear about the export one...

    I have 100 Contacts who have donated.... These are 2 different modules.... Now if i export contacts separately and donations separately, How will i know which donation is for which contact? To match them manually after exporting with some unique identifier is really painful...

    To search for each contact from donations module and exporting one by one is also too much work...

    Is there no way i can have All contacts and their corresponding donations at one shot?? [given these are different modules]

    Thank You.

  7. #7
    matthew's Avatar
    matthew is offline Sugar Team Member
    Join Date
    Jul 2005
    Posts
    533

    Default Re: Help in design ...

    The best way to do this on the export for both modules would be to do a SQL query where you join the donations records to the matching contact records. phpMyAdmin would allow you to then run that query and export it as a CSV or XLS file.

    There's no way to join modules in exports with Sugar CE. However, if you're using Professional or Enterprise, you can export reports that you create. No SQL necessary!

    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  8. #8
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Help in design ...

    You are not talking export but reporting. This is, as Matthew pointed out correctly, solved nicely in Pro/Ent. But there are countless other possibilities. You can use phpmyadmin, sqlyog or open office base (which is actually cool because you can directly get your results into calc). Or you can use any other reporting/BI tool - Talend, Crystal, Pentaho, Jasper just to name a few. And if you want to do it directly from within Sugar there is still ZuckerReports.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  9. #9
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Re: Help in design ...

    Thanks a lot...

  10. #10
    Greetal is offline Senior Member
    Join Date
    Feb 2009
    Posts
    62

    Default Re: Help in design ...

    As Roblaus says, using a BI tool like Talend Open Studio is a good option.
    Talend Open Studio is an open source ETL tool for data integration and migration experts.
    For more information: http://www.talend.com/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Schema Design
    By wrboyce in forum Developer Help
    Replies: 1
    Last Post: 2009-02-16, 10:30 AM
  2. Design feature or bug?
    By nikidinsey in forum Help
    Replies: 2
    Last Post: 2008-09-16, 08:38 AM
  3. Design License?
    By markvanzanten in forum General Discussion
    Replies: 0
    Last Post: 2006-06-08, 08:27 AM
  4. How to design a new module?????
    By cswangzi_2001 in forum Help
    Replies: 1
    Last Post: 2006-04-26, 02:01 AM
  5. Help with the design
    By sugarcare in forum Developer Help
    Replies: 0
    Last Post: 2006-03-27, 06:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •