Hello,
I’m using the SOAP API to create quotes. And that is working fine. Now I need to create an invoice from a quote. I tried out with a workflow but then I noticed that it will be impossible to create the Line items from the quote in the invoice.
Now I’m using the api to create an invoice and that is all good. But when I try to set a relationship
_SoapApi.set_relationship(SessionId, “AOS_Quotes”, quoteId, “aos_invoices”, invoiceId, nv.ToArray(), 0)
the api returns false so the relationship is not created. Since this is many-to-many relationship I even try the opposite
_SoapApi.set_relationship(SessionId, “aos_invoices”, invoiceId , “AOS_Quotes”,quoteId, nv.ToArray(), 0)
and that also returns false.
Does some one knows how can I create this relationship with the SOAP API? Or even better to create the invoice with line items from the quote with workflow?
Thanks!