Skip to Content
author's profile photo Former Member
Former Member

Sync Errors

I am getting over 2000 of these sync errors. Not sure what to check but nothing from SBO is loading into Ecommerce.

The INSERT statement conflicted with the FOREIGN KEY constraint "FK_OrderExpenses_OrderExpensesMaster". The conflict occurred in database "B1WebTools", table "dbo.OrderExpensesMaster", column 'ExpenseCode'.

The statement has been terminated.

at netpoint.api.data.DataFunctions.ExecuteScalar(String SQL, IDataParameter[] parameters, String connectionstring)

at netpoint.api.NPBase.Save(Boolean logTransaction)

at NetPoint.SynchSBO.SBOObjects.SBODocument.AddExpenses(Documents document, NPOrder order)

at NetPoint.SynchSBO.SBOObjects.SBODocument.SBO_2_NP(Documents& document, NPOrder order)

at NetPoint.SynchSBO.SBOObjects.SBOOrder.SBOToNetPoint(SBOQueueObject qData)

at NetPoint.SynchSBO.SynchObjectBase.Synch()

Thanks in advance!

Adam Hairston

Sitka Inc.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2009 at 01:31 AM

    Hi

    Could you please check the following:

    1. If the Expenses are mapped correctly:

    In SynchManager > Tables > Expenses, please check that all

    Business One Entries have a Webtools Code to map to.

    If one is missing a mapping it would cause errors.

    Please use the code as reffered in the Administrator Guide as follow:

    shipping

    handling

    paymentmethod

    2. Please also check that catalog chosen as synch catalog in synchmanager

    contains a category with a code used for an item group in Business One.

    Paulo Calado

    SAP Business One Forums Team

    1.

    2.

    Catalog chosen as synch catalog in synchmanager didnt contain

    a category with a code used for the item group in B1

    initially created catalog, 'online catalog' was removed

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2009 at 05:09 PM

    I will check those and reply back.

    Thank you!

    Adam Hairston

    Sitka Inc.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Down to 6 sync errors at present.

      5 related to specific invoices which I will go check. However, 1 error I am unsure of where to check:

      Index was outside the bounds of the array.

      at netpoint.api.data.DataParameters.Add(NPDataType dataType, String parameterName, Object parameterValue)

      at NetPoint.SynchSBO.SBOObjects.SBOLastEvalutatedPricelist.AddPrices(SecurityTicket ticket)

      at NetPoint.SynchSBO.Synch.SynchAll2()

      I am hoping that once these errors are resolved I can login to the website to start configuration.

      Thanks in advance!

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.