Skip to content
+1-888-319-3663

HELP ARTICLE

Procedure or function ‘aagCreateVoideRecordInGLForBR’ expects parameter @MCRegistered, which is not supplied.


I am running a Bank Transaction integration using SmartConnect and getting the following error, “Procedure or function ‘aagCreateVoideRecordInGLForBR’ expects parameter @MCRegistered, which is not supplied.”


The reason for this error is due to an issue with the eConnect stored procedure taBRBankTransactionHeader is passing only 4 parameters to the aagCreateVoideRecordInGLForBR stored procedure and that procedure takes 5 parameters. The missing value is the MCRegistered parameter.

At this point we have a couple of options.

  1.  Open a case with Microsoft and let them know the error you get and have them fix the taBRBankTransactionHeader eConnect stored procedure.

OR

  1. Since the aagCreateVoideRecordInGLForBR procedure is not encrypted, it can be edited to set a default for the MC parameter.  If you are registered for Multicurrency, set the default value to a 1, if you are not registered for Multicurrency set it to a 0. To set a dafault just edit the beginning where the parameters are defined.  

 

Make sure the first parameters are like this when altering the stored procedure.
  ALTER PROCEDURE aagCreateVoideRecordInGLForBR
,@JRNENTRY INT
,@lastDist INT
,@GLPOSTDT DATETIME
,@CompanyID SMALLINT
,@MCRegistered TINYINT=0

<rest of the code>


Since the company is either registered for Multicurrency or not, there is no issue with hard coding the correct value.

RECENT POSTS


Configuring Salesforce Integration User
Business Central Extension Publish Error
Re-registering a Change Data Source in Business Central on SmartConnect.com
Moving SmartConnect 21 to a new server
eConnect error 4628 - The Tracking Number (Tracking_Number) is empty

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships Partner All Hands Call Popdock promotions release Salesforce Salesforce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.