Skip to content
+1-888-319-3663

HELP ARTICLE

eConnect error 4628 – The Tracking Number (Tracking_Number) is empty


I’m running a SmartConnect Integration to Dynamics GP Sales Order Processing (SOP) and attempting to create tracking numbers for that document.  I’m passing in a valid tracking number however eConnect is failing with this error but yet we can see in the error that there IS non-empty tracking number data for that field.


Error Number = 4628 Stored Procedure = taCreateSOPTrackingInfo Error Description = The Tracking Number (Tracking_Number) is empty

How do I work around this issue?


As we can see from the eConnect error message and XML, the Tracking_Number value is NOT empty – it is ‘aaaa’ in this example and valid for the purposes of the error check in the procedure.  Or at least it should be valid.

A technical partner, Steve Endow, discusses this error and the reason behind it in his blog.

While Steve doesn’t give the reader a “fixed” version of the eConnect proc that fixes this bug, we don’t actually need it!

Microsoft has two stored procedures that will add the tracking information to a SOP Document – this one, taCreateSOPTrackingInfo, which has this bug and fails and another one, taSOPTrackinNum, that is correct and successfully adds the proper tracking information.



The SmartConnect node – “Create tracking information” is the one that doesn’t work, I would advise to NOT use that node due to this issue.

Instead use the “Add tracking number” node in the SmartConnect map which will call the taSOPTrackinNum proc instead and will create the tracking information properly.

There is one slight difference between the two nodes/procs in that this ‘add tracking number’ node also gives you the opportunity to DELETE an existing tracking number with a field that you set.  Microsoft discusses this in their eConnect SDK for that mapping.


The field is named “Type” per the screenshot and you can set it via the List Option “New Document Tracking Number or Adding a Tracking Number to an Existing Document”. 

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
Troubleshooting Salesforce Realtime Triggers

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.