Skip to main content
Solved

How to Create Custom entity in Big commerce stores screen?


Hi 
I want to add Custom entity as “Customer Contacts” in Acumatica Big commerce stores screen
please refer below screenshot
 

 

Best answer by Naveen Boga

Hi @hemalathab13,    To add the new processor under the “Entity Settings” in the “BigCommerce Stores” screen, we need to work with BCConnector file, where Acumatica is added all the processors in this file.

As you need to add the “Customer Contracts”, you need to add under the “GetProcessorTypes” method. Please find the screenshot for your reference and hope this helps!

 

 

View original
Did this topic help you find an answer to your question?

3 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • Answer
  • October 18, 2021

Hi @hemalathab13,    To add the new processor under the “Entity Settings” in the “BigCommerce Stores” screen, we need to work with BCConnector file, where Acumatica is added all the processors in this file.

As you need to add the “Customer Contracts”, you need to add under the “GetProcessorTypes” method. Please find the screenshot for your reference and hope this helps!

 

 


Dioris Aguilar
Jr Varsity I
Forum|alt.badge.img+2

@Naveen Boga How do you suggest to add the custom processor to this method considering is not set as virtual and the BCProcessorsFactory class is not a graph?


Forum|alt.badge.img+5
  • Jr Varsity II
  • 237 replies
  • August 22, 2022

I’m 2 months late, but in case anyone else stumbles across this you actually wouldn’t need to add it to that class specifically you can just implement the IProcessorsFactory interface and set the ConnectorType to “BCC”(BCConnector.TYPE).

 

Short explanation is that the system registers all instances of that interface and then effectively merges the ProcessorTypes that are returned based on the ConnectorType.

 

public class MyBCProcessorsFactory : IProcessorsFactory
{
    public string ConnectorType => BCConnector.TYPE;

    public IEnumerable<KeyValuePair<Type, int>> GetProcessorTypes()
    {
        yield return new KeyValuePair<Type, int>(typeof(MyCustomProcessor), 160);
    }
}

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings