DTW Administration / Setup / Sales Opportunities / Relationships
API Relationships


Relationships is a business object that represents the relationships list from which a relationship definition can be associated with a partner in a sales opportunity.

This object enables you to:

  • Add a relationship to the list.
  • Retrieve a relationship by its key.
  • Update a relationship.
  • Save the object in XML format.

Source table: OORL.

Object Model


To display the form in the application:

  1. Select Sales Opportunities --> Sales Opportunity.
  2. In the Partners tab, from the Relationship list box, select Define New.


  • Select Administration --> Definition --> Sales Opportunities --> Define Relationships.

See Also

SAP® B1 DI-API C# definition

public class RelationshipsClass : IRelationships, Relationships { public virtual DataBrowser Browser { get; } public virtual int RelationshipCode { get; } public virtual string RelationshipDescription { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern RelationshipsClass(); public virtual extern int Add(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( int lID); public virtual extern int Remove(); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates