Does anyone know if there is a REST interface to access the Sourcing tab for an Item?
Solved! Go to Solution.
Solved by gasevsm. Go to Solution.
We are currently doing a nightly import/update of our Items and Suppliers workspaces from our Vault and Account systems respectively using the REST API. What we would like to do is also set the Sourcing information in the Item workspace at the same time.
In absence of Sourcing API, you may use API + Scripting: the API to create new Item and the scripting to populate Sourcing tab.
In details, can approach a direction of creating an item and passing in information (in JSON deserialzied format) about its suppliers and quotes within a paragraph field sitting on its item details.
Leveraging PLM's onCraete script behavior (which would kick in when item is created), it would read from that paragraph field, serialize a JSON object and within the script access and populate the Sourcing tab with corresponding Suplier and its quotes. Empty the field at the script's end.
This paragraph field could reside in separate section with advanced permissions where only the API user would have write abiltiy and no other group would have even read visibility - completely hidden section. That way, users editing item via UI would not be pestered with integration field.
Does this make sense?
Hi Martin
That sounds like a good workaround. Thanks for your help with this issue.
Regards
Ali