Warehouse in AR Invoice Lines populated incorrectly
We are creating the AR Invoice with REST API and we are not passing any value for Warehouse. After the AR Invoice gets created, it populated the Warehouse field automatically. Can anyone suggest how this value is controlled by the setup. Also value its populating is wrong and how can I correct it.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):