I’m integrating an backend web application with SuiteCRM and I’m using the SOAP API extensivly.
From the backend application I’m creating an Quote (AOS_Quotes) and I’m adding some line items (aos_products_quotes) to the quote. Once the objects are created with the api I’m setting an relationship between them. The relationship is successfully created, however when I navigate to the SuiteCRM web interface and open the quote the line items are not displayed. From the API I can confirm that the relationship by retrieving the line items for that quote.
Look at the AOS_Products_Quotes database table the parent_id and parent_type need to be set. Its not a standard sugar relationship so I would not use the _SoapApi.set_relationship if possible and just create the aos_pordicts_quotes directly and set the parent_id and parent_type.