General Error back from Order Exchange


11-Jul-2019 11:54:08 : An error has occurred in 'Importing Order' - 'Error saving sale - 'An error has occurred!

'Location' cannot be found in the system.

Inserting  'Sales Order' record raised at least one error. Please review the errors.

'Location' cannot be found in the system.

PX.Data.PXException: ''

11-Jul-2019 11:54:08 : Error #1 importing Order Number '000002249575X078'. Error saving sale - 'An error has occurred!

'Location' cannot be found in the system.

Inserting  'Sales Order' record raised at least one error. Please review the errors.

'Location' cannot be found in the system.

PX.Data.PXException: '

11-Jul-2019 11:54:09 : Importing order 1 of 1. Order Number '000002249575X078'

11-Jul-2019 11:54:09 : Getting Customer 'CO10500'

11-Jul-2019 11:54:09 : Getting Customer 'CO10500' finished

11-Jul-2019 11:54:09 : Importing Order '000002249575X078' for Customer 'CO10500'

11-Jul-2019 11:54:09 : An error has occurred in 'Importing Order' - 'Error saving sale - 'An error has occurred!

'Location' cannot be found in the system.

Inserting  'Sales Order' record raised at least one error. Please review the errors.

'Location' cannot be found in the system.

PX.Data.PXException: ''

11-Jul-2019 11:54:09 : Error #1 importing Order Number '000002249575X078'. Error saving sale - 'An error has occurred!

'Location' cannot be found in the system.

Inserting  'Sales Order' record raised at least one error. Please review the errors.

'Location' cannot be found in the system.

PX.Data.PXException: '

11-Jul-2019 11:54:09 : Order # '000002249575X078' dated '06-May-2019' for 'Myer' has import issues.



Make sure the Save Sale has the location Added

     <CustomerID>

        <value>

          <xsl:value-of select="CustomerCardInfo/AccountingID" />

        </value>

      </CustomerID>

      <LocationID>

        <value>

          <xsl:value-of select="LocationName" />

        </value>

      </LocationID>

      <CustomerOrder>

        <value>

          <xsl:value-of select="OrderNumber" />

        </value>

      </CustomerOrder>


Setup the location in the Order Exchange setting - may need to ask Client what their location is called in the accounting system


Setting is under Order Exchange - Settings -> Warehouses -> Location Name


This client as an example uses MAIN in MYOB Advance



Make sure the Purchase Order comes through with the location Code


Location Overrides can Also be found in Retailer settings and Item Settings