How to resolve : "An error occurred during processing of the field Location value MAIN Error: Location 'MAIN ' cannot be found in the system.

  • 14 October 2022
  • 6 replies

Userlevel 2

We are getting this error while creating shipment from SO


6 replies

Userlevel 7
Badge +12

Hi @sd79 

Could you please create a shipment from the Shipment screen and add the sales order and check the location of the warehouse which is considered to ship the Item,


Also, check whether is location is active or not from the warehouse screen.


Userlevel 7
Badge +18

@sd79  Is this issue resolved? if yes, can you please share the solution here?

Userlevel 4
Badge +1

Have you created a new "Main" location for "300/5119" customer and then removed an old one ?

If yes , the Customer Location ID in the sales order will be differs from the actual location id of the customer.

In that case you can use below workaround to resolve this error;


1. Put the sales order on hold

2. Clear the customer location field and press Ctrl + Enter to commit an empty value

3. Select "Main" location with a selector and save the order.Then you will be able to ship the order.


Let me know if you need any further assistance



Userlevel 2

I still haven’t got any solution, The solution given by @NuwanTharanga62 worked when the 2 locations are different for Customer and the SO.

But when the Location is same for both customer in BAccount Table and SOOrder Table the solution is not working.


Userlevel 2

@sd79  Is this issue resolved? if yes, can you please share the solution here?

Sorry for delayed response

Userlevel 1

Good day. 


We are receiving the same error when using an api call. 

How would we go about fixing this without adding too much additional logic/ api calls for handling


Kindly see below attached a screenshot of our request and response logs. 


Kind regards.



About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved