Sage 200(UK): Difference between revisions

From Accelerator for SageCRM
(Created page with "Sage 200 UK edition installs specific tables into CRM which require an extra option being turned on To turn on 200 integration need to change setting (web.config) <add k...")
 
No edit summary
Line 4: Line 4:


     <add key="UsesSage200UK" value="Y" />
     <add key="UsesSage200UK" value="Y" />
*The install will also provide this option.
*There is also an SQL script provided which is needed to be run to create the stored procedures used in the integration
Finally we must create a new field on person (we created a checkbox called 'Pers_ct_accelcreated')
[[File:Pers_ct_accelcreated.png]]
The we add this to the screen 'PersonOfficeIntNew' and we set the create script to be
  DefaultValue='Y';
  Hidden=true;
[[File:PersonOfficeIntNew.png]]
We then update the Table level script 'TLS_HideAccount_Person'
Search for the text
  // Set the Account ID (only ExecSql works).
  eWare.ExecSql('UPDATE Person SET Pers_AccountId=' + accountID + ' WHERE Pers_PersonId=' + personID);
and update this to be 
  if (Values('Pers_ct_accelcreated')!='Y')
  {
          // Set the Account ID (only ExecSql works).
          eWare.ExecSql('UPDATE Person SET Pers_AccountId=' + accountID + ' WHERE Pers_PersonId=' + personID);
  }

Revision as of 18:46, 17 October 2014

Sage 200 UK edition installs specific tables into CRM which require an extra option being turned on

To turn on 200 integration need to change setting (web.config)

   <add key="UsesSage200UK" value="Y" />
  • The install will also provide this option.
  • There is also an SQL script provided which is needed to be run to create the stored procedures used in the integration

Finally we must create a new field on person (we created a checkbox called 'Pers_ct_accelcreated')

The we add this to the screen 'PersonOfficeIntNew' and we set the create script to be

 DefaultValue='Y';
 Hidden=true;


We then update the Table level script 'TLS_HideAccount_Person'

Search for the text

 // Set the Account ID (only ExecSql works).
 eWare.ExecSql('UPDATE Person SET Pers_AccountId=' + accountID + ' WHERE Pers_PersonId=' + personID);

and update this to be

 if (Values('Pers_ct_accelcreated')!='Y')
 {
         // Set the Account ID (only ExecSql works).
         eWare.ExecSql('UPDATE Person SET Pers_AccountId=' + accountID + ' WHERE Pers_PersonId=' + personID);
 }