by Business Fundamentals

SuiteCRM connected to Xero
Create Accounts AND Invoices (ACCREC AND ACCPAY) in Xero from your Detail OR List views in SuiteCRM - no more double entry - Send all your SuiteCRM records to Xero - once there update them TO or FROM Xero, quick links created to those records

Cancel at any time!
Free Trial

#2203 - Customization Options

Closed General Question created by AIE 3 months ago

Good day. We have made some custom changes on our SuiteCRM, and would like to discuss the following with someone:
1) Installation seems to overwrite certain files related to Contact, Accounts and Quotes (as per our test environment install). Would like to discuss this further.
2) We need to understand the options to further apply custom changes between SuiteCRM and Xero. Would like to discuss this in more detail.

Currently, we have only installed the add-on for the test environment. We need to discuss the above, and possibly more, before we can proceed with planning the live install.

  1. MartyP member avatar

    Business Fundamentals Provider Affiliate

    3 months ago

    HI AIE.

    You should have seen a notification screen after the installation of the module listing the files that had been located. A pre install script checks the following locations for the presence of the following files:

    Accounts module
    custom/modules/Accounts/metadata/detailviewdefs.php
    custom/modules/Accounts/views/view.list.php

    Contacts module
    custom/modules/Contacts/metadata/detailviewdefs.php
    custom/modules/Contacts/views/view.list.php

    Invoices module
    custom/modules/AOS_Invoices/metadata/detailviewdefs.php

    Quotes module
    custom/modules/AOS_Quotes/metadata/detailviewdefs.php

    Generally, you should only have problems with the files in the metadata folder... If the files are located by the pre-install script (they exist in the folders specified) they are RENAMED to .BACKUP- This is so you can easily recover your previous views/setting by renaming the new files and renaming your old files.

    If you open the NEW files in a text editor you will find sections within all of them that are surrounded by comments:

    /************ custom xero button code, cut and paste as required *************/

    You will need to cut and paste that section of code into your OLD files to ensure the functionality works. Unfortunately the module had to be created in this way as, at time of creation, there was no work around to add that custom code section to the detailviewdefs.php files. There was a workaround using Javascript, however that depended on a Suite theme being used that had a particular tag in it. I'm not sure if that has been addressed as yet. Once the detailviewdefs.php files have been updated any further changes you make to it using the Admin -> Studio interface should be fine.

    If you'd like me to do the updates for you, please don't hesitate to email me your **OLD **files and the new ones and I'll get them updated ASAP

    Thanks for your time and patience

  2. MartyP member avatar

    Business Fundamentals Provider Affiliate

    3 months ago

    Sorry, the editor changed one line... the file is renamed to

    original file name.BACKUP-time stamp

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...