Hi,
We have tested this now with the following scenario:
Stock item1 has alternate id's:
"test1"
"test2"
Stock item2 has alternate id's:
"test3"
In the UI it is ok to save lines for Item1 with id's "test1" and "test2".
If you try to use "test3", you'll get an error as it is already in use by another stock item:
If you do this via the API, the same error message is returned:
{
"message": "Inventory error: The value 'Alternate4' for the alternate ID is already used for another stock item."
}
If you use an alternative Id that is not yet set in the cross reference table via the UI, it triggers a confirmation window to open.
If you do this via the API, the header of that window is returned:
{
"message": "Substitute the previous cross reference information?"
}
This is not currently supported via the API.
If this is functionality that you need, we recommend that you make a post in the "Ideas" part of the forum.
Please describe your business need as detailed as possible.
This allows other users to vote for your suggestion, which in turn influences the development teams assessment process.
... View more