Skip to main content

Hello,

I’m trying to duplicate parts to create them into another site (contract) of my company.
It’s part of a workflow which automatize unballasting between our main site to sub site.
I tried to use CopyPart projection in API calls (type call or create), InventoryPartHandling, but it doesn’t work.
The function (invoke) DefaultCopy used from the inventory part webpage to “duplicate” is not available in projection API so I don’t know how to process.
Right now, I fetch the entity element I need from API call then I create a new entity element with it.
But for inventory part for exemple, I got 90+ fields to fill.
I don’t think this is the good solution and a real copy function should exist, but can’t find it, or make it work (Copypart.svc) ?

Thank you

Hi ​@REOGIRARD 

would you be able to share any error messages you get when you try to use CopyPart projection in API calls (type call or create), InventoryPartHandling ?

 

for the filling of 90+ fields, in the API task there is an option of Only Explicit Parameters. once unchecked allows to pass in fields to the api task implicitly to the API task given the name of the variable in the execution matches that of the input parameter. 

ref: IFS API - Technical Documentation For IFS Cloud


Reply