Skip to content
+1-888-319-3663

EONE BLOG

Tech Tuesday: SmartConnect Purchase Order Map Error


If you are running a purchase order map and receiving an error that says “370 /* Subtotal (SUBTOTAL) does not match the line item totals” we have an easy fix for you. The Microsoft eConnect SDK has this field marked as required, as it used to be required in older versions of eConnect. The SmartConnect required fields are based on the eConnect SDK, and even though the field is no longer required in newer versions of GP, Microsoft still has it marked as required in their SDK, which means it shows up as a required field in SmartConnect.  

The field will currently auto-calculate if you leave it blank, however, you cannot leave the field blank because SmartConnect believes the field is required.

The easy fix is to run the following script in SQL server management studio against the SmartConnect database.

This script is if you are on SmartConnect 2018 or lower.  

UPDATE SmartConnect..[Field] SET Required = 0 WHERE Node = ‘taPoHdr’ AND TechnicalName = ‘SUBTOTAL’

If you are on SmartConnect 21 and higher, you will need to run this script.  

UPDATE MsGpField set Required=0 where TechnicalName=’SUBTOTAL’ and NodeID= (select MsGPNodeID from MsGpNode where Name=’taPoHdr’)

This will make the PO Subtotal field no longer required in SmartConnect. Now you can unmap the field, and the eConnect node will automatically calculate the subtotal for you.

If you have any questions regarding this blog or have a request for a Tech Tuesday topic please let us know in the comments below!

5 Comments

  1. John Ondusko on June 23, 2015 at 12:08 pm

    Greetings

    What table should this be run against for the PO subtotal ?

    UPDATE SmartConnect..[Field] SET Required = 0 WHERE Node = ‘taPoHdr’ AND TechnicalName = ‘SUBTOTAL’

    Cheers and thanks
    John

  2. David Youngquist on June 30, 2015 at 8:56 am

    This update statement needs to be run in SQL management studio against the SmartConnect database. It makes the subtotal field not required, so you can unmap it in SmartConnect.

  3. run 3 on July 12, 2022 at 10:38 pm

    SQL management studio must be used to perform this statement against the SmartConnect database. In SmartConnect, the subtotal field is no longer required, so you can remove it

  4. happy wheels game on February 7, 2023 at 9:19 pm

    To make changes to the SmartConnect database, execute this update statement in SQL management studio. Because of this, the subtotal field may be unmapped in SmartConnect and is no longer necessary.

  5. Tanya on June 5, 2023 at 10:52 am

    We had to also go into Node Builder for the PO Header and uncheck the field as required even after running the script. Wondering if just opening the node builder and removing there without having to run the script would be the same.

Leave a Comment





RECENT POSTS


Tech Tuesday: Building My First Matrix Report
Overcoming the Top Challenges of Zendesk Integration
Accessing Historical Dynamics GP Data in NetSuite: Using Popdock
Popdock's Top 10 New Features
New Webinar: Getting Started with Matrix Reporting in Popdock

POPULAR POSTS


2016 SmartConnect Integration Bootcamps
Tech Tues: Automatically refreshing Pivot Tables in Excel Refreshable Reports
Happy Thanksgiving from the eOne team!
2017 SmartConnect Integration Bootcamps
New Releases of Extender and SmartList Builder

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.