Hello everybody.
Where are trying to create a supplier Invoice directly after recevieing the the maintenance purchase order.
(Financials - Supplier Invoice - Manual Supplier Invoice)
The Virtual assistant in aurena creates the header, and if it is not specified it creates a default Line.
In the log we can only find the header api, with no line calling. Then a finish invoice action is made
The header is created using
{{url}}/main/ifsapplications/projection/v1/ManualSupplierInvoiceAssistantHandling.svc/ManSuppInvoiceVirtualSet
and the line using
{{url}}/main/ifsapplications/projection/v1/ManualSupplierInvoiceAssistantHandling.svc/ManSuppInvoiceVirtualSet(Objkey='{{ObjkeyFactureVir}}')/ManSuppInvoiceItems
( "ParentObjkey": "{{ObjkeyFactureVir}}" should be included in the line body as well )
And then the finish action :
{{url}}/main/ifsapplications/projection/v1/ManualSupplierInvoiceAssistantHandling.svc/FinishInvoice
When trying to replicate those steps in a Workflow, :

The header is created correctly (we think) :

But we are blocked using the line api since both of them use the same api, but we are not unable to figure out how to pass the objkey to the projection process
ManualSupplierInvoiceAssistantHandling.svc/ManSuppInvoiceVirtualSet(Objkey='{{ObjkeyFactureVir}}')/ManSuppInvoiceItems


Any idea how to automate this process or call correctly the projection to create the line please?
Any help would be gladly appreciated