How can I tell the original Module a cloned module was based on?

We had a vendor that created multiple 'customed' modules by cloning the original modules like Accounts, Contacts, etc. Now we want to know how can we tell which was the original module that 'customed' module was based off. 

  • Hi Max,

    For all the custom modules, there will be a Key (minimum 3 letters basically) to the module name.  For all the Stock modules there will be no key to the module name. When you access the module, you can see the module name in the Browser URL. For example, when you access the Accounts you can see the module name as Accounts. And when you access the custom module (named for example Test  - you can see it as something like tes_Test - in this case, tes is the key). Similarly, you can see the keyword for all the custom modules built in Sugar.

    I hope this information helps Slight smile

    Thanks and Regards,

    PK,

    www.bhea.com

  • Hi ,

    There is no direct way to clone one of the original modules in Sugar. The vendor more likely created modules through module builder using one of the templates (e.g. person, basic, company, etc.). If they did use a module builder template, you would be able to see what template they used by going to the following file path in your Sugar directory:

    ./modules/<module name>/<module name>_sugar.php

    In that file, you should see something like the following near the top:

    require_once 'include/SugarObjects/templates/{template type}/{template type}.php';

    The different template types are:

    • basic
    • company (i.e. Accounts)
    • file (i.e. Documents)
    • issue (i.e. Cases)
    • person (i.e. Contacts)
    • sale (i.e. Opportunities)

    Chris

  • Hi Max
    If you go to studio and look at the fields you should be able to tell based on the fields created.
    For example:
    If it was based on Person you will have first_name and last_name fields.
    If it was based on Sale then you will have amount, date_closed fields.
    If it was based on Issue there will be a {MODULE_NAME}_number field, priority.
    If it was based on Company there will be an industry, annual_revenue field.
    If it was based on File there will be document_name, filename or similar.

    //Joakim