I have development project where I am syncing data from another system into Acumicatica projects. Sometimes the customer on the project needs to change. But when I set project.CustomerId and call graph.Project.Update(project) I get an error Message: Error: An error occurred during processing of the field Customer value 4615 Error: Default Location MAIN cannot be found in the system.
When I debug and look at the graph I see that current customer is still looking at the old customer and therefore I suspect thats where location error is coming from as new or old location does not exist on the customer.
Can anybody help in getting the current customer to update without error?