Hi Mike,
I am having the issue with posting a GRN to non-default user Warehouse.
If a PO is created e.g. Warehouse A, and the user's current warehouse is a Warehouse B, I am unable to force GRN to be posted to Warehouse A.
It will always post to the default warehouse of the API user, so in GRN line items there will be expected quantity of 0 which is incorrect.
I have tried, changing the current default user warehouse prior posting GRN with no success.
Tried creating a new GRN from PO lines and then patching the GRN's logical warehouse prior filling the line details with no luck.
So I ended up creating another endpoint in API (ASPluris) which is a copy of Jiwa's
GoodsReceivedNoteCREATEFromPOLinesRequest
handler that:
* grabs Logical Warehouse from a PO
* set it as the current user warehouse once the instance of the Manager is created.
* save the GRN.
Jiwa 7.2.1. Rest API 7.2.1.41
Regards,
Goran