<img height="1" width="1" src="https://www.facebook.com/tr?id=241894266379435&amp;ev=PageView &amp;noscript=1">

Success with CRM Blog

Stay Connected.

Subscribe to our Blog

Enhancing Account Associations in Infor CRM Web client

Recently we had a client request to modify their Infor CRM Web client version 8.3.x so that the Account Associations tab showed additional information about the related accounts.  In this case they wanted to show the Internal Account number and the City/State/Postal code columns.

Account Association SmartPart Infor CRM 8.3x web client

This Account Association form is not a standard data grid that is typically found and easily managed inside the Infor CRM Application Architect.  Instead there are a few different places that need to be modified.  Thanks to Scott Viverito from Infor CRM developer support for his guidance.

Coding changes in Infor CRM Application Architect:

Step 1. Create this new control in SLXClient portal SupportFiles folder: \jscript\Sage\UI\Controls\GridParts\Columns. This is named: Text.js

/*globals Sage, dojo, dojox, dijit, Simplate, window, Sys, define */
define("Sage/UI/Controls/GridParts/Columns/Text", [
'dojo/_base/declare',
'dojo/_base/lang'
],
function (declare, lang) {
var widget = declare('Sage.UI.Controls.GridParts.Columns.Text', null, {
icon: '',
defaultValue: '',
constructor: function (args) {
lang.mixin(this, args);
},
format: function (val, index) {
if (!val) return '';
return dojo.string.substitute('${0}', [val]);
}
});
return widget;
});

Step 2: Update the following parts of the SLX Client portal, SupportFiles\SmartParts\Association folder: AccountAssociation.js as you need to add a reference to the new contro, Text.js..

Sage.namespace("Sage.UI.Forms");
Sage.UI.Forms.AccountAssociations = {
makeGrid: function (runtimeConfig) {
require([
'Sage/UI/Controls/GridParts/Columns/SlxUser',
'Sage/UI/Controls/GridParts/Columns/SlxEdit',
'Sage/UI/Controls/GridParts/Columns/DateTime',
'Sage/UI/Controls/GridParts/Columns/Text', //add here
'Sage/Utility',
'dojo/aspect',
'Sage/Utility/Workspace',
'Sage/Data/SDataServiceRegistry',
'Sage/UI/GridView'
],

Step 3:  Add into the function below the slxText:

function (slxUser, slxEdit, slxDateTime, slxText, utility, aspect, workspaceUtil, sDataServiceRegistry, GridView)

Step 4: Then down in the Var Options, find the Columns section to add the new columns for the "from" account's Internal account number and city/state/postalcode.

{
field: "CreateUser",
label: AccountAssociationsResource.AccountAssociationsGrid_CreatedBy_HeaderText,
width: 10,
type: slxUser
},
//SDK add a new column like below and reference your Id field
{
field: "FromAccount.InternalAccountNumber",
label: 'Account Number',
width: 10,
type: slxText
},

{
field: "ToAccount.Address.CityStatePostal",
label: 'City\State\Postal',
width: 20,
type: slxText
},
{
field: "CreateDate",
label: AccountAssociationsResource.AccountAssociationsGrid_Date_HeaderText,
width: 10,
type: slxDateTime,
dateOnly: true
}

After a save and rebuild you may need to clear the web browse to show these new account fields in the 'from account' in these relationship records.

Make CRM Stick   8 Ways to Increase CRM Adoption

Related Infor CRM resources:

12 tips - to be more effective with Infor CRM Groups and Filters

12 tips - being more effective - Filters to the rescue

12 Tips to be effective managing activities

12 Tips being more productive in Associations (people to people  AND  companies to companies)

12 Tips when Living in Outlook and using Infor CRM Xbar

Quick Reference Guide for Sales & Marketing PDF

Getting Started Guide with How to do .... PDF

Articles on Saleslogix tips

2 page quick reference guide for web user PDF

 

comments
0
Print Friendly and PDF