back to top

Infor CRM (Formerly Saleslogix) v8.1.3- Strange Behavior with the Account Hierarchy Add-In

 We recently had a customer on version 8.1 update 03 that was having problems with the Account Hierarchy module Customer FX created.

The Account Hierarchy screen displays the Parent/Child relationships that Infor CRM never recreated in the web client.  This is a custom smart part that is launched as a dialog from a button.  We have always been able to simply add the button that launches the custom view using a ShowDialog action.

 

This used to correctly bind the Account Hierarchy popup view to the current Account entity.

What I found with this particular customer, is even though the screen seemed bound to the current Account entity (this.BindingSource.Current did not return null) that Entity was in fact empty of had no Account.Id.  Very strange.

Looking at how the dialog action is rendered onto the deployed user control form I found the code looks like this:  

   
    if (DialogService != null)
    {
        // DialogActionItem
        DialogService.SetSpecs(300, 700, “ViewAccountHierarchy”, string.Empty );
        DialogService.EntityType = typeof(Sage.Entity.Interfaces.IAccount);
    
        DialogService.ShowDialog();
    }

What seemed to fix the problem was explicitly passing in the EntityID to the Dialog using DialogService.EntityID=.  UNfortunately since the Dialog action auto-creates the code deployed to the website, that is not something I could add from there.

The solution?  Change the button click action to a C# Snippet Action Item.  Then in the code snippet add the following equivalent code with the Id correctly passed in.

      Sage.Entity.Interfaces.IAccount acc = this.BindingSource.Current as Sage.Entity.Interfaces.IAccount;
    if (DialogService != null)
    {
        // DialogActionItem
        DialogService.SetSpecs(300, 700, “ViewAccountHierarchy”, string.Empty );
        DialogService.EntityType = typeof(Sage.Entity.Interfaces.IAccount);
        DialogService.EntityID = acc.Id.ToString();
        DialogService.ShowDialog();
    }

Strange but at least there is a work-around.  Onto the next thing….

 

Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Kris Halsrud
Kris Halsrud
Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Infor CRM SLX 10.0: Delegate Ownership Changes for “Everyone” Records

Learn how the new EveryoneOwnerAssignment secured action in Infor CRM SLX 10.0 allows designated users to change ownership of Everyone-owned records without requiring Administrator access.

Related Articles

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Related Videos