biuan SAP® BUSINESS ONE SDK
API Sales Opportunity Reasons Setup Service

Description

The SalesOpportunityReasonsSetupService service enables you to add, look up and remove reasons in the reasons master data table. Reasons can be assigned to sales opportunities; the reason explain why a sales opportunity was won or lost.

To see the list of reasons, select Sales Opportunities --> Sales Opportunity, and then select the Summary tab. In the Description column of the Reasons list, select Define New. The Reasons list is disabled if the Opportunity Status is Open.

Source table: OOFR

Object Model

Example

See Also

SAP® B1 DI-API C# definition

public class SalesOpportunityReasonsSetupServiceClass : ISalesOpportunityReasonsSetupService, SalesOpportunityReasonsSetupService { public extern SalesOpportunityReasonsSetupServiceClass(); public virtual extern SalesOpportunityReasonSetupParams AddSalesOpportunityReasonSetup( SalesOpportunityReasonSetup pISalesOpportunityReasonSetup); public virtual extern void DeleteSalesOpportunityReasonSetup( SalesOpportunityReasonSetupParams pISalesOpportunityReasonSetupParams); public virtual extern object GetDataInterface( SalesOpportunityReasonsSetupServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern SalesOpportunityReasonSetup GetSalesOpportunityReasonSetup( SalesOpportunityReasonSetupParams pISalesOpportunityReasonSetupParams); public virtual extern SalesOpportunityReasonSetupParamsCollection GetSalesOpportunityReasonSetupList(); public virtual extern void UpdateSalesOpportunityReasonSetup( SalesOpportunityReasonSetup pISalesOpportunityReasonSetup); }

Related information


Sales Opportunity Reasons Setup Service Data Interfaces SalesOpportunityReasonsSetupServiceDataInterfaces Enumeration
SalesOpportunityReasonsSetupService data interfaces.
   Parent: Sales Opportunity Reasons Setup Service SalesOpportunityReasonsSetupService Service· Table: OOFR

Sales Opportunity Reason Setup SalesOpportunityReasonSetup Object· Table: OOFR
Represents a reason for a successful or unsuccessful sales opportunity. Source table: OOFR Mandatory properties: Description
   Parent: Sales Opportunity Reasons Setup Service SalesOpportunityReasonsSetupService Service· Table: OOFR

Sales Opportunity Reason Setup Params Collection SalesOpportunityReasonSetupParamsCollection Collection
A collection of SalesOpportunityReasonSetupParams objects.
   Parent: Sales Opportunity Reasons Setup Service SalesOpportunityReasonsSetupService Service· Table: OOFR


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