web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Error Number 299 Stored procedure=taSoplinlvcInsert Error: Unit Price Calculation does not match out to the extended price

(0) ShareShare
ReportReport
Posted on by 280

I am in the process of importing Sales Orders into GP2010 with eConnect.  I am currently receiving the above error message and I have not been able to find away around.  The following is the XML Code

  <?xml version="1.0" encoding="utf-8" ?>
- <eConnect>
- <SOPTransactionType>
- <eConnectProcessInfo>
  <ConnectionString>data source=IOSQL-QA;initial catalog=IOOPS;integrated security=SSPI;persist security info=False;packet size=4096</ConnectionString>
  </eConnectProcessInfo>
- <taSopLineIvcInsert>
  <UpdateIfExists>1</UpdateIfExists>
  <SOPNUMBE>DORD2048951</SOPNUMBE>
  <SOPTYPE>2</SOPTYPE>
  <CUSTNMBR>303-100006</CUSTNMBR>
  <DOCID>303-MANORDER</DOCID>
  <DOCDATE>2010-9-28</DOCDATE>
  <MRKDNAMT>0.00000</MRKDNAMT>
  <QUANTITY>36.00000</QUANTITY>
  <PRCLEVEL>WS-DIP-US</PRCLEVEL>
  <QTYTBAOR>36.00000</QTYTBAOR>
  <ITEMNMBR>HHPK2-040-FP-0-US</ITEMNMBR>
  <ITEMDESC>Hydroxycut Hardcore Pro Series Ignition Stix 40 x 2.6g Fruit Punch US</ITEMDESC>
  <LOCNCODE>303-HAMB</LOCNCODE>
  <CURNCYID>USD</CURNCYID>
  <QTYCANCE>0.00000</QTYCANCE>
  <ALLOCATE>0</ALLOCATE>
  <UOFM>EACH</UOFM>
  <AUTOALLOCATELOT>1</AUTOALLOCATELOT>
  <QtyShrtOpt>3</QtyShrtOpt>
  <XTNDPRCE>863.64000</XTNDPRCE>
  <UNITPRCE>23.99000</UNITPRCE>
  </taSopLineIvcInsert>
- <taSopHdrIvcInsert>
  <SOPTYPE>2</SOPTYPE>
  <DOCID>303-MANORDER</DOCID>
  <DOCDATE>2010-9-28</DOCDATE>
  <CNTCPRSN />
  <CSTPONBR>C5-35546</CSTPONBR>
  <BACHNUMB>GPLOAD</BACHNUMB>
  <PRBTADCD>MAIN</PRBTADCD>
  <LOCNCODE>303-HAMB</LOCNCODE>
  <CUSTNMBR>303-100006</CUSTNMBR>
  <SOPNUMBE>DORD2048951</SOPNUMBE>
  <SLPRSNID />
  <CREATECOMM>0</CREATECOMM>
  <PYMTRMID>1% 10, NET 30</PYMTRMID>
  <DUEDATE>2010-9-23</DUEDATE>
  <CURNCYID>USD</CURNCYID>
  <ORIGNUMB>BKD231472</ORIGNUMB>
  <SHIPMTHD>S - BEST WAY</SHIPMTHD>
  <FRTSCHID>303-S-EXEMPT</FRTSCHID>
  <DEFTAXSCHDS>1</DEFTAXSCHDS>
  <MSCSCHID />
  <MRKDNAMT>0.00000</MRKDNAMT>
  <CREATEDIST>1</CREATEDIST>
  <CREATETAXES>1</CREATETAXES>
  <ORIGTYPE>5</ORIGTYPE>
  <TAXSCHID>303-S-EXEMPT</TAXSCHID>
  </taSopHdrIvcInsert>
  </SOPTransactionType>
  </eConnect>
I am not sure what it is causing the problem as the Quantity * Unit price does match out to the Extednded price.
I have also tryied to add a calculated field to the import as follows:
DIM EXTNDEDPRC as DOUBLE
EXTNDEDPRC = MATH.ROUND(_QUANTITY * _UNITPRCE,2,MIDPOINTROUNDING.AWAYFROMZERO)
return EXTNDEDPRC
This did not work either.  Any help on this issue would be greatly appreciated.
Thanks
Don

*This post is locked for comments

I have the same question (0)
  • Johand Henriques Profile Picture
    160 on at

    Im having the same problem, even tho i tried even using round(amount, 0) and still does not work, maybe this is a Regional Settings issue?

    Did u manage to fix this issue?? i could see that this post is kinda oldie

    Thanks in advance

  • Suggested answer
    Norlys Snachez Profile Picture
    10 on at

    Please, I have a the same problem, any help me?

  • Norlys Snachez Profile Picture
    10 on at

    any solution?. Thank you!

  • Dave Dusek Profile Picture
    on at

    This error is usually caused by a decimal places issue.  Here are a couple of things to look for.  

    1. Is there a functional currency setup for the company?

    2. Are you registered for Multicurrency?

    3. Are there any currency id's in the IV00105 table?

    4. What is the DECPLCUR set to in the SOP40600 and SOP40100?

    5. Are your registered for Inventory and are these Non-Inventory Items?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans